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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c5e8a
sub esp, 0x54
mov eax, 0
lea edi, [esp + 0x3c]
call fcn.0045cbba
mov byte [esp + 0x23], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
lea ebx, [0x646920]
mov dword [esp + 4], ebx
lea ebx, [0x7e32f0]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x634200]
cmp edx, eax
jne 0x4c5e7a
test ecx, ecx
jne 0x4c5dde
xor eax, eax
mov byte [esp + 0x22], al
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x34], edx
mov ebx, dword [ecx + 0x1c]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x4c5b08
mov esi, dword [ebp + 8]
cmp esi, 0x103a77be
ja 0x4c5d08
cmp esi, 0x3e19b09
jne 0x4c5c9b
lea esi, [0x6cc870]
cmp esi, ebp
jne 0x4c5b08
cmp esi, ebx
jne 0x4c5b01
mov dword [esp], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
call fcn.004d5320
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x6ce2a0]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4c59c4
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
movzx eax, byte [esp + 0x22]
test al, 1
jne 0x4c598f
add esp, 0x54
ret
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
call fcn.004d56c0
jmp 0x4c598b
lea eax, [0x6612a0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x679d20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4c5aee
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4c5ad9
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4c5ac4
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov dword [eax + 0x20], edx
mov edx, dword [0x7e34e0]
test edx, edx
jne 0x4c5ab4
mov dword [eax + 0x24], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x6caeb0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
movzx eax, byte [esp + 0x22]
test al, 1
jne 0x4c5a7f
add esp, 0x54
ret
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
call fcn.004d56c0
jmp 0x4c5a7b
lea edi, [eax + 0x24]
mov edx, eax
mov eax, ecx
call fcn.0045c920
mov eax, edx
jmp 0x4c5a53
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045c920
mov eax, ecx
jmp 0x4c5a3b
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.0045c920
mov eax, ecx
jmp 0x4c5a1f
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045c920
mov eax, ecx
jmp 0x4c5a03
xor edx, edx
jmp 0x4c5923
lea eax, [0x6534c0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov dword [eax + 4], 0x17
lea ecx, [0x68098b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x50]
mov dword [eax + 0xc], ebx
mov ebx, dword [0x7e34e0]
test ebx, ebx
jne 0x4c5c8c
mov dword [eax + 8], edx
lea eax, [0x6612a0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x679d20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4c5c79
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4c5c64
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4c5c4f
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x1c], ecx
lea ecx, [0x6cae70]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4c5c3d
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x24], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x6caeb0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
movzx eax, byte [esp + 0x22]
test al, 1
jne 0x4c5c08
add esp, 0x54
ret
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
call fcn.004d56c0
jmp 0x4c5c04
lea edi, [eax + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.0045c920
mov eax, ecx
jmp 0x4c5bdc
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045c920
mov eax, ecx
jmp 0x4c5bc2
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.0045c920
mov eax, ecx
jmp 0x4c5ba6
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045c920
mov eax, ecx
jmp 0x4c5b8a
lea edi, [eax + 8]
mov eax, edx
call fcn.0045c920
jmp 0x4c5b4b
cmp esi, 0x103a77be
jne 0x4c5b08
lea esi, [0x6cc830]
cmp esi, ebp
jne 0x4c5b08
cmp esi, ebx
jne 0x4c5d04
mov dword [esp], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
call fcn.004d3d70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x6ce220]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x4c5969
xor edx, edx
jmp 0x4c5cb9
cmp esi, 0xd7d15deb
jne 0x4c5d71
lea esi, [0x6cc850]
cmp esi, ebp
jne 0x4c5b08
cmp esi, ebx
jne 0x4c5d6d
mov dword [esp], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
call fcn.004d4b00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x6ce260]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x4c5969
xor edx, edx
jmp 0x4c5d22
cmp esi, 0xff2d2c4c
jne 0x4c5b08
lea esi, [0x6cc7f0]
cmp esi, ebp
jne 0x4c5b08
cmp esi, ebx
jne 0x4c5dda
mov dword [esp], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
call fcn.004cb180
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x6ce1e0]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x4c5969
xor edx, edx
jmp 0x4c5d8f
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x4c5e45
mov ebx, dword [edx + 0xc]
test ebx, ebx
je 0x4c5e3f
lea ebx, [0x69271c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
lea eax, [esp + 0x74]
mov dword [esp + 0x3c], eax
mov byte [esp + 0x23], 1
setne al
jmp 0x4c58d0
mov edx, dword [esp + 0x58]
jmp 0x4c5e37
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ecx
mov ebp, dword [esp + 0x58]
mov esi, dword [ebp + 0x44]
mov edi, dword [ebp + 0x48]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov esi, dword [ebx]
mov edx, ebx
call esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
jmp 0x4c5e05
xor ecx, ecx
jmp 0x4c58c6
call fcn.0045b380
jmp fcn.004c5840