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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x93d814]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x458], eax
jne 0x5bed7d
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x474], eax
push edi
mov edi, dword [esi + 0x1c]
mov dword [ebp - 0x404], edi
test eax, eax
je 0x5bed99
mov eax, dword [esi + 0x60]
jmp 0x5bed9b
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x444], eax
imul eax, eax, 0x160
push ebx
mov dword [ebp - 0x408], ecx
mov ebx, dword [eax + edi + 0x28]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x40c], eax
jmp 0x5bede6
mov ebx, dword [ebp - 0x42c]
jmp 0x5bede6
mov ebx, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x408]
mov eax, dword [ebp - 0x40c]
mov edi, dword [ebp - 0x404]
mov edx, dword [ebp - 0x458]
test edx, edx
je 0x5bee06
movups xmm0, xmmword [edx]
mov dword [ebp - 0x458], 0
movups xmmword [ebp - 0x470], xmm0
jmp 0x5bee2c
push dword [esi + 0x3c]
lea eax, [ebp - 0x470]
push dword [esi + 0x38]
push eax
push esi
call fcn.005c0660
mov ecx, eax
add esp, 0x10
mov eax, edx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 0x40c], eax
test eax, eax
jl 0x5bf574
jg 0x5bee3e
test ecx, ecx
jb 0x5bf574
cmp dword [esi + 0x5c], 3
jl 0x5bee85
lea eax, [ebp - 0x470]
push eax
call fcn.005a2df0
add esp, 4
cmp ebx, eax
je 0x5bee85
lea eax, [ebp - 0x470]
push eax
call fcn.005a2c10
add esp, 4
test eax, eax
je 0x5bee92
cmp dword [ebp + 0x1c], 0
je 0x5bf51a
cmp dword [esi + 0x5c], 4
jl 0x5bee92
push esi
call fcn.005bece0
add esp, 4
jmp 0x5bee92
mov eax, dword [ebp - 0x46c]
cdq
add dword [esi + 0x78], eax
adc dword [esi + 0x7c], edx
cmp dword [esi + 0x5c], 3
jge 0x5bef6f
cmp dword [ebp - 0x474], 0
je 0x5bf07d
lea eax, [ebp - 0x470]
push eax
call fcn.005a2df0
mov edx, dword [esi + 0x18]
add esp, 4
mov ecx, dword [ebp - 0x408]
xor edi, edi
test edx, edx
jle 0x5bedda
mov ecx, dword [ebp - 0x404]
add ecx, 0x28
cmp dword [ecx], eax
je 0x5beee8
inc edi
add ecx, 0x160
cmp edi, edx
jl 0x5beed4
jmp 0x5bedd4
mov ecx, dword [ebp - 0x408]
cmp edi, edx
jge 0x5bedda
mov ebx, eax
mov dword [ebp - 0x444], edi
push eax
lea eax, [esi + 0x88]
mov dword [ebp - 0x42c], ebx
push eax
mov dword [esi + 0x60], edi
call fcn.005a32e0
mov eax, dword [ebp - 0x40c]
add esp, 8
imul ecx, edi, 0x160
mov edi, dword [ebp - 0x404]
mov dword [esi + 0x5c], 3
add ecx, edi
cmp eax, dword [ecx + 0xc]
jg 0x5bef6b
jl 0x5bef44
mov eax, dword [ebp - 0x408]
cmp eax, dword [ecx + 8]
ja 0x5bef6b
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x68], eax
mov eax, dword [ecx + 0x24]
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], 0xffffffff
mov dword [esi + 0x74], 0xffffffff
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x64], eax
mov dword [ebp + 0x20], 1
cmp dword [esi + 0x5c], 3
jne 0x5bef82
push esi
call fcn.005c0d50
add esp, 4
test eax, eax
js 0x5bf587
lea eax, [ebp - 0x470]
push eax
lea eax, [esi + 0x88]
push eax
call fcn.005a2f70
mov ecx, dword [ebp - 0x408]
add esp, 8
cmp dword [esi + 0x5c], 4
mov eax, dword [ebp - 0x40c]
jl 0x5bede6
lea eax, [ebp - 0x400]
push eax
push esi
call fcn.005beb80
mov ebx, eax
add esp, 8
test ebx, ebx
jns 0x5befe0
lea eax, [ebp - 0x400]
push eax
push esi
call fcn.005beb80
add esp, 8
mov ebx, eax
cmp dword [ebp + 0x20], 0
je 0x5bf548
mov edx, dword [esi + 0x21d4]
mov ecx, dword [ebp - 0x408]
mov eax, dword [ebp - 0x40c]
mov dword [ebp - 0x448], edx
test edx, edx
jle 0x5bedc6
lea eax, [edx + 0xf]
shl eax, 5
mov edi, dword [eax + esi]
mov ecx, dword [eax + esi + 4]
mov eax, edx
shl eax, 5
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x454], edi
mov edi, dword [esi + 0x6c]
mov edx, dword [eax + esi + 0x1dc]
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x43c], eax
and eax, edi
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x438], edi
mov edi, dword [ebp - 0x420]
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x450], ecx
mov dword [ebp - 0x440], edx
cmp eax, 0xffffffff
jne 0x5bf24a
test edx, edx
je 0x5bf121
mov dword [esi + 0x21d4], 0
jmp 0x5bedce
mov ebx, dword [ebp - 0x404]
add edi, 0x14c
add ebx, 0x2c
nop dword [eax]
lea eax, [ebp - 0x470]
mov dword [esi + 0x5c], 2
push eax
push 0
push 0
push 0
push edi
push ebx
push esi
call fcn.005bf630
add esp, 0x1c
test eax, eax
js 0x5bf530
lea eax, [ebp - 0x470]
push eax
push dword [ebp - 0x404]
push esi
call fcn.005bfac0
add esp, 0xc
test eax, eax
js 0x5bf587
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x1d8]
mov dword [ebp - 0x42c], edx
mov dword [ecx + 0x28], edx
inc dword [esi + 0x60]
test eax, eax
jg 0x5bf090
cmp dword [esi + 0x21d4], 0
jle 0x5bedce
push esi
call fcn.005c0d50
add esp, 4
mov ecx, 1
test eax, eax
cmovs ecx, eax
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
imul eax, dword [ebp - 0x444], 0x160
mov dword [ebp - 0x410], 0xf00
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x454], edi
mov dword [ebp - 0x41c], ecx
add eax, dword [ebp - 0x404]
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x450], ecx
mov edx, dword [eax + 0x20]
mov esi, edx
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x438], eax
mov eax, edi
and eax, ecx
mov dword [ebp - 0x414], esi
mov dword [ebp - 0x43c], esi
mov esi, dword [ebp - 0x460]
mov dword [ebp - 0x478], edx
cmp eax, 0xffffffff
je 0x5bf1ca
mov eax, ebx
neg eax
push eax
push ecx
lea eax, [ebp - 0x43c]
push edi
push eax
call fcn.005c0ab0
mov eax, dword [ebp - 0x438]
add esp, 0x10
mov edx, dword [ebp - 0x478]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x414], eax
jmp 0x5bf1cc
mov eax, edx
push dword [ebp - 0x44c]
push edx
push dword [ebp - 0x418]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.005c0be0
add esp, 0x14
test eax, eax
jne 0x5bf23b
cmp dword [ebp - 0x430], 0
mov eax, dword [ebp - 0x45c]
mov eax, dword [eax + 0x34]
jl 0x5bf23b
jg 0x5bf20a
cmp dword [ebp - 0x434], 0
jb 0x5bf23b
lea ecx, [eax - 0xf00]
xor eax, eax
test ecx, ecx
cmovns eax, ecx
cdq
mov ecx, eax
cmp dword [ebp - 0x430], edx
jg 0x5bf23b
mov eax, dword [ebp - 0x434]
jl 0x5bf22e
cmp eax, ecx
ja 0x5bf23b
mov ecx, dword [ebp - 0x45c]
mov ecx, dword [ecx + 0x34]
sub ecx, eax
jmp 0x5bf241
mov ecx, dword [ebp - 0x410]
mov dword [esi + 0x64], ecx
mov ecx, dword [ebp - 0x41c]
mov eax, edi
and eax, ecx
cmp eax, 0xffffffff
jne 0x5bf2a5
push ebx
push dword [ebp - 0x418]
lea eax, [ebp - 0x454]
push dword [ebp - 0x414]
push eax
call fcn.005c0ab0
add esp, 0x10
test eax, eax
jns 0x5bf28d
imul eax, dword [ebp - 0x444], 0x160
mov ecx, dword [ebp - 0x404]
mov edi, dword [eax + ecx + 0x18]
mov ecx, dword [eax + ecx + 0x1c]
jmp 0x5bf299
mov ecx, dword [ebp - 0x450]
mov edi, dword [ebp - 0x454]
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x41c], ecx
cmp dword [ebp - 0x440], 0
je 0x5bf410
push dword [ebp - 0x418]
lea eax, [ebp - 0x434]
push dword [ebp - 0x414]
push ecx
push edi
push eax
call fcn.005c0be0
add esp, 0x14
test eax, eax
jne 0x5bf410
mov eax, ebx
cdq
cmp dword [ebp - 0x430], edx
jg 0x5bf410
jl 0x5bf2f4
cmp dword [ebp - 0x434], eax
jae 0x5bf410
mov ebx, dword [ebp - 0x414]
xor edi, edi
mov ecx, dword [ebp - 0x418]
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], ecx
cmp dword [ebp - 0x448], edi
jle 0x5bf4e1
lea eax, [esi + 0x200]
mov dword [ebp - 0x410], eax
nop word [eax + eax]
mov eax, dword [ebp + edi*4 - 0x400]
cdq
mov dword [ebp - 0x44c], eax
sub eax, dword [ebp - 0x434]
mov dword [ebp - 0x440], edx
sbb edx, dword [ebp - 0x430]
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], edx
js 0x5bf3a5
jg 0x5bf364
test eax, eax
je 0x5bf3a5
cmp edx, dword [ebp - 0x440]
jg 0x5bf4e1
jl 0x5bf37e
cmp eax, dword [ebp - 0x44c]
ja 0x5bf4e1
mov ecx, dword [ebp - 0x410]
mov ebx, dword [ebp - 0x420]
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], eax
mov dword [ecx - 4], 1
jmp 0x5bf3cf
push dword [ebp + edi*4 - 0x400]
lea eax, [ebp - 0x428]
push ecx
push ebx
push eax
call fcn.005c0ab0
mov ebx, dword [ebp - 0x428]
add esp, 0x10
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x410]
push eax
push ebx
push dword [ebp - 0x41c]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x434]
push dword [ebp - 0x420]
mov dword [ecx], ebx
push eax
call fcn.005c0be0
add dword [ebp - 0x410], 0x20
inc edi
add esp, 0x14
cmp edi, dword [ebp - 0x448]
jge 0x5bf4e1
mov ecx, dword [ebp - 0x424]
jmp 0x5bf330
mov eax, ebx
neg eax
push eax
push dword [ebp - 0x41c]
lea eax, [ebp - 0x43c]
push edi
push eax
call fcn.005c0ab0
add esp, 0x10
test eax, eax
jns 0x5bf43a
xorps xmm0, xmm0
movlpd qword [ebp - 0x43c], xmm0
xor edi, edi
cmp dword [ebp - 0x448], edi
jle 0x5bf4cd
lea eax, [esi + 0x200]
mov dword [ebp - 0x440], eax
mov esi, eax
mov eax, ebx
neg eax
push eax
push dword [ebp - 0x41c]
lea eax, [ebp - 0x428]
push dword [ebp - 0x420]
push eax
call fcn.005c0ab0
add esp, 0x10
test eax, eax
jns 0x5bf485
xorps xmm0, xmm0
movlpd qword [ebp - 0x428], xmm0
mov eax, dword [ebp + edi*4 - 0x400]
sub ebx, eax
push eax
push dword [ebp - 0x424]
lea eax, [ebp - 0x428]
push dword [ebp - 0x428]
push eax
call fcn.005c0ab0
mov eax, dword [ebp - 0x428]
inc edi
mov dword [esi], eax
add esp, 0x10
mov eax, dword [ebp - 0x424]
mov dword [esi + 4], eax
add esi, 0x20
cmp edi, dword [ebp - 0x448]
jl 0x5bf456
mov esi, dword [ebp - 0x460]
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x43c]
jmp 0x5bf4e7
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x408]
mov dword [esi + 0x68], eax
mov eax, dword [ebp - 0x418]
mov dword [esi + 0x6c], eax
mov eax, dword [ebp - 0x40c]
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], eax
mov dword [esi + 0x21d4], edi
test edi, edi
jg 0x5bf55e
mov ebx, dword [ebp - 0x42c]
jmp 0x5bede0
pop ebx
pop edi
mov eax, 0xfffffffe
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
mov dword [esi + 0x5c], 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
mov eax, 0xfffffffd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
cmp eax, 0xffffffff
jg 0x5bf580
jl 0x5bf585
cmp ecx, 0xffffffff
jb 0x5bf585
mov ecx, 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.005c33e1
mov esp, ebp
pop ebp
ret