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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov edx, ecx
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], 0
movaps xmm0, xmmword [0x5de210]
movups xmmword [esp + 0x3c], xmm0
cmp dword [ecx + 0x2c], 0
je 0x597962
mov ecx, dword [ebp + 8]
lea eax, [edx + 0x88]
mov dword [esp + 0x24], eax
mov byte [esp + 7], 3
xor eax, eax
xor edi, edi
mov dword [esp + 8], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
xor esi, esi
mov dword [esp + 0x28], 0
mov dword [esp], edx
mov ecx, dword [edx + 0x28]
mov edx, dword [ecx + edi*4]
xor ebx, ebx
cmp edx, 9
ja case.0x597689.7
mov ecx, edi
jmp dword [edx*4 + 0x5f3d54]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp]
cmp dword [ebx + 0x7c], ecx
jbe 0x597a05
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + ecx*4]
cmp dword [ebx + 0x1c], eax
jbe 0x597a05
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x18]
mov edi, dword [ecx + eax*4]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp edx, 4
jne 0x5978e4
add eax, edi
setb dl
mov dword [esp + 0x30], 0xffffffff
test ecx, ecx
mov ecx, 0
cmovne eax, ecx
mov ebx, dword [ebp + 8]
jne 0x597a3f
test dl, dl
jne 0x597a3f
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x24]
push 1
lea eax, [esp + 0x50]
push eax
call fcn.00597fe0
test al, al
mov edi, dword [esp + 0xc]
je 0x597a05
mov ecx, dword [esp + 8]
push 4
lea eax, [esp + 0x34]
push eax
call fcn.0053a580
test al, al
je 0x597a05
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x4c]
add eax, 4
jmp 0x597946
mov edx, dword [esp]
mov edi, dword [esp + 0x28]
cmp dword [edx + 0x3c], edi
jbe 0x597a05
mov eax, dword [edx + 0x38]
mov eax, dword [eax + edi*4]
inc edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], eax
jmp 0x5978d0
mov edx, dword [esp]
mov edi, dword [esp + 0xc]
cmp dword [edx + 0x4c], edi
jbe 0x597a05
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 0x48]
mov edi, dword [ecx + edi*4]
test edi, edi
je 0x597953
lea eax, [esi + edi]
mov dword [esp + 0x2c], eax
mov ebx, edi
mov byte [esp + 0x30], 0xff
cmp dword [edx + 0x5c], esi
jbe 0x597a05
mov eax, dword [edx + 0x58]
mov al, byte [eax + esi]
mov byte [esp + 0x30], al
mov ecx, dword [esp + 8]
push 1
lea eax, [esp + 0x34]
push eax
call fcn.0053a580
test al, al
je 0x597a05
inc esi
dec ebx
mov edx, dword [esp]
jne 0x59778b
jmp 0x5979ac
mov byte [esp + 0x30], 0xff
mov eax, dword [esp]
cmp dword [eax + 0x5c], esi
jbe 0x597a05
mov edi, ecx
mov eax, dword [eax + 0x58]
mov al, byte [eax + esi]
mov byte [esp + 0x30], al
mov ecx, dword [esp + 8]
push 1
lea eax, [esp + 0x34]
push eax
call fcn.0053a580
mov edx, dword [esp]
test al, al
je 0x597a05
inc esi
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x4c], eax
jmp 0x597865
mov edx, dword [esp + 0x14]
mov ebx, dword [esp]
cmp dword [ebx + 0x6c], edx
jbe 0x597a05
mov edi, ecx
mov ecx, dword [ebx + 0x68]
mov ecx, dword [ecx + edx*4]
cmp dword [ebx + 0xc], ecx
jbe 0x597a05
mov edx, dword [ebx + 8]
mov ecx, dword [edx + ecx*4]
sub ecx, eax
add ecx, 0xfffffffc
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 8]
push 4
lea eax, [esp + 0x34]
push eax
call fcn.0053a580
test al, al
je 0x597a05
inc dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
add eax, 4
mov dword [esp + 0x4c], eax
mov edx, dword [esp]
mov ebx, dword [ebp + 8]
mov ecx, edi
jmp 0x5978d3
mov edx, ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
mov ecx, edx
test byte [esp + 0x10], 1
mov dl, 1
mov dword [esp + 0x10], edx
jmp 0x59789e
mov edx, ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
mov ecx, edx
cmp dword [esp + 0x20], 0
mov dword [esp + 0x20], 8
mov edx, dword [esp]
mov ebx, dword [ebp + 8]
je 0x5978d3
jmp 0x597a05
test byte [esp + 0x10], 1
jne 0x597a05
mov byte [esp + 7], 0xa
mov dl, 1
mov dword [esp + 0x10], edx
mov edx, ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
mov ecx, edx
mov edx, dword [esp]
mov ebx, dword [ebp + 8]
inc ecx
cmp ecx, dword [edx + 0x2c]
mov edi, ecx
jb 0x597676
jmp 0x597993
add eax, edi
adc ecx, 0
mov edx, 0xffffffff
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], edx
mov ebx, dword [ebp + 8]
jb 0x597a47
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x24]
push 1
lea eax, [esp + 0x50]
push eax
call fcn.00597fe0
test al, al
mov edi, dword [esp + 0xc]
je 0x597a05
mov ecx, dword [esp + 8]
push 8
lea eax, [esp + 0x34]
push eax
call fcn.0053a580
test al, al
je 0x597a05
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x4c]
add eax, 8
mov dword [esp + 0x4c], eax
mov edx, dword [esp]
mov ecx, dword [esp + 0x18]
jmp 0x5978d3
inc dword [esp + 0xc]
add eax, edi
mov dword [esp + 0x4c], eax
mov ebx, dword [ebp + 8]
jmp 0x59794d
xor edi, edi
xor esi, esi
mov dword [esp + 0x1c], 0
xor eax, eax
cmp edi, dword [edx + 0x4c]
jne 0x597a05
cmp esi, dword [edx + 0x5c]
jne 0x597a05
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [edx + 0x7c]
jne 0x597a05
cmp eax, dword [edx + 0x6c]
sete bl
jmp case.0x597689.7
test byte [esp + 0x10], 1
mov edi, dword [esp + 0xc]
jne 0x5979b6
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5979dd
mov eax, dword [esp + 0x14]
jmp 0x597970
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x2c]
jmp 0x597953
movzx eax, byte [esp + 7]
mov ecx, edx
push eax
push ebx
call fcn.00597a60
test al, al
je 0x597a05
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
call fcn.0053a7d0
test al, al
mov edx, dword [esp]
jne 0x59799e
jmp 0x597a05
mov ecx, edx
push ebx
push eax
call fcn.00597c00
test al, al
je 0x597a05
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
call fcn.0053a7d0
test al, al
mov eax, dword [esp + 0x14]
mov edx, dword [esp]
jne 0x597970
xor ebx, ebx
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x597a26
mov ecx, dword [esp + 0x50]
xor ecx, ebp
call fcn.00504596
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea esi, [esp + 0x48]
mov ecx, esi
push dword [esi - 4]
push eax
call fcn.0053a140
xor eax, eax
mov dword [esi - 0xc], eax
mov dword [esi - 8], eax
jmp 0x597a0f
int3
int3