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

Disassembly:
mov ecx, dword [0xf40b4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a997d
sub esp, 0x6c
mov eax, dword [esp + 0x70]
mov ebx, dword [eax]
mov ebp, ebx
movzx ecx, word [ebp + 6]
movzx ebp, word [ebp + 0x14]
lea ebx, [ebp + ebx + 0x18]
test byte [ebx], al
cmp ecx, 0xffff
ja 0x4a9972
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x7c]
xor ebp, ebp
jmp 0x4a964a
inc ebp
cmp ebp, ecx
jge 0x4a9958
mov dword [esp + 0x20], ebp
lea esi, [ebp + ebp*4]
mov dword [esp + 0x28], esi
lea edi, [ebx + esi*8 + 0x10]
mov dword [esp + 0x38], edi
mov edi, dword [edi]
test edi, edi
jne 0x4a972d
mov edi, dword [edx + 0x38]
test edi, edi
je 0x4a9649
mov dword [esp + 0x1c], edi
lea ecx, [ebx + esi*8 + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [ecx]
add edx, dword [eax + 4]
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 4
call fcn.004a4d50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x4a9849
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov ecx, dword [esp + 0x70]
add eax, dword [ecx + 4]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + edx*8 + 8]
nop
mov dword [edx], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
nop
nop
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4a971a
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00463290
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x3c]
mov eax, ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x20]
jmp 0x4a9649
lea edx, [ebx + esi*8 + 0x14]
mov ecx, dword [edx]
add ecx, edi
mov ebp, dword [esp + 0x78]
cmp ebp, ecx
jb 0x4a991f
mov dword [esp + 0x34], edx
lea ecx, [ebx + esi*8 + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [ecx]
add edx, dword [eax + 4]
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 4
call fcn.004a4d50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4a98b4
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov edx, dword [esp + 0x70]
add eax, dword [edx + 4]
mov ebx, dword [esp + 0x34]
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x74]
add ebx, ebp
mov esi, dword [esp + 0x38]
mov esi, dword [esi]
nop
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
nop
nop
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
nop
nop
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x64]
cmp ebx, eax
jg 0x4a97fc
mov eax, ebx
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x60]
cmp esi, ebx
je 0x4a9828
mov dword [esp + 0x24], ecx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00463460
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x3c]
lea eax, [ebx + eax*8 + 8]
mov dword [eax], ecx
mov eax, edx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x20]
jmp 0x4a9649
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test eax, eax
je 0x4a9864
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
lea eax, [0x4d3bbf]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00492c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test eax, eax
je 0x4a98cf
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
lea eax, [0x4d542d]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00492c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
lea eax, [0x4bdf20]
mov dword [esp], eax
call fcn.0040b7a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x4cfe5a]
mov dword [eax], ecx
lea ecx, [0xe976a8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x6c
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
mov edx, 0xffff
call fcn.00462c40
nop
call fcn.004617c0
jmp fcn.004a9600