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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c7612
sub esp, 0x60
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc], edx
call fcn.004c5f70
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 4]
movzx ebp, byte [edx]
mov esi, dword [edx + 8]
mov edi, dword [edx + 0xc]
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
movzx ecx, byte [eax]
mov byte [esp + 0x1b], cl
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], ecx
movzx ecx, byte [eax]
mov byte [esp + 0x1a], cl
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0xc]
xchg ebp, ebx
mov byte [eax], bl
xchg ebp, ebx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov ebp, dword [0x7a0970]
test ebp, ebp
jne 0x4c7603
mov dword [eax + 4], ebx
movzx ebx, byte [esp + 0x1b]
mov byte [edx], bl
mov ebx, dword [esp + 0x44]
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x40]
mov dword [edx + 0xc], ebx
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x4c75f2
mov ebx, dword [esp + 0x5c]
mov dword [edx + 4], ebx
movzx edx, byte [esp + 0x1a]
mov ebx, dword [esp + 0x78]
mov byte [ebx], dl
mov edx, dword [esp + 0x3c]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x4c75e1
mov ecx, dword [esp + 0x58]
mov dword [ebx + 4], ecx
movzx ecx, byte [esp + 0x84]
test cl, cl
je 0x4c748c
nop
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x80]
cmp ecx, edx
je 0x4c75da
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 4]
mov esi, dword [ecx + 8]
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp ebx, esi
jl 0x4c754a
mov edi, esi
cmp edi, esi
jge 0x4c7543
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x48], ebp
cmp ecx, ebp
je 0x4c73ad
mov dword [esp], ebp
mov dword [esp + 4], ecx
shl edi, 2
mov dword [esp + 8], edi
call fcn.0045e7b0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x80]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x4c7532
mov eax, dword [esp + 0x48]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x70]
movzx ecx, byte [eax]
mov byte [edx], cl
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x74]
mov dword [esp + 8], edx
call fcn.004c5e20
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
call fcn.004c5be0
nop
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x80]
cmp eax, ecx
je 0x4c748c
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 4]
mov ebp, dword [ecx + 8]
mov esi, dword [ecx + 4]
cmp ebp, edx
jg 0x4c74a2
mov edi, ebp
cmp edi, ebp
jge 0x4c749e
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x4c], ebx
cmp esi, ebx
je 0x4c745d
mov dword [esp], ebx
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.0045e7b0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x6c]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x4c7490
mov eax, dword [esp + 0x4c]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x80]
movzx eax, byte [eax]
mov byte [edx], al
add esp, 0x60
ret
lea edi, [edx + 4]
mov eax, dword [esp + 0x4c]
call fcn.0045de10
jmp 0x4c7480
mov edi, ebp
jmp 0x4c743a
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x50], esi
cmp ebp, 1
jne 0x4c74f3
lea eax, [0x5dabc0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004450a0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x1c]
mov ebp, 1
mov edx, 1
jmp 0x4c7436
lea eax, [0x5dabc0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 8], eax
call fcn.004450a0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x1c]
mov ebp, edi
mov edx, dword [esp + 0x34]
jmp 0x4c7436
lea edi, [edx + 4]
mov eax, dword [esp + 0x48]
call fcn.0045de10
jmp 0x4c73d7
mov edi, esi
jmp 0x4c738a
mov dword [esp + 0x54], ecx
mov dword [esp + 0x20], esi
cmp esi, 1
jne 0x4c759b
lea eax, [0x5dabc0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004450a0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x20]
mov esi, 1
mov ebx, 1
jmp 0x4c7382
lea eax, [0x5dabc0]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 8], ecx
call fcn.004450a0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x20]
mov esi, edi
mov ebx, dword [esp + 0x30]
jmp 0x4c7382
mov eax, ecx
jmp 0x4c73e0
lea edi, [ebx + 4]
mov eax, dword [esp + 0x58]
call fcn.0045de10
jmp 0x4c7346
lea edi, [edx + 4]
mov eax, dword [esp + 0x5c]
call fcn.0045de10
jmp 0x4c731c
lea edi, [eax + 4]
mov eax, ebx
call fcn.0045de10
jmp 0x4c72f2
call fcn.0045c8b0
jmp fcn.004c7240