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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x4a81f5
sub esp, 0x94
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ebx
mov byte [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov ecx, dword [eax + 4]
lea edx, [esp + 0x84]
cmp ecx, edx
je 0x4a7fae
mov dword [esp + 0x48], ecx
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
test ebx, ebx
jg 0x4a7eaa
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x28], edx
lea edx, [esp + 0x84]
jmp 0x4a7f4c
mov dword [esp + 0x40], ebp
mov dword [esp + 0x30], ebx
cmp ebx, 1
jne 0x4a7f05
lea eax, [0x4bab60]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00448b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x84]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
mov esi, 1
mov edi, eax
mov eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x98]
jmp 0x4a7f4c
lea eax, [0x4bab60]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea ecx, [ebx + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 8], ecx
call fcn.00448b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x84]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
mov esi, ebx
mov edi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x98]
cmp esi, ebx
jg 0x4a7f52
mov ebx, esi
cmp edi, ebp
je 0x4a7f8b
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], edi
mov dword [esp], edi
mov dword [esp + 4], ebp
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.004614a0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x84]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x8c], esi
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x88], edi
movzx ecx, byte [ecx]
mov byte [esp + 0x84], cl
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov byte [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov ecx, dword [eax + 4]
lea edx, [esp + 0x74]
cmp ecx, edx
je 0x4a80fa
mov dword [esp + 0x44], ecx
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
test ebx, ebx
jg 0x4a8008
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x18], edx
lea edx, [esp + 0x74]
jmp 0x4a80a4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ebx
cmp ebx, 1
jne 0x4a8060
lea eax, [0x4bab60]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00448b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x74]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x3c]
mov esi, 1
mov edi, eax
mov eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x98]
jmp 0x4a80a4
lea eax, [0x4bab60]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 8], eax
call fcn.00448b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x74]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x3c]
mov esi, ebx
mov edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x98]
cmp esi, ebx
jg 0x4a80aa
mov ebx, esi
cmp edi, ebp
je 0x4a80e0
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], esi
mov dword [esp], edi
mov dword [esp + 4], ebp
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.004614a0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x74]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x7c], esi
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], edi
movzx ecx, byte [ecx]
mov byte [esp + 0x74], cl
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
lea ecx, [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 8], ecx
call fcn.004a6c10
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
lea edx, [0x4bdc20]
mov dword [esp], edx
call fcn.0040b1f0
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
call fcn.004a5e70
mov eax, dword [esp + 0x98]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call fcn.004a4690
mov eax, dword [esp + 0xc]
mov ecx, dword [0x59fca0]
mov edx, dword [esp + 0x10]
test ecx, ecx
jne 0x4a8199
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x4a81b2
mov edi, dword [esp + 0x54]
call fcn.00460bc0
lea ecx, [edi + 4]
mov edi, ecx
mov ebp, eax
mov eax, edx
call fcn.00460bc0
mov eax, ebp
lea ecx, [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004a61d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x54]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x94
ret
call fcn.0045f7f0
jmp fcn.004a7e10