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

Disassembly:
sub esp, 0x1fc
push ebx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x208]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], eax
mov ecx, dword [ebp + 0x154]
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20c]
push esi
push edi
mov dword [esp + 0x4c], ecx
lea edx, [eax + 0x144]
add eax, 0x104
mov ecx, 0x6a
mov esi, ebp
lea edi, [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x22c]
mov dword [esp + 0x34], edx
rep movsd dword es:[edi], dword [esi]
add eax, 8
lea ecx, [ebp + 0x170]
lea edx, [ebp + 0x54]
mov dword [esp + 0x30], 0xd0
mov dword [esp + 0x10], 5
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x48]
mov esi, edi
push edi
mov eax, dword [edx - 0x15c]
and esi, 1
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], esi
mov ecx, dword [eax - 0x28]
mov dword [esp + 0x8c], ecx
mov ecx, dword [eax - 0x24]
mov dword [esp + 0x90], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xb4], ecx
mov ecx, edi
mov dword [esp + 0xb8], eax
mov eax, dword [ebp + 0xd0]
shr ecx, 1
imul eax, ecx
add eax, esi
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0xb8]
mov esi, dword [esp + 0x14]
shl eax, 3
add ecx, eax
mov dword [esp + 0x120], ecx
mov ecx, dword [ebp + 0xa0]
add ecx, eax
mov dword [esp + 0x108], ecx
mov ecx, dword [ebp + 0xa8]
add ecx, eax
mov dword [esp + 0x110], ecx
mov ecx, dword [ebp + 0xa4]
add ecx, eax
mov dword [esp + 0x10c], ecx
mov ecx, dword [ebp + 0xac]
add ecx, eax
mov eax, 1
mov dword [esp + 0x114], ecx
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp + 0x164]
mov dword [esp + 0x54], eax
and eax, ecx
neg eax
sbb eax, eax
mov ecx, dword [edx + 0x1c]
neg eax
mov dword [esp + 0x1c8], eax
mov eax, dword [edx]
mov dword [esp + 0x1d8], eax
mov eax, dword [ebp + 0xd8]
test eax, eax
mov dword [esp + 0x1f4], ecx
je 0x5e7ab8
mov edx, dword [esp + 0x224]
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x234]
push edx
mov edx, dword [esp + 0x22c]
push eax
push ecx
mov ecx, dword [esp + 0x228]
mov eax, dword [edx + 0x10]
push eax
push ecx
call fcn.005da6d0
add esp, 0x18
cmp esi, 5
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], edx
je 0x5e7b63
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xb4]
sub esi, eax
mov ebx, edx
mov eax, esi
sub edi, ebx
mov ebx, dword [esp + 0x138]
cdq
xor eax, edx
lea ecx, [ebx - 1]
sub eax, edx
neg eax
sar eax, cl
lea ecx, [ebx - 1]
mov dword [esp + 0x14], eax
mov eax, edi
cdq
xor eax, edx
sub eax, edx
neg eax
sar eax, cl
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx*4 + 0x6b8890]
add edx, dword [eax*4 + 0x6b8890]
neg esi
sbb esi, esi
and esi, ebx
add edx, esi
neg edi
sbb edi, edi
and edi, ebx
lea eax, [edx + edi - 2]
mov dword [esp + 0x5c], eax
jmp 0x5e7b6a
mov ecx, dword [esp + 0x224]
mov edx, dword [esp + 0x220]
mov eax, dword [esp + 0x234]
push ecx
mov ecx, dword [esp + 0x22c]
push edx
push eax
mov eax, dword [esp + 0x228]
mov edx, dword [ecx + 0x10]
push edx
push eax
call fcn.005da220
add esp, 0x18
cmp esi, 5
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], edx
je 0x5e7b63
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
sub esi, eax
mov ebx, edx
mov eax, esi
sub edi, ebx
mov ebx, dword [esp + 0x138]
cdq
xor eax, edx
lea ecx, [ebx - 1]
sub eax, edx
neg eax
sar eax, cl
lea ecx, [ebx - 1]
mov dword [esp + 0x14], eax
mov eax, edi
cdq
xor eax, edx
sub eax, edx
neg eax
sar eax, cl
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx*4 + 0x6b8890]
add ecx, dword [eax*4 + 0x6b8890]
neg esi
sbb esi, esi
and esi, ebx
add ecx, esi
neg edi
sbb edi, edi
and edi, ebx
lea edx, [ecx + edi - 2]
mov dword [esp + 0x5c], edx
jmp 0x5e7b6a
mov ebx, dword [esp + 0x138]
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x224]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x220]
lea esi, [eax + 1]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x21c]
mov dword [esp + 0x58], edx
lea edx, [eax + ecx*2]
lea ecx, [ebx + 4]
mov eax, 1
mov dword [esp + 0x60], edx
shl eax, cl
mov ecx, esi
lea edi, [eax - 1]
neg eax
mov dword [esp + 0x1c], eax
lea eax, [edx*8]
mov edx, dword [esp + 0x224]
mov edx, dword [edx]
sub edx, eax
shl edx, cl
cmp edi, edx
jge 0x5e7bd5
mov edx, edi
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x14]
shl ecx, 3
mov dword [esp + 0x28], ecx
sub edx, ecx
mov ecx, esi
shl edx, cl
cmp edi, edx
jge 0x5e7bf4
mov edx, edi
mov dword [esp + 0x6c], edx
mov edi, dword [esp + 0x1c]
mov edx, 0xfffffff8
mov ecx, esi
sub edx, eax
shl edx, cl
cmp edi, edx
jle 0x5e7c0d
mov edx, edi
mov ecx, dword [esp + 0x28]
mov eax, 0xfffffff8
sub eax, ecx
mov ecx, esi
shl eax, cl
mov dword [esp + 0x68], edx
cmp edi, eax
jle 0x5e7c26
mov eax, edi
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x74]
shl edx, 4
add ecx, edx
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
test edx, edx
mov dword [esp + 0x140], edx
lea ecx, [esp + 0xb0]
jne 0x5e7c5b
lea ecx, [esp + 0x88]
mov esi, dword [esp + 0x54]
mov edi, dword [ecx]
mov eax, dword [esi]
cmp edi, eax
jne 0x5e7c71
mov ecx, dword [ecx + 4]
mov edi, dword [esi + 4]
cmp ecx, edi
je 0x5e7c9a
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x64]
push 0xff
push edx
mov edx, dword [ecx + 4]
push edx
push eax
call fcn.005e8670
mov ebx, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
add esp, 0x10
test edx, edx
je 0x5e7f58
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x74]
cdq
sub eax, edx
mov dword [esp + 0x14], ecx
mov edi, eax
mov eax, ecx
mov ecx, dword [esp + 0x228]
mov dword [esp + 0x28], esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x8c], eax
mov eax, ecx
sar edi, 1
and eax, 0x8000
mov dword [esp + 0x88], edi
mov dword [esp + 0x2c], eax
jne 0x5e7d05
test ch, 8
je 0x5e7efc
test ecx, 0x40000
je 0x5e7efc
mov eax, dword [esp + 0x224]
lea ecx, [ebx + 3]
mov dword [esp + 0x140], 0
mov edx, dword [eax + 4]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x60]
lea esi, [eax - 1]
neg eax
mov dword [esp + 0x40], eax
lea eax, [ecx*8]
mov ecx, dword [esp + 0x224]
mov ecx, dword [ecx]
sub ecx, eax
add ecx, ecx
cmp esi, ecx
jge 0x5e7d4b
mov ecx, esi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x64], ecx
shl eax, 3
sub edx, eax
add edx, edx
cmp esi, edx
jge 0x5e7d60
mov edx, esi
mov esi, dword [esp + 0x60]
or ecx, 0xffffffff
sub ecx, esi
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x40]
shl ecx, 4
cmp edx, ecx
jle 0x5e7d7a
mov ecx, edx
mov dword [esp + 0x68], ecx
mov ecx, 0xfffffff8
sub ecx, eax
add ecx, ecx
cmp edx, ecx
jle 0x5e7d8d
mov ecx, edx
mov al, byte [esp + 0xb0]
mov dword [esp + 0x70], ecx
test al, 1
jne 0x5e7da6
test byte [esp + 0xb4], 1
je 0x5e7dcf
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x64]
push 0xff
push ecx
push edx
push edi
call fcn.005e8670
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x148]
add esp, 0x10
mov eax, dword [esp + 0x228]
test ah, 8
je 0x5e7e09
test eax, 0x40000
je 0x5e7e09
push fcn.005e8670
lea eax, [esp + 0x68]
push 0xff
push eax
push edi
push edi
call fcn.005db3f0
mov edi, dword [esp + 0x9c]
mov ebx, dword [esp + 0x14c]
add esp, 0x14
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5e7e3b
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
push 0
lea ecx, [esp + 0x68]
push fcn.005e8670
push ecx
push edx
push eax
call fcn.005db5c0
mov edi, dword [esp + 0x9c]
mov ebx, dword [esp + 0x14c]
add esp, 0x14
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x5e7e6d
mov edx, dword [esp + 0x8c]
add edi, edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0x1c], edi
lea eax, [edx + edx]
mov dword [esp + 0x28], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x224]
mov eax, 1
lea ecx, [ebx + 4]
mov ebx, dword [esp + 0x60]
mov edx, dword [edi + 4]
mov dword [esp + 0x140], eax
shl eax, cl
lea ecx, [ebx*8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi]
mov edi, dword [esp + 0x2c]
sub ecx, edi
lea esi, [eax - 1]
shl ecx, 2
neg eax
cmp esi, ecx
jge 0x5e7ead
mov ecx, esi
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x58]
lea edi, [ecx*8]
sub edx, edi
shl edx, 2
cmp esi, edx
jl 0x5e7ec7
mov esi, edx
or ecx, 0xffffffff
mov dword [esp + 0x6c], esi
sub ecx, ebx
shl ecx, 5
cmp eax, ecx
jle 0x5e7ed9
mov ecx, eax
mov dword [esp + 0x68], ecx
mov ecx, 0xfffffff8
sub ecx, edi
shl ecx, 2
cmp eax, ecx
jg 0x5e7eed
mov eax, ecx
mov ecx, dword [esp + 0x228]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x70], eax
test ecx, 0x20000
je 0x5e7f37
push 0
push fcn.005e8670
test ecx, 0x20000000
je 0x5e7f22
lea edx, [esp + 0x6c]
push edx
call fcn.005db660
add esp, 0xc
jmp 0x5e7f37
mov ecx, dword [ebp + 0x50]
mov edx, dword [ebp + 0x4c]
lea eax, [esp + 0x6c]
push eax
push ecx
push edx
call fcn.005db5c0
add esp, 0x14
cmp esi, dword [ebp + 0x10]
jg 0x5e7fb2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], esi
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
jmp 0x5e7fb2
mov eax, dword [esp + 0x228]
test ah, 8
je 0x5e7f92
test eax, 0x40000
je 0x5e7f92
mov eax, dword [esp + 0x88]
push fcn.005e8670
lea edx, [esp + 0x68]
push 0xff
push edx
push eax
push eax
call fcn.005db3f0
mov eax, dword [esp + 0x23c]
add esp, 0x14
test ah, ah
jns 0x5e7fb2
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
push 0
lea eax, [esp + 0x68]
push fcn.005e8670
push eax
push ecx
push edx
call fcn.005db5c0
add esp, 0x14
cmp dword [esp + 0x10], 5
je 0x5e801b
test dword [esp + 0x228], 0x80000
je 0x5e801b
mov eax, dword [ebp + 0xd8]
test eax, eax
lea eax, [esp + 0xb0]
jne 0x5e7fde
lea eax, [esp + 0x88]
mov ecx, dword [eax]
mov edx, dword [esp + 0xfc]
cmp ecx, edx
jne 0x5e7ff9
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x100]
cmp edx, eax
je 0x5e801b
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0xfc]
lea eax, [esp + 0x64]
push 0xff
push eax
push ecx
push edx
call fcn.005e8670
add esp, 0x10
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x74]
mov ecx, dword [ebp + 0x10]
add eax, edi
cmp eax, ecx
mov dword [esp + 0x30], eax
jge 0x5e865e
mov eax, dword [ebp + 0xd8]
mov ebx, dword [esp + 0x100]
test eax, eax
je 0x5e8093
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xfc]
mov esi, dword [esp + 0xb4]
mov edx, eax
sub edx, ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], edx
mov edx, esi
sub edx, ebx
mov dword [ecx + 0x20], eax
mov dword [ecx + 4], edx
mov dword [ecx + 0x24], esi
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 1
add edx, eax
mov eax, esi
mov dword [esp + 0x38], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x44]
sar eax, 1
add edx, eax
mov dword [esp + 0x44], edx
jmp 0x5e80d1
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0xfc]
mov ecx, edx
sub ecx, eax
mov eax, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov esi, ecx
sub esi, ebx
mov dword [eax + 4], esi
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
add esi, edx
add eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov dword [ecx - 0x100], eax
mov eax, dword [esp + 0x34]
mov dword [ecx - 0x104], edx
lea edx, [edi*4]
mov dword [eax], edx
mov eax, dword [esp + 0x1c4]
test eax, eax
je 0x5e8111
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
or eax, edx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
mov esi, 4
inc eax
add edx, esi
add ebx, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x54]
mov edx, 8
add edi, edx
add ebx, edx
add ecx, edx
mov edx, dword [esp + 0x10]
dec edx
cmp eax, esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
jb 0x5e7917
mov eax, dword [esp + 0x24]
mov ecx, 0x6b31e4
shr eax, 2
shl eax, 3
mov edi, dword [esp + 0x30]
sub ecx, eax
xor edx, edx
mov esi, dword [ebp + 0xd0]
mov dl, byte [ecx]
mov ecx, dword [esp + 0x38]
sub edx, 2
mov eax, ecx
shl edx, 4
and eax, 0xf
add edi, edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x30], edi
mov ebx, dword [eax*4 + 0x6b7888]
mov eax, edx
sar ecx, 3
and eax, 0xf
add ecx, ebx
sar edx, 3
mov ebx, dword [eax*4 + 0x6b7888]
mov edi, dword [ebp + 0xc4]
add edx, ebx
mov ebx, ecx
mov eax, edx
and ecx, 1
sar eax, 1
shr esi, 1
mov dword [esp + 0x34], eax
imul eax, esi
add eax, dword [ebp + 0xb0]
and edx, 1
sar ebx, 1
lea ecx, [edx + ecx*2]
add edi, 0x40
add eax, ebx
mov dword [esp + 0x48], ecx
sub ecx, 0
mov dword [esp + 0x3c], ebx
je 0x5e8225
dec ecx
je 0x5e8210
dec ecx
mov ecx, dword [ebp + 0x94]
push ecx
push esi
push eax
push edi
je 0x5e8208
call dword [0x7f1a20]
jmp 0x5e8220
call dword [0x7f1a14]
jmp 0x5e8220
mov ecx, dword [ebp + 0x94]
push ecx
push esi
push eax
push edi
call dword [0x7f1a18]
add esp, 0x10
mov eax, edi
mov ecx, dword [ebp + 0xd0]
mov edx, dword [ebp + 0xbc]
mov esi, dword [esp + 0x4c]
shr ecx, 1
push ecx
push eax
push edx
push esi
call dword [0x7f19d8]
mov eax, dword [ebp + 0x1a4]
mov ecx, dword [ebp + 0x19c]
mov edx, dword [ebp + 0x188]
mov ebx, dword [ebp + 0x15c]
mov edi, dword [ebp + 0x154]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x16c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x180]
mov dword [esp + 0x50], edx
mov edx, dword [ebp + 0x168]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x158]
push esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x2c], eax
add edi, 0x100
call dword [0x7f19a0]
add esp, 0x14
test ebx, ebx
lea ebx, [esi + 0x80]
je 0x5e82c5
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push edx
push esi
push ebx
call dword [0x7f19b0]
jmp 0x5e82d7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push esi
push ebx
call dword [0x7f19c4]
add esp, 0x10
test eax, eax
jle 0x5e8385
mov edx, dword [esp + 0x24]
or edx, 2
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x4c]
push edx
push ebx
call fcn.005c2ee0
shl eax, 4
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
add esp, 8
test eax, eax
je 0x5e831e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push ebx
push edi
call dword [0x7f19b8]
jmp 0x5e8330
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push edx
push eax
push ebx
push edi
call dword [0x7f19bc]
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
je 0x5e8380
push esi
call dword [0x7f1b14]
imul eax, dword [esp + 0x20]
mov edx, 0x8000
add esp, 4
add eax, eax
mov ecx, edx
mov ebx, ecx
imul ebx, ecx
cmp ebx, eax
jbe 0x5e835e
xor ecx, edx
shr edx, 1
je 0x5e8366
or ecx, edx
jmp 0x5e8353
add ecx, 0x30
shr ecx, 6
push ecx
push edi
push esi
call dword [0x7f1b1c]
lea eax, [eax + eax*4]
add esp, 0xc
shr eax, 7
jmp 0x5e83df
push 0x10
push edi
jmp 0x5e83d5
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0
test eax, eax
je 0x5e83ce
push esi
call dword [0x7f1b14]
imul eax, dword [esp + 0x20]
mov edx, 0x8000
add esp, 4
add eax, eax
mov ecx, edx
mov edi, ecx
imul edi, ecx
cmp edi, eax
jbe 0x5e83b8
xor ecx, edx
shr edx, 1
je 0x5e83c0
or ecx, edx
jmp 0x5e83ad
add ecx, 0x30
shr ecx, 6
push ecx
push 0x6b8898
jmp 0x5e836e
push 0x10
push 0x6b8898
push esi
call dword [0x7f1af4]
add esp, 0xc
imul eax, dword [esp + 0x2c]
xor edx, edx
mov edi, dword [esp + 0x20]
div dword [esp + 0x40]
mov ecx, eax
mov eax, dword [esp + 0x30]
add ecx, edi
add eax, ecx
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
mov dword [esp + 0x30], eax
jge 0x5e865e
mov ecx, dword [ebp + 0xd0]
mov eax, dword [esp + 0x34]
shr ecx, 1
imul eax, ecx
mov edx, dword [ebp + 0xb4]
mov edi, dword [ebp + 0xc4]
mov ebx, dword [ebp + 0x94]
add eax, edx
mov edx, dword [esp + 0x3c]
add edi, 0x40
add eax, edx
mov edx, dword [esp + 0x48]
sub edx, 0
je 0x5e8467
push ebx
push ecx
push eax
dec edx
push edi
je 0x5e845c
dec edx
je 0x5e8451
call dword [0x7f1a20]
add esp, 0x10
jmp 0x5e8469
call dword [0x7f1a14]
add esp, 0x10
jmp 0x5e8469
call dword [0x7f1a18]
add esp, 0x10
jmp 0x5e8469
mov edi, eax
mov edx, dword [ebp + 0xd0]
mov eax, dword [ebp + 0xc0]
shr edx, 1
push edx
push edi
push eax
push esi
call dword [0x7f19d8]
mov ecx, dword [ebp + 0x1a4]
mov edx, dword [ebp + 0x1a0]
mov eax, dword [ebp + 0x188]
mov ebx, dword [ebp + 0x15c]
mov edi, dword [ebp + 0x154]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0x16c]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x184]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x168]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x158]
push esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x2c], ecx
add edi, 0x100
call dword [0x7f19a0]
add esp, 0x14
test ebx, ebx
lea ebx, [esi + 0x80]
je 0x5e8505
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push edx
push eax
push esi
push ebx
call dword [0x7f19b0]
jmp 0x5e8517
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push edx
push esi
push ebx
call dword [0x7f19c4]
add esp, 0x10
test eax, eax
jle 0x5e85c5
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
or edx, 1
push eax
push ebx
mov dword [esp + 0x2c], edx
call fcn.005c2ee0
shl eax, 4
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
add esp, 8
test eax, eax
je 0x5e855e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push edx
push ebx
push edi
call dword [0x7f19b8]
jmp 0x5e8570
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push ebx
push edi
call dword [0x7f19bc]
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
je 0x5e85c0
push esi
call dword [0x7f1b14]
imul eax, dword [esp + 0x20]
mov edx, 0x8000
add esp, 4
add eax, eax
mov ecx, edx
mov ebx, ecx
imul ebx, ecx
cmp ebx, eax
jbe 0x5e859e
xor ecx, edx
shr edx, 1
je 0x5e85a6
or ecx, edx
jmp 0x5e8593
add ecx, 0x30
shr ecx, 6
push ecx
push edi
push esi
call dword [0x7f1b1c]
lea eax, [eax + eax*4]
add esp, 0xc
shr eax, 7
jmp 0x5e861f
push 0x10
push edi
jmp 0x5e8615
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0
test eax, eax
je 0x5e860e
push esi
call dword [0x7f1b14]
imul eax, dword [esp + 0x20]
mov edx, 0x8000
add esp, 4
add eax, eax
mov ecx, edx
mov edi, ecx
imul edi, ecx
cmp edi, eax
jbe 0x5e85f8
xor ecx, edx
shr edx, 1
je 0x5e8600
or ecx, edx
jmp 0x5e85ed
add ecx, 0x30
shr ecx, 6
push ecx
push 0x6b8898
jmp 0x5e85ae
push 0x10
push 0x6b8898
push esi
call dword [0x7f1af4]
add esp, 0xc
mov ecx, dword [esp + 0x24]
imul eax, dword [esp + 0x2c]
mov edx, ecx
xor ebx, ebx
and edx, 3
shl edx, 3
or edx, 2
mov bl, byte [edx*8 + 0x772464]
xor edx, edx
div dword [esp + 0x40]
sub ebx, 3
mov dword [ebp + 0x160], ecx
shl ebx, 4
mov edx, eax
mov eax, dword [esp + 0x20]
add eax, ebx
add edx, eax
mov eax, dword [esp + 0x30]
add eax, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret