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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], 0
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
mov eax, dword [0xd41044]
mov dword [esp + 0x3c], eax
xor eax, eax
lea eax, [esp + 0x38]
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.00592ed0
test eax, eax
jne 0x590610
mov eax, dword [esp + 0x3c]
sub eax, dword [0xd41044]
jne 0x59064e
add esp, 0x4c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x3c]
sub eax, dword [0xd41044]
jne 0x59064e
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x6c], ebp
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], eax
mov eax, ebx
mov dword [esp + 0x70], 0
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00591d10
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push esi
push ebx
sub esp, 0x24
mov eax, dword [0xd41044]
mov dword [esp + 0x1c], eax
xor eax, eax
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x590710
mov eax, dword [ebx]
test eax, eax
je 0x590710
mov edx, dword [eax + 0x48]
test edx, edx
je 0x590710
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x5906c0
test byte [ebx + 5], 4
jne 0x5906c0
mov esi, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
xor esi, dword [ebx + 0x68]
xor ecx, dword [ebx + 0x6c]
or ecx, esi
je 0x590740
mov dword [eax + 0x1c], 0xd
mov dword [ebx + 8], 0xffffffff
mov edx, dword [edx + 0x48]
test edx, edx
je 0x590718
mov edx, dword [ebx + 0x49c]
test edx, edx
je 0x5906e0
mov dword [esp + 4], edx
mov edx, dword [eax + 0x34]
mov dword [esp], edx
call dword [eax + 0x2c]
mov eax, dword [ebx]
mov esi, dword [ebx + 8]
mov dword [esp + 4], ebx
mov edx, dword [eax + 0x34]
mov dword [esp], edx
call dword [eax + 0x2c]
xor eax, eax
test esi, esi
sete al
mov edx, dword [esp + 0x1c]
sub edx, dword [0xd41044]
jne 0x590762
add esp, 0x24
pop ebx
pop esi
ret
xor eax, eax
jmp 0x5906f7
mov edx, dword [ebx + 0x498]
mov dword [esp + 4], edx
mov edx, dword [eax + 0x34]
mov dword [esp], edx
call dword [eax + 0x2c]
mov edx, dword [ebx + 0x49c]
mov eax, dword [ebx]
test edx, edx
jne 0x5906d1
jmp 0x5906e0
mov ecx, dword [ebx + 0x58]
cmp dword [ebx + 0x2550], ecx
je 0x5906c0
mov dword [eax + 0x1c], 0xb
mov dword [ebx + 8], 0xffffffff
jmp 0x5906c0
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x70
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ecx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [0xd41044]
mov dword [esp + 0x6c], eax
xor eax, eax
test ecx, ecx
je 0x5909a0
mov ebx, dword [ecx + 0x48]
test ebx, ebx
je 0x5909a0
mov dword [esp + 8], 0x2558
mov dword [esp + 4], 1
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x30], edx
mov dword [esp], eax
call dword [ecx + 0x28]
mov edx, dword [esp + 0x30]
test eax, eax
mov ebx, eax
je 0x590a00
lea eax, [eax + 0x40]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00592370
test eax, eax
je 0x590a10
test byte [ebx + 0x54], 0x61
jne 0x5909c0
mov eax, edi
and eax, 0x400
mov dword [esp + 0x38], eax
jne 0x590816
test word [ebx + 0x56], 0xfff7
jne 0x590b20
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x7c]
lea ecx, [esp + 0x4c]
mov dword [ebx + 4], edi
mov esi, dword [esp + 0x3c]
mov dword [ebx + 8], 0
mov dword [ebx + 0x498], 0
mov dword [ebx + 0x49c], 0
mov dword [ebx + 0x38], eax
mov dword [ebx], esi
mov dword [ebx + 0x2550], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x4a0], 0
mov dword [ebx + 0x3c], edx
mov dword [esp + 0x10], 0x1e
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esi + 0x44]
mov dword [esp], eax
call dword [esi + 0x38]
cmp eax, 0x1e
jne 0x5909e0
cmp dword [esp + 0x4c], 0x4034b50
jne 0x590a30
vmovdqu xmm0, xmmword [ebx + 0x58]
movzx edx, word [esp + 0x66]
movzx eax, word [esp + 0x68]
vmovhps qword [esp + 0x28], xmm0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
lea eax, [edx + eax + 0x1e]
xor edx, edx
add eax, dword [ebx + 0x38]
adc edx, dword [ebx + 0x3c]
mov dword [esp + 0x30], eax
add esi, eax
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x3c]
adc edi, edx
mov dword [esp + 0x34], edx
mov dword [ebx + 0x3c], edx
mov edx, dword [eax + 4]
cmp dword [eax], esi
sbb edx, edi
jb 0x590ad0
mov ecx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x48]
test ecx, ecx
je 0x590a50
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
vpunpckhqdq xmm0, xmm0, xmm0
vmovdqu xmmword [ebx + 0x20], xmm0
add eax, ecx
mov dword [ebx + 0x14], edx
mov edx, dword [esp + 0x38]
mov dword [ebx + 0x498], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x10], eax
test edx, edx
jne 0x5909a2
cmp word [ebx + 0x56], 0
je 0x5909a2
mov dword [ebx + 0x4a4], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 1
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call dword [ecx + 0x28]
mov dword [ebx + 0x49c], eax
test eax, eax
jne 0x5909a2
mov edi, dword [esp + 0x3c]
mov eax, dword [ebx + 0x498]
mov dword [edi + 0x1c], 0x10
test eax, eax
je 0x59098d
mov dword [esp + 4], eax
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov edi, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
nop
xor ebx, ebx
mov eax, dword [esp + 0x6c]
sub eax, dword [0xd41044]
jne 0x590b5a
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0x3c]
mov dword [edi + 0x1c], 5
mov dword [esp + 4], ebx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
jmp 0x5909a0
mov edx, dword [esp + 0x3c]
mov dword [edx + 0x1c], 0x14
mov dword [esp + 4], ebx
mov eax, dword [edx + 0x34]
mov dword [esp], eax
call dword [edx + 0x2c]
jmp 0x5909a0
mov eax, dword [esp + 0x3c]
mov dword [eax + 0x1c], 0x10
jmp 0x5909a0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call dword [ecx + 0x2c]
jmp 0x5909a0
mov edx, dword [esp + 0x3c]
mov dword [edx + 0x1c], 9
mov dword [esp + 4], ebx
mov eax, dword [edx + 0x34]
mov dword [esp], eax
call dword [edx + 0x2c]
jmp 0x5909a0
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x590af0
cmp word [ebx + 0x56], 0
je 0x590af0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
xor edx, edx
mov eax, 0x10000
mov ecx, edx
cmp eax, esi
sbb ecx, edi
cmovae eax, esi
cmovae edx, edi
mov edi, dword [esp + 0x3c]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x28]
mov dword [ebx + 0x498], eax
test eax, eax
je 0x590b3d
mov eax, dword [ebx + 0x60]
mov edx, dword [ebx + 0x64]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], edx
jmp 0x590933
mov dword [eax + 0x1c], 9
mov ecx, eax
mov dword [esp + 4], ebx
mov eax, dword [eax + 0x34]
mov dword [esp], eax
call dword [ecx + 0x2c]
jmp 0x5909a0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], edx
jmp 0x5909a2
mov edi, dword [esp + 0x3c]
mov dword [edi + 0x1c], 4
mov dword [esp + 4], ebx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
jmp 0x5909a0
mov edi, dword [esp + 0x3c]
mov dword [edi + 0x1c], 0x10
mov dword [esp + 4], ebx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
jmp 0x5909a0
call fcn.00401690
nop
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x60
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov eax, dword [0xd41044]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x24], esi
test edi, edi
je 0x590d60
mov eax, dword [edi]
test eax, eax
je 0x590d60
mov edx, dword [eax + 0x48]
test esi, esi
je 0x590d60
test edx, edx
je 0x590d60
mov ebx, dword [edi + 4]
and ebx, 0x400
mov dword [esp + 0x4c], ebx
jne 0x590d88
cmp word [edi + 0x56], 0
je 0x590d88
mov esi, dword [edi + 0x4a0]
jmp 0x590c72
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
sub ebx, eax
cmp ebx, esi
cmova ebx, esi
mov esi, dword [esp + 0x40]
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call sub.msvcrt.dll_memcpy
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov eax, dword [edi + 0x2550]
mov dword [esp], eax
call fcn.0058db30
mov esi, dword [edi + 0x4a0]
mov ecx, dword [edi + 0x6c]
xor edx, edx
mov dword [edi + 0x2550], eax
mov eax, ebx
sub esi, ebx
add eax, dword [edi + 0x30]
adc edx, dword [edi + 0x34]
cmp dword [edi + 0x68], eax
mov dword [edi + 0x4a0], esi
sbb ecx, edx
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], edx
jb 0x590f5d
add dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x4c], ebx
jae 0x590d68
mov eax, dword [edi + 8]
sub eax, 1
cmp eax, 1
ja 0x590d68
mov edx, dword [edi + 0x30]
mov eax, dword [edi + 0x49c]
mov ecx, 0x8000
and edx, 0x7fff
mov dword [esp + 0x48], eax
sub ecx, edx
add eax, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], ecx
test esi, esi
jne 0x590be0
mov eax, dword [edi + 0x28]
mov ebx, dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x28], eax
mov eax, ebx
or eax, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [edi + 0x498]
jne 0x590cd2
mov eax, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x590eb0
mov esi, dword [edi + 0x18]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov eax, ecx
xor ecx, ecx
or eax, ebx
lea eax, [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
setne cl
add edx, esi
add ecx, ecx
mov dword [esp + 4], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
lea eax, [edi + 0x4a4]
mov dword [esp], eax
call fcn.005a4f50
vmovd xmm0, dword [esp + 0x54]
vmovdqu xmm2, xmmword [edi + 0x18]
mov esi, dword [esp + 0x58]
mov dword [edi + 8], eax
vpunpcklqdq xmm0, xmm0, xmm0
vpaddq xmm1, xmm0, xmmword [edi + 0x18]
vpsubq xmm0, xmm2, xmm0
mov dword [edi + 0x4a0], esi
vshufpd xmm0, xmm1, xmm0, 2
vmovdqu xmmword [edi + 0x18], xmm0
test esi, esi
je 0x590c55
jmp 0x590be0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x5c]
sub eax, dword [0xd41044]
jne 0x590f85
mov eax, dword [esp + 0x4c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x30]
mov esi, dword [edi + 0x2c]
xor ebx, ebx
cmp dword [edi + 0x28], ecx
mov edx, dword [edx + 0x48]
sbb esi, ebx
mov esi, ecx
cmovb ebx, dword [edi + 0x2c]
cmovb esi, dword [edi + 0x28]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], esi
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x4c], ebx
test edx, edx
je 0x590e48
mov eax, dword [edi + 0x498]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x4c]
add dword [edi + 0x498], ecx
vmovddup xmm0, qword [esp + 0x40]
test byte [edi + 5], 4
jne 0x590e1b
mov eax, dword [esp + 0x4c]
vmovdqu xmmword [esp + 0x30], xmm0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x2550]
mov dword [esp], eax
call fcn.0058db30
vmovdqu xmm0, xmmword [esp + 0x30]
mov dword [edi + 0x2550], eax
vmovdqu xmm4, xmmword [edi + 0x28]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
add dword [edi + 0x38], eax
vpsubq xmm1, xmm4, xmm0
vpaddq xmm0, xmm0, xmm4
adc dword [edi + 0x3c], edx
vshufpd xmm0, xmm1, xmm0, 2
vmovdqu xmmword [edi + 0x28], xmm0
jmp 0x590d68
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xc], ebx
mov ecx, dword [edi + 0x38]
mov ebx, dword [edi + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov edx, dword [eax + 0x44]
mov dword [esp], edx
call dword [eax + 0x38]
cmp dword [esp + 0x4c], eax
je 0x590f48
mov eax, dword [edi]
test eax, eax
je 0x590e86
mov dword [eax + 0x1c], 0x14
mov dword [edi + 8], 0xffffffff
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0
jmp 0x590ddf
mov ecx, dword [edi + 0x10]
mov ebx, dword [edi + 0x14]
mov eax, dword [esp + 0x28]
cmp ecx, eax
mov eax, ebx
sbb eax, dword [esp + 0x2c]
mov eax, ecx
cmovae ebx, dword [esp + 0x2c]
cmovae eax, dword [esp + 0x28]
mov dword [edi + 0x24], ebx
mov ebx, dword [esp + 0x20]
mov dword [edi + 0x20], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x44]
mov dword [esp], eax
call dword [ebx + 0x38]
mov ecx, dword [edi + 0x20]
mov ebx, dword [edi + 0x24]
xor eax, ecx
or eax, ebx
jne 0x590f76
mov eax, dword [edi + 0x28]
add dword [edi + 0x38], ecx
mov edx, dword [edi + 0x2c]
adc dword [edi + 0x3c], ebx
sub eax, ecx
mov dword [edi + 0x18], 0
mov dword [esp + 0x28], eax
sbb edx, ebx
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x49c]
mov dword [esp + 0x2c], edx
mov dword [edi + 0x2c], edx
mov edx, dword [edi + 0x498]
mov dword [edi + 0x1c], 0
mov dword [esp + 0x48], eax
jmp 0x590cd5
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], eax
jmp 0x590ddf
mov eax, dword [edi]
test eax, eax
je 0x590f6a
mov dword [eax + 0x1c], 0xb
mov dword [edi + 8], 0xffffffff
jmp 0x590d68
mov eax, dword [edi]
test eax, eax
je 0x590f6a
mov dword [eax + 0x1c], 0x14
jmp 0x590f6a
call fcn.00401690
nop
nop
nop
nop
nop
nop