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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov edx, dword [0xd3f044]
mov dword [esp + 0x2c], edx
xor edx, edx
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
vmovd xmm3, dword [esp + 0x1c]
mov esi, dword [ebp + 0x1c]
vmovd xmm2, eax
vpinsrd xmm1, xmm2, ecx, 1
vpinsrd xmm0, xmm3, edi, 1
vpunpcklqdq xmm0, xmm0, xmm1
test ebx, ebx
je 0x59db7d
vmovdqu xmmword [ebx + 0x70], xmm0
xor edx, edx
vmovd dword [ebx + 0x84], xmm3
test eax, eax
je 0x59d975
mov edx, dword [eax]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx]
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x80], esi
test edi, edi
je 0x59da68
test edx, edx
jne 0x59db58
mov edx, dword [ebx + 0x6c]
test edx, edx
jne 0x59db58
mov edx, dword [ebx + 0x68]
cmp esi, 4
je 0x59d9b8
test edx, edx
jne 0x59db58
test eax, eax
je 0x59d9cc
cmp dword [eax], 0
je 0x59d9cc
cmp dword [esp + 0x1c], 0
je 0x59db5c
test ecx, ecx
je 0x59d9dd
cmp dword [ecx], 0
je 0x59d9dd
test edi, edi
je 0x59da7b
xor eax, eax
cmp esi, 4
mov ecx, dword [ebx + 0x5c]
sete al
mov edi, eax
mov eax, ebx
or edx, edi
mov dword [ebx + 0x68], edx
test ecx, ecx
jne 0x59da42
mov edx, dword [ebx + 0x60]
test edx, edx
jne 0x59da42
call fcn.0059e5d0
test eax, eax
je 0x59da90
test dword [ebx + 8], 0x3000
je 0x59da1a
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x59da98
test esi, esi
je 0x59da40
mov ecx, dword [ebx + 0x20]
test ecx, ecx
jne 0x59da40
mov edx, dword [ebx + 0x88]
test edx, edx
jne 0x59da40
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x59daf0
lea esi, [esi]
mov eax, ebx
call fcn.0059fe20
mov dword [ebx + 0x6c], eax
mov edx, dword [esp + 0x2c]
sub edx, dword [0xd3f044]
jne 0x59db93
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test ecx, ecx
je 0x59dad0
test edx, edx
jne 0x59da7b
mov edx, dword [ebx + 0x6c]
test edx, edx
je 0x59d9a8
test eax, eax
je 0x59db66
mov dword [eax], 0
jmp 0x59db66
mov eax, dword [ebx + 0x6c]
jmp 0x59da4a
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x84]
mov dword [esp], eax
call fcn.004026d0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.0058a0b0
mov dword [ebx + 0x18], eax
jmp 0x59da1a
test edx, edx
je 0x59dadf
mov edx, dword [ebx + 0x6c]
test edx, edx
je 0x59d9a8
test eax, eax
je 0x59db6c
xor ecx, ecx
mov dword [eax], ecx
jmp 0x59db6c
mov edx, esi
mov eax, ebx
call fcn.0059f370
test eax, eax
js 0x59da90
mov dword [ebx + 0x60], edi
cmp esi, 3
jne 0x59da40
lea eax, [ebx + 0x29272]
mov dword [esp + 8], 0x10000
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040f948
lea eax, [ebx + 0x19272]
mov dword [esp + 8], 0x10000
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040f948
mov dword [ebx + 0x24], 0
mov eax, ebx
jmp 0x59da42
test eax, eax
je 0x59db62
mov dword [eax], 0
test ecx, ecx
je 0x59db6c
mov dword [ecx], 0
mov dword [ebx + 0x6c], 0xfffffffe
mov eax, 0xfffffffe
jmp 0x59da4a
test eax, eax
je 0x59db87
mov dword [eax], 0
test ecx, ecx
je 0x59db73
mov dword [ecx], 0
jmp 0x59db73
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop