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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, ecx
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [esp + 0x98], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov eax, dword [ecx]
cmp dword [eax + 0x18], 0x58e740
je 0x58fc0c
lea eax, [esp + 0x50]
mov dword [esp], eax
mov ecx, esi
call fcn.0058e740
sub esp, 4
lea ebx, [esp + 0x69]
mov ecx, dword [esi + 0xc]
call fcn.005924c0
cmp dword [esi + 0x5c], 0
jne 0x58fcc7
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 3]
mov dword [esp + 0x93], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x44], eax
movzx ebx, byte [esp + 0x68]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 0xc]
call fcn.005924c0
movzx eax, byte [esi + 0x108]
mov byte [esp + 0x37], bl
and bl, al
cmp bl, 1
mov dword [esp + 0x4c], edi
jne 0x58fbe2
mov eax, dword [esi + 0xf0]
xor eax, edi
mov ecx, dword [esi + 0xf4]
mov ebx, dword [esp + 0x38]
xor ecx, ebx
or ecx, eax
mov edi, ebx
jne 0x58fad9
mov eax, dword [esi + 0xf8]
xor eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0xfc]
xor ecx, dword [esp + 0x48]
or ecx, eax
jne 0x58fad9
mov eax, dword [esp + 0x44]
cmp dword [esi + 0x100], eax
jne 0x58fad9
mov eax, dword [esp + 0x40]
cmp dword [esi + 0x104], eax
je 0x58fbca
mov ecx, dword [esi + 0xc]
call fcn.005924c0
mov dword [esi + 0xf4], edi
mov edi, dword [esp + 0x4c]
mov dword [esi + 0xf0], edi
mov ebx, dword [esp + 0x48]
mov dword [esi + 0xfc], ebx
mov eax, dword [esp + 0x3c]
mov dword [esi + 0xf8], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x100], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x104], eax
movzx eax, byte [esp + 0x37]
mov byte [esi + 0x108], al
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x93]
mov dword [esi + 0x109], eax
mov dword [esi + 0x10c], ecx
mov ecx, dword [esi + 0xc]
call fcn.005924c0
mov ecx, dword [esi + 0x58]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], eax
movzx eax, byte [esp + 0x37]
mov byte [esp + 0x88], al
mov eax, dword [esp + 0x90]
mov dword [esp + 0x89], eax
mov eax, dword [esp + 0x93]
mov dword [esp + 0x8c], eax
movdqu xmm0, xmmword [esp + 0x70]
movups xmm1, xmmword [esp + 0x80]
movups xmmword [esp + 0x18], xmm1
movdqu xmmword [esp + 8], xmm0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.005925c0
sub esp, 0x28
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.005c9f16
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov cl, byte [esp + 0x37]
and cl, 1
cmp cl, al
mov edi, dword [esp + 0x38]
je 0x58fbca
jmp 0x58fad9
mov ecx, dword [esi + 0xc]
call fcn.005924c0
cmp byte [esi + 0x9c], 0
jne 0x58fc3a
jmp 0x58fcbe
mov ecx, dword [esi + 0xc]
call fcn.005924c0
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 0x70]
je 0x58fcbe
mov eax, dword [esi]
cmp dword [eax + 8], 0x58f9a0
je 0x58fbf6
mov ecx, esi
call fcn.0058f9a0
test al, al
je 0x58fcbe
mov ecx, dword [esi + 0xc]
call fcn.005924c0
mov edi, dword [esi + 0x6c]
cmp edi, dword [esi + 0x70]
je 0x58fd4d
mov ecx, dword [esi + 0xc]
call fcn.005924c0
xor edx, edx
cmp dword [esi + 0x78], 0
jne 0x58fd4f
mov dword [esp + 0x38], edx
mov ebx, dword [edi + 0x28]
mov eax, dword [esi]
cmp dword [eax + 0x24], 0x58ebb0
je 0x58fcae
mov ecx, esi
call fcn.0058ebb0
xor ecx, ecx
cmp ebx, 2
cmovne ecx, ebx
mov edx, dword [esi + 8]
cmp al, byte [edx + 0x35]
cmovbe ecx, ebx
movdqu xmm0, xmmword [edi + 0x18]
movdqa xmmword [esp + 0x50], xmm0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov al, 1
mov byte [esp + 0x68], al
jmp 0x58fa0f
mov ecx, dword [esi + 0xc]
call fcn.005924c0
mov eax, dword [esi + 0x64]
mov al, byte [eax + 0x20]
jmp 0x58fc7b
mov byte [esp + 0x50], 0
xor eax, eax
jmp 0x58fca5
mov ecx, esi
call fcn.0058f9a0
test al, al
je 0x58fa25
mov ecx, dword [esi + 0xc]
call fcn.005924c0
mov edi, dword [esi + 0x5c]
mov dword [esp + 0x38], edi
mov ecx, esi
call fcn.00502e90
mov byte [esp + 0x3c], al
mov eax, dword [edi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x8072c0]
movaps xmm0, xmmword [esp + 0x50]
movaps xmm1, xmmword [esp + 0x60]
movups xmmword [esp + 0x18], xmm1
movups xmmword [esp + 8], xmm0
movzx eax, byte [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
call edi
sub esp, 0x2c
lea eax, [esp + 0x70]
movdqu xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movaps xmmword [esp + 0x60], xmm1
movdqa xmmword [esp + 0x50], xmm0
jmp 0x58fa25
ud2
mov ecx, esi
call fcn.0058ebb0
mov ecx, dword [esi + 8]
xor edx, edx
cmp al, byte [ecx + 0x35]
setbe dl
jmp 0x58fc62