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

Disassembly:
sub esp, 0x1b4
mov eax, dword [0x553abc]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
mov ebx, dword [esp + 0x1bc]
push ebp
push esi
push edi
push 0x4c
xor esi, esi
lea eax, [esp + 0x9c]
push esi
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0xa0], 0x50
call fcn.004b9690
mov eax, dword [ebx + 4]
mov ebp, dword [0x4ed2c8]
add esp, 0xc
mov dword [esp + 0x98], 0x10
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
lea ecx, [esp + 0x94]
push ecx
push edx
push 0x41d
push eax
call ebp
mov edi, dword [esp + 0xb4]
push esi
push esi
push 0x418
push edi
call ebp
cmp eax, esi
mov dword [esp + 0x14], eax
jle 0x47a7e2
push esi
push esi
push 0x52e
push edi
call ebp
cmp eax, esi
setne cl
mov dword [esp + 0x20], eax
mov byte [ebx + 8], cl
call dword [0x4ed33c]
lea edx, [esp + 0x54]
mov dword [esp + 0x10], eax
xor eax, eax
push edx
push edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call dword [0x4ed2a0]
cmp dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
jle 0x47a7c0
jmp 0x47a570
xor eax, eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
lea eax, [esp + 0xe4]
push eax
push esi
push 0x417
push edi
call ebp
test byte [esp + 0xec], 8
jne 0x47a7ab
lea ecx, [esp + 0x24]
push ecx
push esi
xor eax, eax
push 0x41d
push edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call ebp
mov eax, dword [esp + 0xec]
mov edx, dword [esp + 0x2c]
mov bl, al
shr bl, 2
and bl, 1
cmp edx, dword [esp + 0x5c]
jle 0x47a7ab
test ah, 1
je 0x47a622
mov eax, dword [esp + 0x10]
push eax
call dword [0x4ed328]
test eax, eax
jle 0x47a7ab
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0x800
push ecx
call dword [0x4ed314]
jmp 0x47a7ab
mov edx, dword [esp + 0x18]
cmp byte [edx + 8], 0
push 0xc7
lea eax, [esp + 0xfd]
push 0
mov byte [esp + 0x100], 0
push eax
je 0x47a6d2
call fcn.004b9690
push 0x30
lea ecx, [esp + 0x74]
push 0
push ecx
call fcn.004b9690
add esp, 0x18
mov dword [esp + 0x64], 0x30
call fcn.00479b90
test al, al
je 0x47a676
mov dword [esp + 0x64], 0x2c
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x64]
push eax
push 1
push esi
lea edx, [esp + 0x104]
push ecx
mov dword [esp + 0x78], 0x14
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], 0xc8
call dword [0x4ed324]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x78]
xor ecx, ecx
test bl, bl
sete cl
push edx
mov edx, dword [esp + 0x14]
push eax
or ecx, 0x10
push ecx
push edx
call dword [0x4ed314]
jmp 0x47a7ab
call fcn.004b9690
xor eax, eax
add esp, 0xc
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xec]
push eax
lea esi, [esp + 0x100]
push 0x441
mov ecx, esi
push edi
mov dword [esp + 0x44], 0x20
mov dword [esp + 0x48], 2
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], 0xc8
call ebp
cmp eax, 0xffffffff
je 0x47a744
mov ecx, esi
push ecx
call dword [0x4ed1d8]
test eax, eax
jne 0x47a78b
mov eax, dword [esp + 0xe8]
mov ecx, dword [0x55a440]
push 0xc8
lea edx, [esp + 0xfc]
push edx
push eax
push ecx
mov esi, 0x4ed7a8
call dword [0x4ed280]
xor ecx, ecx
test eax, eax
jle 0x47a78b
cmp byte [esp + ecx + 0xf8], 0xa
je 0x47a784
add ecx, 1
cmp ecx, eax
jl 0x47a771
jmp 0x47a78b
lea esi, [esp + ecx + 0xf9]
mov edx, dword [esp + 0xe8]
mov ecx, dword [esp + 0x10]
xor eax, eax
test bl, bl
sete al
push esi
push edx
push eax
push ecx
call dword [0x4ed314]
mov esi, dword [esp + 0x1c]
add esi, 1
cmp esi, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
jl 0x47a570
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push esi
call dword [0x4ed328]
test eax, eax
jne 0x47a7e6
test esi, esi
je 0x47a7da
push esi
call dword [0x4ed32c]
push 0xffffffffffffffff
call dword [0x4ed310]
xor al, al
jmp 0x47a7ea
mov dword [ebx], esi
mov al, 1
mov ecx, dword [esp + 0x1c0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b833b
add esp, 0x1b4
ret 4