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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push eax
push 0x4a83d8
call fcn.00432d29
mov ecx, dword [0x4a8438]
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebx + 8]
mov edi, dword [edx]
mov dword [esp + 0x20], eax
mov eax, ecx
cmp eax, 0xfffffe6e
ja 0x47af9e
je 0x47af3b
cmp eax, 0xfffffdd9
ja 0x47adf9
je 0x47adc3
add eax, 0x2f7
cmp eax, 0xd
ja 0x47addf
movzx eax, byte [eax + 0x47c98e]
jmp dword [eax*4 + 0x47c97a]
mov edx, dword [ebx]
push 0
push 0
push 0x130b
push edx
call dword [0x482650]
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.00460ba5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push eax
push 0x4e
push ecx
call dword [0x48254c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
add eax, 0x226
cmp eax, 0x8a
ja 0x47addf
movzx ecx, byte [eax + 0x47c9b2]
jmp dword [ecx*4 + 0x47c99e]
je 0x47addf
mov edx, dword [esp + 0x74]
push 0
push edx
jmp 0x47adda
mov ecx, dword [ebx]
mov esi, dword [0x482650]
push 0
push 9
push 0x110a
push ecx
call esi
test eax, eax
je 0x47addf
lea edx, [esp + 0x50]
push edx
push 0
mov dword [esp + 0x5c], eax
mov eax, dword [ebx]
push 0x113e
push eax
mov dword [esp + 0x60], 4
call esi
test eax, eax
je 0x47addf
mov ecx, dword [ebx + 0x34]
cmp ecx, dword [ebx + 0x5c]
je 0x47addf
mov eax, dword [ebx + 0xc]
cmp eax, 0x1000
je 0x47addf
cmp eax, 1
jmp 0x47aea8
cmp eax, 0xfffffff0
ja 0x47b138
je 0x47b12d
add eax, 0x140
cmp eax, 0xd4
ja 0x47addf
movzx eax, byte [eax + 0x47ca4e]
jmp dword [eax*4 + 0x47ca3e]
call dword [0x482550]
jmp 0x47addf
cmp eax, 0xfffffff4
je 0x47b4ed
cmp eax, 0xfffffffb
je 0x47b2a4
cmp eax, 0xfffffffe
jne 0x47addf
push 1
push edi
push 0x4a83d8
call fcn.00454fcb
lea edx, [esp + 0x18]
push edx
call dword [0x482584]
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [0x482634]
mov edx, dword [ebx]
push edx
push 0x4a83d8
call fcn.00440e38
cmp eax, 0xffffffff
je 0x47addf
mov ecx, dword [0x4a844c]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx]
mov al, byte [eax + 0x88]
cmp al, 0x10
jb 0x47addf
cmp al, 0x11
jbe 0x47b221
cmp al, 0x13
jne 0x47addf
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [0x482650]
lea eax, [esp + 0x3c]
push eax
push 0
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx]
push 0x1012
push ecx
mov dword [esp + 0x50], edx
call esi
cmp eax, 0xffffffff
je 0x47addf
lea edx, [esp + 0x78]
push edx
push 0
mov dword [esp + 0x84], eax
mov eax, dword [ebx]
push 0x104b
push eax
mov dword [esp + 0x88], 4
call esi
test byte [esp + 0x44], 0xe
je 0x47addf
mov ecx, dword [esp + 0x98]
push 0
push ecx
jmp 0x47adda
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov esi, dword [0x482650]
lea ecx, [esp + 0x28]
push ecx
push 0
mov dword [esp + 0x30], edx
mov edx, dword [ebx]
push 0x1111
push edx
mov dword [esp + 0x3c], eax
call esi
test eax, eax
je 0x47addf
mov ecx, dword [ebx]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push eax
push 0
push 0x113e
push ecx
mov dword [esp + 0x60], 0xc
mov dword [esp + 0x6c], 0xf000
call esi
test byte [esp + 0x30], 0x46
je 0x47addf
mov edx, dword [ebx]
push 0
push 9
push 0x110b
push edx
call esi
mov eax, dword [esp + 0x34]
mov ecx, dword [ebx]
push eax
push 9
push 0x110b
push ecx
call esi
jmp 0x47addf
push 1
push edi
push 0x4a83d8
mov byte [esp + 0x1f], 0
call fcn.00454fcb
lea edx, [esp + 0x18]
push edx
call dword [0x482584]
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [0x482634]
mov edx, dword [ebx]
push edx
push 0x4a83d8
call fcn.00440e38
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
jne 0x47b30f
mov eax, dword [ebx]
push eax
call dword [0x482648]
push eax
push 0x4a83d8
call fcn.00440e38
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
je 0x47addf
mov byte [esp + 0x13], 1
mov ecx, dword [0x4a844c]
mov edx, dword [ecx + esi*4]
mov eax, dword [edx]
mov al, byte [eax + 0x88]
mov dword [esp + 0x24], esi
cmp al, 0x10
je 0x47b41a
cmp al, 0x13
jne 0x47addf
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
push 0
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx]
push 0x1012
push ecx
mov dword [esp + 0x50], edx
call dword [0x482650]
cmp eax, 0xffffffff
jle 0x47b3d9
cmp byte [esp + 0x13], 0
jne 0x47b3d9
lea edx, [esp + 0x78]
push edx
push 0
mov dword [esp + 0x84], eax
mov eax, dword [ebx]
push 0x104b
push eax
mov dword [esp + 0x88], 4
call dword [0x482650]
test eax, eax
je 0x47addf
test byte [esp + 0x44], 0xe
je 0x47b3d9
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
push 0x4a83d8
call fcn.00440db2
test al, al
je 0x47b3d5
mov esi, dword [esp + 0x14]
mov ecx, dword [0x4a844c]
mov eax, dword [ecx + esi*4]
cmp dword [eax], 0
je 0x47b3d5
mov edx, dword [eax]
cmp dword [edx + 8], 0
jne 0x47b3d9
mov esi, dword [esp + 0x24]
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [0x4824a8]
mov edx, dword [0x4a844c]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
test eax, eax
je 0x47addf
mov edx, dword [edi]
mov ecx, dword [esp + 0x1c]
push 0
push edx
mov edx, dword [esp + 0x20]
push ecx
push edx
push 0
push eax
call dword [0x482580]
jmp 0x47addf
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
push 0
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
push 0x1111
push eax
mov dword [esp + 0x3c], ecx
call dword [0x482650]
test eax, eax
je 0x47b4a0
mov edx, dword [ebx]
lea ecx, [esp + 0x50]
push ecx
push 0
push 0x113e
push edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], 4
call dword [0x482650]
test byte [esp + 0x30], 0x46
je 0x47b4a0
mov edx, dword [esp + 0x74]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
push 0x4a83d8
call fcn.00440db2
test al, al
je 0x47b49c
mov esi, dword [esp + 0x14]
mov eax, dword [0x4a844c]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
cmp dword [edx + 8], 0
jne 0x47b4a0
mov esi, dword [esp + 0x24]
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [0x4824a8]
mov edx, dword [0x4a844c]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
test eax, eax
je 0x47addf
mov edx, dword [edi]
mov ecx, dword [esp + 0x1c]
push 0
push edx
mov edx, dword [esp + 0x20]
push ecx
push edx
push 0x80
push eax
call dword [0x482580]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx]
push eax
push 0x4a83d8
call fcn.00440e38
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x47addf
mov edi, dword [0x4a844c]
mov ecx, dword [edi + eax*4]
mov eax, dword [ecx]
mov cl, byte [eax + 0x88]
cmp cl, 0x10
je 0x47b526
cmp cl, 0x13
jne 0x47addf
mov ecx, dword [ebx + 0xc]
sub ecx, 1
je 0x47b5e3
sub ecx, 0x10000
jne 0x47addf
cmp dword [eax + 0x44], 0xfe000000
mov byte [esp + 0x13], cl
jne 0x47b550
mov byte [esp + 0x13], 1
mov ecx, dword [ebx + 0x2c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
push ecx
push 0x4a83d8
call fcn.00440db2
test al, al
je 0x47b5d8
mov esi, dword [esp + 0x14]
mov eax, dword [edi + esi*4]
mov edx, dword [eax]
mov eax, dword [edx + 0x30]
push 0xfffffffffffffff0
push eax
call dword [0x482718]
test eax, 0x8000000
jne 0x47b5d8
test byte [ebx + 0x28], 0x11
mov ecx, dword [0x4a844c]
je 0x47b5a6
mov edx, dword [ecx + esi*4]
mov eax, dword [edx]
cmp byte [eax + 0x88], 0x14
jne 0x47addf
mov edx, dword [ecx + esi*4]
mov eax, dword [edx]
mov eax, dword [eax + 0x48]
cmp eax, 0xffffffff
je 0x47b5bc
mov dword [ebx + 0x30], eax
mov ecx, dword [0x4a844c]
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
test eax, eax
jl 0x47b5d8
cmp byte [esp + 0x13], 0
je 0x47b5d5
test byte [ebx + 0x24], 1
je 0x47b5d8
mov dword [ebx + 0x34], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 0x20
pop ebx
mov esp, ebp
pop ebp
ret 0xc