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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xf8]
cmp eax, dword [ecx + 8]
jbe 0x4b6e80
sub esp, 0x178
lea edi, [esp + 0xb8]
xor eax, eax
call fcn.0045f060
mov ecx, dword [0x608c00]
mov ebx, dword [0x608c04]
mov ebp, dword [0x608c08]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebp
mov ecx, dword [esp + 0x188]
mov dword [esp + 0xc4], ecx
mov ebx, dword [esp + 0x18c]
mov dword [esp + 0xc8], ebx
mov ebp, dword [esp + 0x190]
mov dword [esp + 0xcc], ebp
mov eax, 2
xor edx, edx
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x5c], edx
xor edx, edx
mov dword [esp + 0x58], edx
xor edx, edx
mov dword [esp + 0xa8], edx
xor edx, edx
jmp 0x4b682b
mov dword [esp + 0x80], edx
mov eax, dword [esp + edx*4 + 0xb8]
mov ecx, dword [esp + edx*4 + 0xbc]
mov ebp, dword [esp + edx*4 + 0xc0]
mov esi, dword [esp + ebx*4 + 0xb8]
mov edi, dword [esp + ebx*4 + 0xbc]
mov ebx, dword [esp + ebx*4 + 0xc0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
call fcn.004b4b90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x80]
mov dword [esp + ebx*4 + 0xbc], ecx
mov dword [esp + ebx*4 + 0xc0], edx
mov dword [esp + ebx*4 + 0xb8], eax
mov ebp, dword [esp + 0xa4]
mov dword [esp], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x1a0]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1a8]
mov dword [esp + 0x2c], edx
call fcn.004b91b0
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x80]
mov edx, dword [esp + edi*4 + 0xb8]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + edi*4 + 0xbc]
mov dword [esp + 0x58], edx
mov edx, dword [esp + edi*4 + 0xc0]
mov dword [esp + 0x5c], edx
mov dword [esp + edi*4 + 0xbc], ebp
mov dword [esp + edi*4 + 0xc0], esi
mov dword [esp + edi*4 + 0xb8], ebx
mov edx, dword [esp + edi*4 + 0xc4]
mov ecx, dword [esp + edi*4 + 0xc8]
mov eax, dword [esp + edi*4 + 0xcc]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x188]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18c]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x190]
mov dword [esp + 0x20], edx
call fcn.004b3ab0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x80]
mov dword [esp + ebx*4 + 0xc4], eax
mov dword [esp + ebx*4 + 0xc8], ecx
mov dword [esp + ebx*4 + 0xcc], edx
mov ebp, dword [esp + 0xa4]
mov dword [esp], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x1a0]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1a8]
mov dword [esp + 0x2c], edx
call fcn.004b91b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + ebx*4 + 0xc4]
mov dword [esp + 0xa8], ebp
mov esi, dword [esp + ebx*4 + 0xc8]
mov edi, dword [esp + ebx*4 + 0xcc]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0xa4], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + ebx*4 + 0xc4], eax
mov dword [esp + ebx*4 + 0xc8], ecx
mov dword [esp + ebx*4 + 0xcc], edx
mov eax, dword [esp + 0x68]
add eax, 2
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x188]
mov ebx, dword [esp + 0x18c]
mov edx, ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
mov ebp, dword [esp + 0x190]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0xa4], edi
cmp eax, 0x10
jge 0x4b6876
mov dword [esp + 0x68], eax
shr eax, 0x1f
mov ebp, dword [esp + 0x68]
add eax, ebp
sar eax, 1
cmp eax, 0x10
jae 0x4b6e75
lea ebx, [eax + eax*2]
cmp ebp, 0x10
jae 0x4b6e69
lea edx, [ebp + ebp*2]
inc ebp
cmp ebp, 0x10
jb 0x4b6569
jmp 0x4b6e5d
nop
mov ebx, dword [esp + 0x184]
cmp ebx, 1
jl 0x4b688c
mov eax, dword [esp + 0x17c]
jmp 0x4b68c2
lea eax, [0x523880]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004473b0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0xa4]
mov ebx, 1
mov dword [eax], 1
mov ecx, dword [esp + 0x198]
lea ebp, [ecx - 1]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x9c], eax
mov eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x9c]
jmp 0x4b6914
mov ebp, dword [esp + 0x80]
dec ebp
mov ecx, dword [esp + 0x198]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x94]
test ebp, ebp
jl 0x4b6952
cmp ecx, ebp
jbe 0x4b6e56
mov dword [esp + 0x80], ebp
mov ecx, dword [esp + 0x194]
mov ebp, dword [ecx + ebp*4]
mov dword [esp + 0x8c], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x8c]
jmp 0x4b6ad0
mov ecx, dword [esp + 0x50]
mov edx, ecx
jmp 0x4b695c
mov ecx, ebp
test ecx, ecx
jle 0x4b696f
lea ebp, [ecx - 1]
cmp edx, ebp
jbe 0x4b6996
mov esi, dword [eax + ecx*4 - 4]
test esi, esi
je 0x4b695a
cmp ecx, ebx
ja 0x4b698f
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], ebx
add esp, 0x178
ret
mov edx, ebx
call fcn.0045ef30
mov eax, ebp
mov ecx, edx
call fcn.0045eef0
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x54]
shr ecx, 0x1c
lea ecx, [ecx + ecx*2]
mov ebp, dword [esp + ecx*4 + 0xb8]
mov ebx, dword [esp + ecx*4 + 0xbc]
mov ecx, dword [esp + ecx*4 + 0xc0]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], edx
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
call fcn.004b3ab0
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1a0]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x2c], esi
call fcn.004b91b0
mov eax, dword [esp + 0x60]
add eax, 4
mov dword [esp + 0x60], eax
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
shl eax, 4
mov dword [esp + 0x48], ebx
mov ebx, ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0xa8], ebp
mov ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x194]
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x60]
cmp ebp, 0x20
jge 0x4b68ef
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x64]
cmp ecx, ebx
jne 0x4b6afc
test ebp, ebp
je 0x4b6e3b
mov dword [esp + 0xb4], eax
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x14], edx
call fcn.004b4b90
mov eax, dword [esp + 0x18]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1a0]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x2c], esi
call fcn.004b91b0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004b4b90
mov eax, dword [esp + 0x18]
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0xb0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1a0]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x2c], esi
call fcn.004b91b0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004b4b90
mov eax, dword [esp + 0x18]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1a0]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x2c], esi
call fcn.004b91b0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004b4b90
mov eax, dword [esp + 0x18]
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1a0]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x2c], esi
call fcn.004b91b0
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ecx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0xac]
mov dword [esp + 0xa8], ebp
jmp 0x4b699f
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x84]
jmp 0x4b699f
mov eax, ebp
call fcn.0045eef0
mov eax, ebp
mov ecx, 0x10
call fcn.0045eef0
mov eax, ebp
mov ecx, 0x10
call fcn.0045eef0
mov ecx, 0x10
call fcn.0045eef0
nop
call fcn.0045daa0
jmp fcn.004b64c0