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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e1e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
call fcn.004035c1
mov dword [esp + 0x164], edi
mov dword [esp + 0x10], edi
call fcn.005a5950
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
sub esp, 0x1c
lea eax, [ebx + 0xc0]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040366f
mov byte [esp + 0x184], 1
lea eax, [esp + 0x104]
push eax
mov byte [esp + 0x188], 0
call fcn.004a0b52
add esp, 0x24
mov byte [esp + 0x164], 2
push 0xffffffffffffffff
lea esi, [eax + 0x38]
push edi
push esi
lea ecx, [esp + 0x2c]
call fcn.004035dd
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x164], 0
lea eax, [esp + 0xe4]
push eax
call fcn.0043a50c
mov eax, dword [esp + 0x10]
neg eax
sbb eax, eax
test eax, fcn.00459869
je 0x4c1ecb
sub esp, 0x30
mov esi, esp
mov dword [esp + 0x3c], esp
xor ecx, ecx
push ecx
mov eax, 0x4bf0da
push eax
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x6c], esp
push eax
lea ecx, [esp + 0x68]
call fcn.00406614
mov byte [esp + 0x1b8], 3
push 0xffffffffffffffff
push ecx
mov eax, esp
mov dword [esp + 0x6c], esp
push eax
mov ecx, ebx
call fcn.004a2d36
mov byte [esp + 0x1c0], 4
push esi
mov byte [esp + 0x1c4], 0
call fcn.004c3eee
add esp, 0x30
mov byte [esp + 0x194], 5
mov eax, dword [ebx + 0x178]
mov eax, dword [eax + 0xc]
push eax
mov byte [esp + 0x198], 0
call fcn.004c0b4d
or dword [esp + 0x164], 0xffffffff
push edi
jmp 0x4c1fec
mov eax, dword [ebx + 0x1340]
add eax, 0x7d4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
cdq
push edx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0043a044
add esp, 0xc
push 5
pop ecx
mov esi, eax
lea edi, [esp + 0x5b]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x5b]
push eax
lea ecx, [esp + 0x40]
movsb byte es:[edi], byte [esi]
call fcn.00402b00
mov byte [esp + 0x164], 6
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004a81db
mov byte [esp + 0x164], 8
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.004034fc
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x20], esp
xor ecx, ecx
push ecx
mov eax, 0x4c2030
push eax
movzx eax, byte [0x6b3fcb]
push eax
movzx eax, byte [0x6b3ff4]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x3c], esp
push eax
mov ecx, ebx
call fcn.004a2d36
mov byte [esp + 0x188], 9
push esi
mov byte [esp + 0x18c], 8
call fcn.004c3faf
add esp, 0x18
mov byte [esp + 0x174], 0xa
lea eax, [esp + 0x98]
push eax
lea ecx, [ebx + 0x144]
mov byte [esp + 0x178], 8
call fcn.004c405e
cmp dword [ebx + 0xbc], 3
mov eax, dword [esp + 0xc]
jne 0x4c1fbb
mov eax, dword [eax + 0x24]
jmp 0x4c1fbe
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0xc]
push dword [ecx + 0x20]
mov edi, ebx
push eax
call fcn.004a2df6
mov byte [esp + 0x164], 0
lea eax, [esp + 0x88]
push eax
call fcn.00443374
or dword [esp + 0x164], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.004034fc
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret