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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xac]
cmp eax, dword [ecx + 8]
jbe 0x4b595f
sub esp, 0x12c
lea edi, [esp + 0x138]
xor eax, eax
call fcn.00463d43
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov ecx, dword [esp + 0x130]
mov dword [esp + 0xcc], ecx
lea edi, [esp + 0xdc]
call fcn.00463d49
lea edi, [esp + 0xf8]
call fcn.00463d43
lea ecx, [esp + 0xf8]
mov dword [esp + 0xe8], ecx
call fcn.0044fa80
mov ecx, dword [esp]
mov dword [esp + 0xe4], ecx
mov eax, 1
lea ecx, [esp + 0xcc]
mov edx, 1
xor ebx, ebx
lea ebp, [esp + 0x3c]
xor esi, esi
xor edi, edi
jmp 0x4b5220
mov esi, dword [esp + 0xc8]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x40]
mov eax, ecx
mov ecx, ebp
mov edx, ebx
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0xa0]
test eax, eax
je 0x4b5265
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0xc8], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x88]
jmp 0x4b52b6
xchg edi, eax
test al, al
xchg edi, eax
je 0x4b51fd
xchg edi, eax
mov byte [esp + 0x16c], al
xchg edi, eax
add esp, 0x12c
ret
mov ecx, dword [esp + 0xc4]
add ecx, 0x10
mov edx, dword [esp + 0x74]
inc edx
mov dword [esp + 0x74], edx
mov dword [esp + 0xc8], esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x80], ecx
mov ecx, ebx
mov ebx, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x74]
cmp esi, eax
jge 0x4b525f
mov dword [esp + 0x94], ebp
mov dword [esp + 0x44], ebx
xchg edi, eax
mov byte [esp + 0x3f], al
xchg edi, eax
mov dword [esp + 0xc4], ecx
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], eax
mov edx, dword [ecx]
mov dword [esp + 0xc0], edx
mov ebx, dword [ecx + 4]
mov dword [esp + 0xbc], ebx
lea esi, [0x66dce0]
mov dword [esp], esi
lea edi, [esp + 0xdc]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call fcn.0040e780
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
test al, al
je 0x4b5338
movzx edi, byte [esp + 0x3f]
mov esi, dword [esp + 0xc8]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x94]
jmp 0x4b5275
lea eax, [0x66dce0]
mov dword [esp], eax
lea ecx, [esp + 0xdc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xc0]
mov dword [esp + 8], edx
call fcn.0040ed20
mov eax, dword [esp + 0xc]
mov byte [eax], 1
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0xc8]
movzx edi, byte [esp + 0x3f]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
jmp 0x4b53c7
mov eax, dword [esp + 0x40]
jmp 0x4b5275
mov ebx, dword [esp + 0x50]
inc ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x50], ebx
mov ebp, esi
mov ebx, edi
mov edi, edx
mov esi, ecx
mov edx, eax
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x50]
cmp edx, ecx
jge 0x4b539c
mov dword [esp + 0x68], ebp
mov dword [esp + 0xb8], ebx
mov ebx, dword [eax + 0x24]
mov ebp, dword [eax + 0x28]
cmp edx, ebp
jae 0x4b5955
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], esi
xchg edi, eax
mov byte [esp + 0x3e], al
xchg edi, eax
lea eax, [edx + edx*2]
mov dword [esp + 0x64], eax
mov ecx, dword [ebx + eax*4]
mov dword [esp], ecx
call fcn.004b3750
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx + eax*4]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
movzx edx, byte [edx]
test dl, 8
je 0x4b5477
mov eax, dword [ecx + eax*4 + 4]
movzx ecx, byte [eax + 0xf]
and ecx, 0x1f
cmp ecx, 0x16
jne 0x4b5479
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x54], ebp
mov dword [esp], eax
call fcn.004b4400
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x84]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x54]
jmp 0x4b5479
xor eax, eax
mov dword [esp + 0xac], eax
mov edx, dword [esp + 0x134]
mov ecx, dword [edx]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call ecx
movzx eax, byte [esp + 8]
test al, al
jne 0x4b57a5
movzx edx, byte [esp + 0x3e]
test dl, dl
jne 0x4b578a
mov ebx, dword [esp + 0xac]
test ebx, ebx
je 0x4b578a
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
cmp ebp, 0x19
jne 0x4b578a
lea ecx, [0x66dd20]
mov dword [esp], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0040e780
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jg 0x4b573c
mov eax, dword [esp + 0xb0]
test eax, eax
jne 0x4b550b
call fcn.0040c7a0
mov esi, dword [esp]
mov eax, esi
mov dword [esp + 0xc8], eax
lea ecx, [0x66dd20]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
call fcn.0040ed20
mov eax, dword [esp + 0xc]
mov dword [eax], 1
mov eax, dword [esp + 0xc0]
lea edx, [0x66dd20]
mov dword [esp], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040e780
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jle 0x4b5594
lea eax, [0x66dd20]
mov dword [esp], eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
call fcn.0040ed20
mov eax, dword [esp + 0xc]
mov dword [eax], 2
mov eax, dword [esp + 0x70]
test eax, eax
ja 0x4b55a4
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x4b55de
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
lea ecx, [0x66ba40]
mov dword [esp + 0x10], ecx
call fcn.0044acd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x48], ebx
mov dword [esp], ecx
mov ebp, dword [esp + 0xbc]
mov dword [esp + 4], ebp
shl eax, 2
mov dword [esp + 8], eax
call fcn.00464440
mov eax, dword [esp + 0x48]
inc eax
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jb 0x4b5621
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x4c]
jmp 0x4b5656
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x66ba40]
mov dword [esp + 0x10], eax
call fcn.0044acd0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x50]
mov dword [ecx + eax*4 - 4], ebx
mov ebp, dword [esp + 0x40]
inc ebp
mov esi, dword [esp + 0x68]
cmp esi, ebp
jb 0x4b5674
mov edi, dword [esp + 0xb8]
jmp 0x4b56cf
mov dword [esp + 0x98], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x67e020]
mov dword [esp + 0x10], eax
call fcn.0044acd0
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x4c]
mov edi, ebx
mov esi, eax
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
lea ebx, [ebp - 1]
shl ebx, 4
mov dword [edi + ebx + 8], eax
mov dword [edi + ebx + 0xc], edx
mov edx, dword [0x8ef4b0]
mov eax, ebp
lea ebp, [edi + ebx]
mov dword [esp + 0xa8], ebp
lea ebp, [edi + ebx + 4]
test edx, edx
jne 0x4b5707
mov edx, dword [esp + 0xac]
mov dword [edi + ebx], edx
mov dword [edi + ebx + 4], ecx
jmp 0x4b572b
mov edx, edi
mov edi, dword [esp + 0xa8]
mov ebx, eax
mov eax, dword [esp + 0xac]
call fcn.00463ab0
mov edi, ebp
mov eax, ecx
call fcn.00463ab0
mov eax, ebx
mov edi, edx
movzx edx, byte [esp + 0x3e]
mov ecx, dword [esp + 0xc8]
jmp 0x4b53a5
lea eax, [0x66dd20]
mov dword [esp], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
call fcn.0040ed20
mov eax, dword [esp + 0xc]
mov dword [eax], 2
movzx edx, byte [esp + 0x3e]
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0xb8]
jmp 0x4b53a5
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0xb8]
jmp 0x4b53a5
mov eax, dword [esp + 0xc0]
lea edx, [0x66dd20]
mov dword [esp], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040e780
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jg 0x4b5938
movzx ecx, byte [esp + 0x3e]
test cl, cl
jne 0x4b5938
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.004b4ff0
lea edi, [esp + 0x138]
lea esi, [esp + 8]
call fcn.004641de
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov eax, dword [esp + 0x70]
test eax, eax
ja 0x4b583b
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4b5875
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
lea ecx, [0x66ba40]
mov dword [esp + 0x10], ecx
call fcn.0044acd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ebx
mov dword [esp], ecx
mov ebp, dword [esp + 0xbc]
mov dword [esp + 4], ebp
shl eax, 2
mov dword [esp + 8], eax
call fcn.00464440
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x15c], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x160], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x164], edx
inc ecx
cmp edx, ecx
jae 0x4b5909
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x66ba40]
mov dword [esp + 0x10], eax
call fcn.0044acd0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x164], edx
mov dword [esp + 0x15c], ecx
mov edx, ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x160], ecx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 - 4], edx
mov edx, 1
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0xb8]
jmp 0x4b53a5
lea edi, [esp + 0x138]
xor eax, eax
call fcn.00463d43
mov byte [esp + 0x16c], 0
add esp, 0x12c
ret
mov eax, edx
mov ecx, ebp
call fcn.00463b30
nop
call fcn.004626a0
jmp fcn.004b5140