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

Disassembly:
push 0xffffffffffffffff
push 0x5fe399
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, ecx
push 3
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], 0
call fcn.004960c0
lea edx, [esp + 0x30]
mov eax, edi
call fcn.004a5cd0
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
add esi, esi
add esi, esi
push esi
push 0
push ebp
mov bl, al
call fcn.00522720
add esp, 0xc
cmp esi, 0x10
push ebp
jb 0x4a66ee
call fcn.0052568b
jmp 0x4a66f3
call fcn.0051e45a
add esp, 4
test bl, bl
je 0x4a6789
push 2
lea ecx, [esp + 0x34]
call fcn.004960c0
mov dword [esp + 0x74], 0
mov ebx, 1
lea edx, [esp + 0x30]
mov eax, edi
mov dword [esp + 0x18], ebx
call fcn.0047f370
test al, al
jne 0x4a674d
push 3
lea ecx, [esp + 0x48]
call fcn.004960c0
lea edx, [esp + 0x44]
mov eax, edi
mov ebx, 3
call fcn.0047f370
test al, al
mov byte [esp + 0x17], 0
je 0x4a6752
mov byte [esp + 0x17], 1
test bl, 2
je 0x4a6763
lea ecx, [esp + 0x44]
and ebx, 0xfffffffd
call fcn.0047f330
test bl, 1
je 0x4a6771
lea ecx, [esp + 0x30]
call fcn.0047f330
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
lea ecx, [esp + 0x1c]
call fcn.00495ef0
cmp dword [esp + 0x80], 0
mov dword [esp + 0x74], 1
mov dword [esp + 0x18], 0
jbe 0x4a68b4
mov bl, 4
push 2
lea ecx, [esp + 0x48]
call fcn.004960c0
push 2
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 2
call fcn.004960c0
lea eax, [esp + 0x44]
lea esi, [esp + 0x58]
mov byte [esp + 0x74], 3
call fcn.0047f520
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov byte [esp + 0x80], bl
call fcn.00496c40
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
add esi, esi
add esi, esi
push esi
push 0
push eax
mov ebp, eax
call fcn.00522720
add esp, 0xc
cmp esi, 0x10
push ebp
jb 0x4a6823
call fcn.0052568b
jmp 0x4a6828
call fcn.0051e45a
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
add esp, 4
add esi, esi
add esi, esi
push esi
push 0
push ebp
call fcn.00522720
add esp, 0xc
cmp esi, 0x10
push ebp
jb 0x4a6850
call fcn.0052568b
jmp 0x4a6855
call fcn.0051e45a
mov byte [esp + 0x78], 1
mov esi, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
add esp, 4
add esi, esi
add esi, esi
push esi
push 0
push ebp
call fcn.00522720
add esp, 0xc
cmp esi, 0x10
push ebp
jb 0x4a6882
call fcn.0052568b
jmp 0x4a6887
call fcn.0051e45a
add esp, 4
lea edx, [esp + 0x1c]
push edx
push edi
call fcn.004a6080
add esp, 8
test al, al
je 0x4a68db
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
jb 0x4a67b2
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esi, esi
add esi, esi
push esi
push 0
push eax
mov edi, eax
call fcn.00522720
add esp, 0xc
cmp esi, 0x10
push edi
jb 0x4a6937
call fcn.0052568b
jmp 0x4a693c
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esi, esi
add esi, esi
push esi
push 0
push eax
mov edi, eax
call fcn.00522720
add esp, 0xc
cmp esi, 0x10
push edi
jb 0x4a6919
call fcn.0052568b
add esp, 4
xor al, al
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
call fcn.0051e45a
add esp, 4
xor al, al
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
call fcn.0051e45a
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret