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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa4]
cmp eax, dword [ecx + 8]
jbe 0x4b6ddb
sub esp, 0x124
lea edi, [esp + 0x130]
xor eax, eax
call fcn.004690f3
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov ecx, dword [esp + 0x128]
mov dword [esp + 0xc4], ecx
lea edi, [esp + 0xd4]
call fcn.004690f9
lea edi, [esp + 0xf0]
call fcn.004690f3
lea ecx, [esp + 0xf0]
mov dword [esp + 0xe0], ecx
call fcn.00453400
mov ecx, dword [esp]
mov dword [esp + 0xdc], ecx
mov eax, 1
lea ecx, [esp + 0xc4]
mov edx, 1
xor ebx, ebx
lea ebp, [esp + 0x3c]
xor esi, esi
xor edi, edi
jmp 0x4b66de
mov esi, dword [esp + 0xb4]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x40]
mov eax, ecx
mov ecx, ebp
mov edx, ebx
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x9c]
test eax, eax
je 0x4b6723
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0xb4], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x88]
jmp 0x4b6774
xchg edi, eax
test al, al
xchg edi, eax
je 0x4b66bb
xchg edi, eax
mov byte [esp + 0x164], al
xchg edi, eax
add esp, 0x124
ret
mov ecx, dword [esp + 0xb0]
add ecx, 0x10
mov edx, dword [esp + 0x68]
inc edx
mov dword [esp + 0x68], edx
mov dword [esp + 0xb4], esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
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 + 0x68]
cmp esi, eax
jge 0x4b671d
mov dword [esp + 0x44], ebx
mov dword [esp + 0x94], ebp
xchg edi, eax
mov byte [esp + 0x3f], al
xchg edi, eax
mov dword [esp + 0xb0], ecx
mov eax, dword [ecx]
mov dword [esp + 0xac], eax
mov ebx, dword [ecx + 8]
mov dword [esp + 0x64], ebx
mov ebp, dword [ecx + 4]
mov dword [esp + 0xa8], ebp
lea esi, [0x6f7be0]
mov dword [esp], esi
lea edi, [esp + 0xd4]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
call fcn.0040eec0
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
test al, al
je 0x4b67f6
movzx edi, byte [esp + 0x3f]
mov esi, dword [esp + 0xb4]
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x94]
jmp 0x4b6733
lea eax, [0x6f7be0]
mov dword [esp], eax
lea ecx, [esp + 0xd4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
call fcn.0040f430
mov eax, dword [esp + 0xc]
mov byte [eax], 1
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0xb4]
movzx edi, byte [esp + 0x3f]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
jmp 0x4b6885
mov eax, dword [esp + 0x40]
jmp 0x4b6733
mov ecx, dword [esp + 0x50]
inc ecx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x50], ecx
mov ebx, edi
mov ecx, dword [esp + 0x60]
mov edi, edx
mov edx, ebp
mov ebp, esi
mov esi, eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x50]
cmp edx, ecx
jge 0x4b685a
mov ecx, dword [eax + 0x28]
cmp edx, ecx
jae 0x4b6dd3
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], esi
xchg edi, eax
mov byte [esp + 0x3e], al
xchg edi, eax
mov dword [esp + 0x5c], ebp
mov ecx, dword [eax + 0x24]
mov dword [esp + 0xc0], ecx
lea ebx, [edx + edx*2]
mov dword [esp + 0x74], ebx
mov ebp, dword [ecx + ebx*4]
mov dword [esp], ebp
call fcn.004013b0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx + eax*4]
movzx edx, byte [edx]
test dl, 8
je 0x4b68fb
mov eax, dword [ecx + eax*4 + 4]
movzx ecx, byte [eax + 0xf]
and ecx, 0x1f
cmp ecx, 0x16
jne 0x4b68fd
mov eax, dword [eax + 0x20]
jmp 0x4b68fd
xor eax, eax
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x12c]
mov ebx, dword [edx]
mov ebp, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], ebp
call ebx
movzx eax, byte [esp + 8]
test al, al
jne 0x4b6c25
movzx edx, byte [esp + 0x3e]
test dl, dl
jne 0x4b6c0a
mov ebx, dword [esp + 0xbc]
test ebx, ebx
je 0x4b6c0a
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
cmp ebp, 0x19
jne 0x4b6c0a
lea ecx, [0x6f7c20]
mov dword [esp], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0040eec0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jg 0x4b6bbc
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x4b6997
call fcn.0040cf60
mov esi, dword [esp]
mov eax, esi
mov dword [esp + 0xb4], eax
lea ecx, [0x6f7c20]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], edx
call fcn.0040f430
mov eax, dword [esp + 0xc]
mov dword [eax], 1
mov eax, dword [esp + 0xac]
lea edx, [0x6f7c20]
mov dword [esp], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040eec0
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jle 0x4b6a20
lea eax, [0x6f7c20]
mov dword [esp], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], edx
call fcn.0040f430
mov eax, dword [esp + 0xc]
mov dword [eax], 2
mov eax, dword [esp + 0x64]
test eax, eax
ja 0x4b6a30
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x4b6a6a
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
lea ecx, [0x6f4660]
mov dword [esp + 0x10], ecx
call fcn.0044e6e0
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 + 0x64]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edx
mov dword [esp], ecx
mov ebp, dword [esp + 0xa8]
mov dword [esp + 4], ebp
shl eax, 2
mov dword [esp + 8], eax
call fcn.004697f0
mov eax, dword [esp + 0x48]
inc eax
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jb 0x4b6aad
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x4c]
jmp 0x4b6ae2
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, [0x6f4660]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
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 + 0x5c]
cmp esi, ebp
jb 0x4b6b00
mov edi, dword [esp + 0xa4]
jmp 0x4b6b5b
mov dword [esp + 0x98], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x70a740]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
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 [0x995310]
test edx, edx
je 0x4b6b9d
mov dword [esp + 0x70], ebp
mov eax, edi
call fcn.00468e90
mov edx, dword [esp + 0xbc]
mov dword [edi], edx
mov ebp, dword [eax + ebx]
mov dword [edi + 4], ebp
mov dword [edi + 8], ecx
mov ebp, dword [eax + ebx + 4]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x70]
mov edi, eax
mov eax, dword [esp + 0xbc]
mov dword [edi + ebx], eax
mov dword [edi + ebx + 4], ecx
movzx edx, byte [esp + 0x3e]
mov eax, dword [esp + 0xb4]
jmp 0x4b6863
lea eax, [0x6f7c20]
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], edx
call fcn.0040f430
mov eax, dword [esp + 0xc]
mov dword [eax], 2
movzx edx, byte [esp + 0x3e]
mov eax, dword [esp + 0xa0]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0xa4]
jmp 0x4b6863
mov eax, dword [esp + 0xa0]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0xa4]
jmp 0x4b6863
mov eax, dword [esp + 0xac]
lea edx, [0x6f7c20]
mov dword [esp], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040eec0
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jg 0x4b6db6
movzx ecx, byte [esp + 0x3e]
test cl, cl
jne 0x4b6db6
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.004b64b0
lea edi, [esp + 0x130]
lea esi, [esp + 8]
call fcn.0046958e
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
mov eax, dword [esp + 0x64]
test eax, eax
ja 0x4b6cbb
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4b6cf5
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
lea ecx, [0x6f4660]
mov dword [esp + 0x10], ecx
call fcn.0044e6e0
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 + 0x64]
mov dword [esp + 0x74], edx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x6c], ebx
mov dword [esp], ecx
mov ebp, dword [esp + 0xa8]
mov dword [esp + 4], ebp
shl eax, 2
mov dword [esp + 8], eax
call fcn.004697f0
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x154], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x158], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x15c], edx
inc ecx
cmp edx, ecx
jae 0x4b6d87
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6f4660]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x154], ecx
mov eax, ecx
mov ecx, edx
mov dword [esp + 0x158], ecx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 - 4], edx
mov edx, 1
mov eax, dword [esp + 0xa0]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0xa4]
jmp 0x4b6863
lea edi, [esp + 0x130]
xor eax, eax
call fcn.004690f3
mov byte [esp + 0x164], 0
add esp, 0x124
ret
mov eax, edx
call fcn.00468ed0
nop
call fcn.00467a60
jmp fcn.004b6600