Function at 0x4c8180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov esi, esp
mov dword [esi + 0x118], ebp
mov dword [esi + 0x10], edx
mov dword [esi + 0x30], ecx
lea edi, [esi + 0x120]
mov dword [edi - 4], esp
xor eax, eax
dec eax
mov dword [edi + 8], eax
mov dword [edi + 4], 0x4d1030
mov ecx, dword fs:[0]
mov dword [edi], ecx
mov dword fs:[0], edi
lea ecx, [esi + 0x38]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov al, 0xff
lea edx, [esi + 0x17]
mov byte [edx], al
lea ebx, [esi + 0x1b]
mov byte [ebx], al
pcmpeqd xmm0, xmm0
lea eax, [esi + 0x50]
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x1c], ecx
push ebx
lea ebx, [esi + 0x17]
push ebx
push eax
call fcn.00409b50
add esp, 0xc
xor eax, eax
lea ecx, [esi + 0x20]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [edi + 8], eax
push eax
push 0xa
call fcn.004fd430
mov ebx, dword [esi + 0x10]
cmp byte [esi + 0x2b], 0
lea ecx, [esi + 0x20]
jns 0x4c8225
mov ecx, dword [esi + 0x20]
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
lea eax, [esi + 0x34]
mov dword [esi + 0xc], ecx
mov dword [eax], ecx
lea edi, [esi + 0x78]
push 0xa0
push 0xff
push edi
call fcn.005191b0
add esp, 0xc
lea eax, [esi + 0x4c]
mov dword [esi + 0x44], edi
mov dword [eax], edi
lea eax, [esi + 0x48]
mov dword [eax], 0
lea eax, [esi + 0x16]
mov byte [eax], 1
lea eax, [esi + 0x1a]
mov byte [eax], 0x45
mov al, byte [esi + 0x1b]
mov byte [esi + 0x19], al
mov al, byte [esi + 0x17]
mov byte [esi + 0x18], al
test ebx, ebx
je 0x4c82bc
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
mov edx, dword [esi + 0xc]
je 0x4c8286
mov eax, dword [esi + 8]
jmp 0x4c82c4
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov dword [esi + 0x128], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x128], 0
mov ecx, ebx
mov dword [esi + 0x10], ebx
call edi
mov edx, dword [esi + 0x10]
xor ebx, ebx
cmp eax, 0xffffffff
je 0x4c82be
mov ebx, edx
jmp 0x4c82be
xor ebx, ebx
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
test eax, eax
mov dword [esi + 0x10], ebx
jne 0x4c83f6
xor eax, eax
test ebx, ebx
je 0x4c844a
mov dword [esi + 8], eax
mov eax, dword [esi + 0x34]
movzx ecx, byte [esi + 0x2b]
test cl, cl
js 0x4c82ed
mov edi, ecx
add ecx, edx
jmp 0x4c82f3
mov edi, dword [esi + 0x24]
lea ecx, [edx + edi]
cmp eax, ecx
jne 0x4c8341
mov dword [esi + 0xc], edi
lea eax, [edi + edi]
lea ecx, [esi + 0x20]
push 0
push eax
call fcn.004fd430
mov eax, dword [esi + 0x28]
mov ecx, 0x7fffffff
and eax, ecx
dec eax
cmp byte [esi + 0x2b], 0
mov ecx, 0xa
cmovns eax, ecx
lea ecx, [esi + 0x20]
push 0
push eax
call fcn.004fd430
mov ebx, dword [esi + 0x10]
cmp byte [esi + 0x2b], 0
lea edx, [esi + 0x20]
jns 0x4c8339
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0xc]
add eax, edx
mov dword [esi + 0x34], eax
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x4c8351
movzx eax, byte [eax]
jmp 0x4c8376
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov dword [esi + 0x128], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x128], 0
mov ecx, ebx
call edi
movsx edi, byte [esi + 0x19]
movsx ebx, byte [esi + 0x18]
movsx ecx, al
lea edx, [esi + 0x16]
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x48]
push eax
lea eax, [esi + 0x4c]
push eax
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x38]
push eax
push edi
push ebx
lea eax, [esi + 0x34]
push eax
push dword [esi + 0xc]
lea eax, [esi + 0x1a]
push eax
call fcn.00557c90
add esp, 0x28
mov ebx, dword [esi + 0x10]
test eax, eax
jne 0x4c8453
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x4c83c9
inc eax
mov dword [ebx + 0xc], eax
jmp 0x4c8272
mov eax, dword [ebx]
mov edi, dword [eax + 0x24]
mov dword [esi + 0x128], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x128], 0
mov ecx, ebx
call edi
mov ebx, dword [esi + 0x10]
jmp 0x4c8272
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 8]
cmp eax, dword [ecx + 0x10]
mov eax, dword [esi + 8]
jne 0x4c8440
mov ebx, eax
mov eax, dword [eax]
mov edi, dword [eax + 0x20]
mov dword [esi + 0x128], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x128], 0
mov ecx, ebx
call edi
mov ebx, dword [esi + 0x10]
cmp eax, 0xffffffff
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
je 0x4c82cf
test ebx, ebx
je 0x4c82d9
jmp 0x4c8456
mov dword [esi + 8], 0
jmp 0x4c8456
mov edx, dword [esi + 0xc]
movzx eax, byte [esi + 0x43]
test al, al
jns 0x4c8461
mov eax, dword [esi + 0x3c]
mov edi, dword [esi + 0x4c]
test eax, eax
je 0x4c8488
cmp byte [esi + 0x16], 0
je 0x4c8488
mov eax, edi
lea ecx, [esi + 0x78]
sub eax, ecx
cmp eax, 0x9f
jg 0x4c8488
mov ecx, edx
mov eax, dword [esi + 0x48]
mov dword [edi], eax
add edi, 4
jmp 0x4c848a
mov ecx, edx
mov edx, dword [esi + 0x34]
push dword [ebp + 0x10]
call fcn.00413650
add esp, 4
mov eax, dword [ebp + 0x14]
movq qword [eax], xmm0
mov al, byte [esi + 0x43]
test al, al
mov byte [esi + 0xc], al
js 0x4c8554
movzx eax, al
mov edx, edi
lea ecx, [esi + 0x78]
sub edx, ecx
cmp edx, 5
jl 0x4c84c4
test eax, eax
jne 0x4c85b5
test ebx, ebx
je 0x4c8505
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
mov edi, dword [esi + 0x30]
jne 0x4c850a
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov dword [esi + 0x128], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x128], 0
mov ecx, ebx
call edi
mov ebx, dword [esi + 0x10]
xor ecx, ecx
cmp eax, 0xffffffff
cmove ebx, ecx
jmp 0x4c8507
xor ebx, ebx
mov edi, dword [esi + 0x30]
cmp dword [esi + 8], 0
jne 0x4c855c
test ebx, ebx
jne 0x4c851a
mov eax, dword [ebp + 0x10]
or byte [eax], 2
mov dword [edi], ebx
cmp byte [esi + 0x2b], 0
jns 0x4c852d
push dword [esi + 0x20]
call fcn.0050fc7c
add esp, 4
cmp byte [esi + 0x43], 0
jns 0x4c853e
push dword [esi + 0x38]
call fcn.0050fc7c
add esp, 4
mov eax, dword [esi + 0x120]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x3c]
jmp 0x4c84b0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 8]
cmp eax, dword [ecx + 0x10]
mov eax, dword [esi + 8]
jne 0x4c85a8
mov dword [esi + 8], eax
mov eax, dword [eax]
mov edi, dword [eax + 0x20]
mov dword [esi + 0x128], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x128], 0
mov ecx, dword [esi + 8]
mov dword [esi + 0x10], ebx
call edi
mov ebx, dword [esi + 0x10]
cmp eax, 0xffffffff
mov edi, dword [esi + 0x30]
je 0x4c8510
test ebx, ebx
jne 0x4c8514
jmp 0x4c851a
lea eax, [edi - 4]
lea ecx, [esi + 0x78]
cmp eax, ecx
seta dl
cmp ecx, edi
je 0x4c85e9
test dl, dl
je 0x4c85e9
lea ecx, [esi + 0x7c]
mov edx, eax
mov edi, dword [ecx - 4]
mov ebx, dword [edx]
mov dword [ecx - 4], ebx
mov dword [edx], edi
add edx, 0xfffffffc
lea edi, [ecx + 4]
cmp ecx, edx
mov ecx, edi
jb 0x4c85cd
mov cl, byte [esi + 0x43]
mov byte [esi + 0xc], cl
cmp byte [esi + 0xc], 0
jns 0x4c85f5
mov edx, dword [esi + 0x38]
mov dword [esi + 0x1c], edx
lea edx, [esi + 0x78]
cmp eax, edx
jbe 0x4c8648
cmp byte [esi + 0xc], 0
jns 0x4c8607
mov ecx, dword [esi + 0x3c]
jmp 0x4c860b
movzx ecx, byte [esi + 0xc]
add ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x1c]
movzx edx, byte [edx]
mov ebx, edx
dec bl
cmp bl, 0x7d
mov ebx, dword [esi + 0x10]
ja 0x4c8627
mov edi, dword [esi + 0x44]
cmp dword [edi], edx
jne 0x4c8669
mov edx, ecx
mov edi, dword [esi + 0x1c]
sub edx, edi
xor ebx, ebx
cmp edx, 2
setge bl
add edi, ebx
mov dword [esi + 0x1c], edi
mov edx, dword [esi + 0x44]
add edx, 4
mov dword [esi + 0x44], edx
cmp edx, eax
jb 0x4c860e
mov ecx, dword [esi + 0x1c]
movzx ecx, byte [ecx]
mov edx, ecx
dec dl
cmp dl, 0x7d
mov ebx, dword [esi + 0x10]
ja 0x4c84c4
mov eax, dword [eax]
dec eax
cmp eax, ecx
jb 0x4c84c4
mov eax, dword [ebp + 0x10]
mov dword [eax], 4
jmp 0x4c84c4