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

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x28]
push esi
push edi
call fcn.004017c0
mov eax, dword [0x57e530]
xor edi, edi
test eax, eax
je 0x47e5bc
nop word [eax + eax]
mov edi, eax
mov eax, dword [eax + 0x84]
test eax, eax
jne 0x47e5b0
push 0x88
push 1
call fcn.00458da0
mov esi, eax
add esp, 8
test esi, esi
je 0x47e896
push ebp
mov ebp, dword [esp + 0x2c]
mov dword [esi], 0x57e534
push dword [ebp]
call fcn.0041cc60
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
jne 0x47e605
push esi
call fcn.00458de0
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x18
ret
mov dword [esi + 0x70], 1
movzx eax, word [ebp + 4]
mov word [esi + 0x14], ax
movzx eax, word [ebp + 6]
mov word [esi + 0x16], ax
movzx eax, word [ebp + 0xc]
mov word [esi + 0x18], ax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x3c], eax
movzx eax, word [ebp + 0x18]
mov word [esi + 0x40], ax
movzx eax, word [ebp + 0x1a]
mov word [esi + 0x42], ax
call fcn.0044bee0
mov dword [esi + 0x5c], eax
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x47e6bc
push ecx
call fcn.0041e4c0
lea eax, [eax*2 + 2]
push eax
push dword [esp + 0x18]
push str.WCHAR_T
push str.UTF_8
call fcn.0045a0e0
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x47e6bc
push dword [esp + 0x10]
call fcn.0041e4c0
lea eax, [eax*2 + 2]
push eax
push dword [esp + 0x18]
push str.UCS_2_INTERNAL
push str.UTF_8
call fcn.0045a0e0
add esp, 0x14
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [esp + 0x10], eax
test eax, eax
je 0x47e71c
push eax
call fcn.0041e4c0
lea eax, [eax*2 + 2]
push eax
push dword [esp + 0x18]
push str.WCHAR_T
push str.UTF_8
call fcn.0045a0e0
mov ecx, eax
add esp, 0x14
test ecx, ecx
jne 0x47e71c
push dword [esp + 0x10]
call fcn.0041e4c0
lea eax, [eax*2 + 2]
push eax
push dword [esp + 0x18]
push str.UCS_2_INTERNAL
push str.UTF_8
call fcn.0045a0e0
add esp, 0x14
mov ecx, eax
mov dword [esi + 8], ecx
xor eax, eax
mov ebp, dword [ebp + 0x14]
test ebp, ebp
je 0x47e76e
push ebp
call fcn.0041e4c0
lea eax, [eax*2 + 2]
push eax
push ebp
push str.WCHAR_T
push str.UTF_8
call fcn.0045a0e0
add esp, 0x14
test eax, eax
jne 0x47e76e
push ebp
call fcn.0041e4c0
lea eax, [eax*2 + 2]
push eax
push ebp
push str.UCS_2_INTERNAL
push str.UTF_8
call fcn.0045a0e0
add esp, 0x14
push eax
push dword [esi + 8]
mov dword [esi + 0xc], eax
movzx eax, word [esi + 0x16]
push eax
movzx eax, word [esi + 0x14]
push eax
call fcn.0043bc20
mov dword [esi + 4], eax
add esp, 0x10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47e79c
cmp byte [eax], 0
je 0x47e79c
mov dword [esi + 0x1c], eax
jmp 0x47e7a5
push eax
call fcn.00458de0
add esp, 4
cmp dword [esi + 4], 0
mov eax, dword [esi + 8]
jne 0x47e7df
push eax
call fcn.00458de0
push dword [esi + 0xc]
call fcn.00458de0
push dword [esi + 0x1c]
call fcn.00458de0
push dword [esi + 0x10]
call fcn.00458de0
push esi
call fcn.00458de0
add esp, 0x14
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push 0
push 0x68
push dword [esi + 0xc]
push eax
movzx eax, word [esi + 0x18]
push eax
movzx eax, word [esi + 0x16]
push eax
movzx eax, word [esi + 0x14]
push eax
lea eax, [esp + 0x34]
push 3
push eax
call fcn.0043bb10
push dword [esi + 0x3c]
push dword [esi + 0x38]
movups xmm0, xmmword [eax]
movzx eax, word [esi + 0x16]
push dword [esi + 0x34]
movups xmmword [esi + 0x20], xmm0
mov dword [esi + 0x48], 1
push dword [esi + 0x30]
push eax
movzx eax, word [esi + 0x14]
push eax
push dword [esi + 4]
call fcn.0047fdb0
mov edx, dword [esp + 0x70]
add esp, 0x40
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], 0xffffffff
test edx, edx
jle 0x47e85b
mov dword [esi + 0x7c], edx
xor ecx, ecx
mov dword [esi + 0x80], ebx
nop
mov eax, dword [ebx + ecx*4]
inc ecx
mov dword [eax + 0x78], esi
cmp ecx, edx
jl 0x47e850
test edi, edi
je 0x47e867
mov dword [edi + 0x84], esi
jmp 0x47e86d
mov dword [0x57e530], esi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push esi
call fcn.0047f870
add esp, 8
xor eax, eax
cmp dword [esp + 0x14], eax
cmovne esi, eax
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x18
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x18
ret