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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x569c2f
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
call fcn.004992d0
xor ebx, ebx
mov dword [esp + 0xb0], ebx
lea esi, [esp + 0x1c]
call fcn.004b9550
mov byte [esp + 0xb0], 1
mov edi, dword [ebp + 0xc]
mov eax, edi
call fcn.0049cb10
test eax, eax
jle 0x4a29f9
jmp 0x4a2783
mov edi, dword [ebp + 0xc]
mov ecx, 3
lea esi, [esp + 0x20]
call fcn.004080a0
mov byte [esp + 0xb0], 2
push 0x2c
mov eax, esi
push eax
mov eax, ebx
mov ecx, edi
call fcn.0040afa0
call fcn.00408130
push eax
call fcn.004a0540
add esp, 0xc
mov eax, ebx
mov ecx, edi
call fcn.0040afa0
lea esi, [esp + 0x10]
call fcn.004992f0
mov byte [esp + 0xb0], 3
mov eax, 2
lea ecx, [esp + 0x20]
call fcn.0040afa0
call fcn.00408130
mov edi, dword [ebp + 8]
push eax
call fcn.004a33e0
mov edi, eax
cmp edi, 0xffffffff
jne 0x4a280b
mov eax, esi
call fcn.00408130
push eax
lea eax, [esp + 0x1c]
call fcn.004a3cb0
add esp, 4
jmp 0x4a29c6
xor eax, eax
lea ecx, [esp + 0x20]
call fcn.0040afa0
lea esi, [esp + 0x14]
call fcn.004992f0
mov byte [esp + 0xb0], 4
mov ecx, esi
call fcn.004a3a30
mov eax, 1
lea ecx, [esp + 0x20]
call fcn.0040afa0
call fcn.00408130
mov esi, eax
call fcn.004a3c00
test eax, eax
jne 0x4a28f6
lea eax, [esp + 0x14]
call fcn.00408130
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004b95c0
test al, al
jne 0x4a29b5
lea edx, [esp + 0x34]
push edx
call fcn.004b9c90
mov byte [esp + 0xb0], 5
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x4a28c9
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x18]
push edx
call eax
test al, al
je 0x4a28c9
lea eax, [esp + 0x34]
call fcn.00408130
push eax
lea ecx, [esp + 0x20]
call fcn.004b9670
mov byte [esp + 0xb0], 4
lea ecx, [esp + 0x34]
push ecx
call fcn.004ba010
jmp 0x4a29b5
lea eax, [esp + 0x10]
call fcn.00408130
push eax
lea eax, [esp + 0x1c]
call fcn.004a3cb0
add esp, 4
mov byte [esp + 0xb0], 4
lea ecx, [esp + 0x34]
push ecx
call fcn.004ba010
jmp 0x4a29b5
cmp eax, 1
jne 0x4a299f
lea eax, [esp + 0x14]
call fcn.00408130
push eax
lea edx, [esp + 0x20]
push edx
call fcn.004b9730
test al, al
jne 0x4a29b5
lea eax, [esp + 0x6c]
push eax
call fcn.004b9c90
mov byte [esp + 0xb0], 6
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x4a2975
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x18]
push eax
call edx
test al, al
je 0x4a2975
lea eax, [esp + 0x6c]
call fcn.00408130
push eax
lea ecx, [esp + 0x20]
call fcn.004b97e0
mov byte [esp + 0xb0], 4
lea eax, [esp + 0x6c]
push eax
call fcn.004ba010
jmp 0x4a29b5
lea eax, [esp + 0x10]
call fcn.00408130
push eax
lea eax, [esp + 0x1c]
call fcn.004a3cb0
add esp, 4
mov byte [esp + 0xb0], 4
lea eax, [esp + 0x6c]
push eax
call fcn.004ba010
jmp 0x4a29b5
lea eax, [esp + 0x10]
call fcn.00408130
push eax
lea eax, [esp + 0x1c]
call fcn.004a3cb0
add esp, 4
mov byte [esp + 0xb0], 3
lea ecx, [esp + 0x14]
call fcn.00499450
mov byte [esp + 0xb0], 2
lea ecx, [esp + 0x10]
call fcn.00499450
mov byte [esp + 0xb0], 1
lea eax, [esp + 0x20]
call fcn.00403510
mov eax, dword [ebp + 0xc]
inc ebx
call fcn.0049cb10
cmp ebx, eax
jl 0x4a2780
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.004a2ee0
test eax, eax
jne 0x4a2a3c
lea ecx, [esp + 0x6c]
push ecx
call fcn.004b9cf0
mov byte [esp + 0xb0], 7
lea eax, [esp + 0x6c]
call fcn.00408130
push esi
mov ecx, eax
call fcn.004a2f10
mov byte [esp + 0xb0], 1
lea edx, [esp + 0x6c]
push edx
call fcn.004ba010
mov eax, esi
call fcn.004a2ef0
test eax, eax
jne 0x4a2a8d
push 0x220
push 0x20
push 2
lea eax, [esp + 0x78]
push 0x66f3ac
push eax
call fcn.004b9e10
add esp, 0x14
mov byte [esp + 0xb0], 8
lea eax, [esp + 0x6c]
call fcn.00408130
push esi
mov ecx, eax
call fcn.004a2fc0
mov byte [esp + 0xb0], 1
lea ecx, [esp + 0x6c]
push ecx
call fcn.004ba010
lea eax, [esp + 0x1c]
call fcn.00408130
push esi
mov ecx, eax
call fcn.004a3070
lea eax, [esp + 0x18]
call fcn.00499c50
test al, al
jne 0x4a2afc
mov edx, dword [0x67f9a0]
push edx
push 0xa1040057
lea eax, [esp + 0x3c]
push eax
call fcn.0049c100
mov byte [esp + 0xb0], 9
mov edi, dword [ebp + 0x10]
lea ecx, [esp + 0x34]
push ecx
call fcn.0049c450
mov byte [esp + 0xb0], 1
lea ecx, [esp + 0x34]
call fcn.0049c2c0
mov edx, dword [edi]
lea eax, [esp + 0x18]
call fcn.00408130
push eax
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
jmp 0x4a2b35
mov ecx, dword [0x67f9a0]
push ecx
push 0
lea edx, [esp + 0x3c]
push edx
call fcn.0049c100
mov byte [esp + 0xb0], 0xa
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0x34]
push eax
call fcn.0049c450
mov byte [esp + 0xb0], 1
lea ecx, [esp + 0x34]
call fcn.0049c2c0
mov byte [esp + 0xb0], 0
lea eax, [esp + 0x1c]
call fcn.0050c500
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00499450
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc