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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x138
lea esi, [esp + 0x78]
mov edi, ecx
mov ecx, esi
call fcn.00437194
mov eax, dword [esi]
test eax, eax
je 0x4785c0
mov dword [esp + 8], edi
mov edi, eax
xor ebx, ebx
mov eax, 4
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov word [esp + 0xb0], 0
mov dword [esp + 0x90], 2
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 4], edi
movdqa xmm0, xmmword [edi]
lea eax, [edi + esi + 1]
test esi, esi
lea edi, [edi + 0x10]
mov dword [esp + 0x4c], edi
pmovmskb edx, xmm0
not edx
mov dword [esp + 0xc], edx
je 0x4785c9
mov dword [esp + 0x48], eax
lea eax, [esi + 1]
mov edx, 0x18
xor ebx, ebx
mul edx
jo 0x4785b2
mov edi, esi
add eax, 0xf
and eax, 0xfffffff0
add edi, 0x11
add edi, eax
jae 0x478840
mov esi, dword [esp + 4]
mov edx, esi
sub edx, eax
mov eax, dword [esp + 0x48]
jmp 0x4785cd
mov ebx, dword [esp + 0x7c]
jmp 0x478809
mov esi, dword [esp + 4]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc]
mov word [esp + 0x40], ax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edx
test ecx, ecx
je 0x4787d5
movzx edx, word [esp + 0x40]
mov eax, dword [esp + 0x34]
test dx, dx
je 0x478624
lea esi, [edx - 1]
dec ecx
and esi, edx
test eax, eax
mov word [esp + 0x40], si
mov dword [esp + 0x44], ecx
jne 0x478659
jmp 0x4787d5
mov esi, dword [esp + 0x38]
movdqa xmm0, xmmword [esi]
add eax, 0xfffffe80
add esi, 0x10
pmovmskb edx, xmm0
cmp edx, 0xffff
je 0x478628
not edx
mov dword [esp + 0x38], esi
dec ecx
mov dword [esp + 0x34], eax
lea esi, [edx - 1]
and esi, edx
mov word [esp + 0x40], si
mov dword [esp + 0x44], ecx
bsf ecx, edx
neg ecx
lea ecx, [ecx + ecx*2]
mov ebx, dword [eax + ecx*8 - 4]
mov edx, dword [eax + ecx*8 - 0x18]
mov edi, dword [eax + ecx*8 - 0x14]
mov esi, dword [eax + ecx*8 - 0x10]
mov dword [esp + 0x70], ebx
test edx, edx
movsd xmm0, qword [eax + ecx*8 - 0xc]
movsd qword [esp + 0x68], xmm0
je 0x4787d5
mov eax, dword [esp + 0x70]
movsd xmm0, qword [esp + 0x68]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], eax
movsd qword [esp + 0x10], xmm0
push esi
call fcn.004c86b4
add esp, 4
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0xcc]
mov edx, ebx
push dword [esp + 0x18]
call fcn.004b8fc6
add esp, 4
movsd xmm0, qword [esp + 0x50]
mov eax, dword [esp + 0x60]
movsd xmm1, qword [esp + 0x58]
movsd qword [esp + 0xb8], xmm0
mov dword [esp + 0xc8], eax
movsd qword [esp + 0xc0], xmm1
mov esi, dword [esp + 0xb8]
mov al, byte [esp + 0xdc]
test esi, esi
jne 0x47885a
cmp al, 2
je 0x47885a
lea eax, [esp + 0xcc]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x78]
movsd xmm1, qword [eax - 8]
movq xmm0, qword [eax - 0x10]
movsd xmm2, qword [eax]
movsd qword [esp + 0x110], xmm1
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x10]
movq qword [esp + 0x108], xmm0
movsd qword [esp + 0xf0], xmm2
mov dword [esp + 0x100], eax
lea eax, [esp + 0xf0]
movsd qword [esp + 0xf8], xmm1
push eax
lea eax, [esp + 0x10c]
push eax
call fcn.004cd74d
add esp, 8
cmp byte [esp + 0x60], 2
je 0x47879c
mov eax, dword [esp + 0x50]
push dword [esp + 0x58]
push dword [esp + 0x58]
lea ecx, [esp + 0x64]
push ecx
call dword [eax + 8]
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x4787b6
push ebx
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [esp + 0x20]
test edi, edi
je 0x4787cc
push dword [esp + 0x1c]
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [esp + 0x44]
jmp 0x4785f6
lea ecx, [esp + 0x28]
call fcn.0042d833
lea esi, [esp + 0x84]
lea edi, [esp + 0xb8]
mov eax, dword [esi - 0xc]
mov edx, dword [esi - 8]
mov ebx, dword [esi - 4]
mov ecx, eax
xor ecx, 3
or ecx, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
jne 0x47881b
mov edi, dword [esp + 8]
mov dword [edi + 8], ebx
mov dword [edi + 4], 0
mov dword [edi], 4
jmp 0x478838
mov edi, dword [esp + 8]
lea esi, [esp + 0xb8]
mov ecx, 0xd
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 8], ebx
add edi, 0xc
rep movsd dword es:[edi], dword [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [esp + 4]
cmp edi, 0x7ffffff1
jae 0x4785b6
mov ebx, 0x10
jmp 0x4785b6
mov byte [esp + 0xc], al
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x124]
mov edi, 0x4761f0
lea edx, [esp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edi
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edi
lea edx, [esp + 0x50]
lea edi, [esp + 0x118]
mov dword [edx], str.invalid_header_____
mov dword [edx + 4], 3
mov dword [edx + 0x10], 0
mov dword [edx + 8], ecx
mov ecx, edi
mov dword [edx + 0xc], 2
call fcn.00499020
mov ecx, edi
call fcn.0065fefb
mov ebx, eax
test esi, esi
je 0x4788c4
mov edi, dword [esp + 8]
mov cl, byte [esp + 0xc]
jmp 0x4788ee
mov eax, dword [esp + 0xbc]
mov edi, dword [esp + 8]
mov cl, byte [esp + 0xc]
test eax, eax
je 0x4788ee
lea esi, [esp + 0xc8]
push dword [esi - 4]
push dword [esi - 8]
push esi
call dword [eax + 8]
add esp, 0xc
mov cl, byte [esi + 0x14]
cmp cl, 2
je 0x47890a
lea eax, [esp + 0xd8]
mov ecx, dword [eax - 0xc]
push dword [eax - 4]
push dword [eax - 8]
push eax
call dword [ecx + 8]
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x478923
push dword [esp + 0x10]
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esp + 0x20], 0
je 0x47893c
push dword [esp + 0x1c]
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ecx, [esp + 0x28]
call fcn.0042d833
lea ecx, [esp + 0x78]
call fcn.004cb423
jmp 0x478809