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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c4f81
sub esp, 0x5c
call fcn.004c7240
mov eax, dword [esp]
mov dword [esp + 0x40], eax
mov byte [eax + 0x80], 1
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x14], edx
call fcn.004ccfe0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0044dec0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x84]
mov ebx, dword [eax + 0x8c]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x3c], ebp
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], esi
test ecx, ecx
je 0x4c4d42
cmp ecx, 1
je 0x4c4c64
movzx edi, byte [eax + 0x7c]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4c4c39
nop
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00409700
mov eax, dword [esp + 0xc]
lea ecx, [0x662344]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004900e0
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
mov edx, dword [eax + 0x84]
mov dword [esp + 0x58], edx
mov ebx, dword [eax + 0x88]
mov dword [esp + 0x34], ebx
xor ecx, ecx
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x44], ecx
xor ecx, ecx
mov dword [esp + 0x28], ecx
xor ecx, ecx
jmp 0x4c4dd7
lea eax, [0x5ec020]
mov dword [esp], eax
call fcn.0040bd40
mov edi, dword [esp + 4]
mov dword [edi + 8], 0
mov eax, dword [0x7c78f0]
lea ecx, [edi + 0xc]
test eax, eax
jne 0x4c4c93
mov dword [edi + 0xc], 0
jmp 0x4c4ca0
xor eax, eax
mov edx, edi
mov edi, ecx
call fcn.00463730
mov edi, edx
mov edx, dword [esp + 0x20]
mov dword [edi + 4], edx
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x4c4cb9
mov edx, dword [esp + 0x3c]
mov dword [edi], edx
jmp 0x4c4cc2
mov eax, dword [esp + 0x3c]
call fcn.00463730
mov edx, dword [esp + 0x40]
mov ebx, dword [edx + 0x88]
mov ebp, dword [edx + 0x84]
test ebx, ebx
jbe 0x4c4dad
mov eax, dword [ebp]
mov ebx, dword [esp + 0x6c]
cmp ebx, eax
jbe 0x4c4da6
mov dword [esp + 0x38], edi
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x68]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
lea edx, [0x5e6da0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004099b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x38]
mov dword [edx + 8], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x4c4d31
mov dword [edx + 0xc], eax
jmp 0x4c4d3a
mov edi, dword [esp + 0x54]
call fcn.00463730
lea eax, [0x661ad0]
jmp 0x4c4d7e
lea eax, [0x5e8460]
mov dword [esp], eax
call fcn.0040bd40
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [0x7c78f0]
test eax, eax
jne 0x4c4d6d
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
jmp 0x4c4d76
mov eax, dword [esp + 0x3c]
call fcn.00463730
lea eax, [0x661abc]
mov edx, edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
call fcn.004c72e0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
mov ecx, ebx
call fcn.004637b0
xor eax, eax
mov ecx, eax
call fcn.004637b0
inc ecx
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x2c], edi
cmp ecx, ebx
jge 0x4c4efa
mov ebp, dword [edx + ecx*4]
test ecx, ecx
jle 0x4c4e1f
mov esi, dword [eax + 0x88]
mov edx, dword [eax + 0x84]
lea ebx, [ecx - 1]
cmp esi, ebx
jbe 0x4c4f77
lea edx, [edx + ecx*4 - 4]
cmp dword [edx], ebp
jne 0x4c4e13
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
jmp 0x4c4db6
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
mov esi, dword [esp + 0x6c]
cmp esi, ebp
jbe 0x4c4f6e
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x68]
lea ecx, [eax + ebp*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
lea ebx, [0x5e6da0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004099b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x4c4edd
mov ebx, dword [esp + 0x28]
inc ebx
mov ebp, dword [esp + 0x2c]
cmp ebp, ebx
jb 0x4c4e74
mov eax, dword [esp + 0x44]
jmp 0x4c4eb8
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5e6da0]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ebp, edi
lea esi, [eax + ebx*8 - 8]
mov dword [esi], edx
lea edi, [eax + ebx*8 - 4]
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x4c4ed0
mov dword [edi], ecx
jmp 0x4c4ee9
mov edx, eax
mov eax, ecx
call fcn.00463730
mov eax, edx
jmp 0x4c4ee9
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov edi, ebp
mov edx, eax
mov eax, dword [esp + 0x40]
jmp 0x4c4db6
lea eax, [0x5ec080]
mov dword [esp], eax
call fcn.0040bd40
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [0x7c78f0]
test eax, eax
jne 0x4c4f25
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
jmp 0x4c4f2e
mov eax, dword [esp + 0x3c]
call fcn.00463730
mov ecx, dword [esp + 0x28]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x4c4f4f
mov eax, dword [esp + 0x44]
mov dword [edi + 8], eax
jmp 0x4c4f61
lea ecx, [edi + 8]
mov eax, dword [esp + 0x44]
mov edx, edi
mov edi, ecx
call fcn.00463730
mov edi, edx
lea eax, [0x661ae4]
mov edx, edi
jmp 0x4c4d7e
mov eax, ebp
mov ecx, esi
call fcn.004637b0
mov eax, ebx
mov ecx, esi
call fcn.004637b0
nop
call fcn.00462320
jmp fcn.004c4b50