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

Disassembly:
sub esp, 0x40
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
push dword [esi + 0x80]
mov dword [esi + 0x2c], ebp
push dword [esi + 0x7c]
mov eax, dword [ebp + 0x10]
push dword [esi + 0x78]
push dword [esi + 0x74]
push 1
push 1
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x68]
push eax
call fcn.005e5870
add esp, 0x2c
mov ecx, dword [eax]
mov dword [esi + 0x94], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0x98], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 0x9c], ecx
lea ecx, [esi + 0x94]
mov eax, dword [eax + 0xc]
mov dword [esi + 0xa0], eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.005c7b00
lea edi, [esi + 0x5c]
xor ebx, ebx
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov byte [edi], 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
cmp dword [esi + 0xbc], ebx
jle 0x5e7073
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0x34]
mov dword [esp + 0x30], ecx
xor esi, esi
nop
mov edi, dword [eax + 0xc0]
push 1
lea eax, [edi + 0x1c]
add eax, esi
push eax
push dword [esi + edi]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005cf490
mov ecx, dword [ebp + 4]
cmp ecx, 1
jle 0x5e6ed5
mov eax, dword [ebp + 0xc]
dec ecx
add eax, ecx
mov dword [esp + 0x40], 0
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], 0
push ecx
push dword [esi + edi]
mov ecx, dword [esp + 0x3c]
push eax
push dword [ebp + 8]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.005cf490
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esi + edi + 0x20]
mov eax, dword [esp + 0x44]
add eax, ecx
mov dword [esi + edi + 0x28], eax
jmp 0x5e6ed9
mov eax, dword [esi + edi + 0x28]
cmp dword [esi + edi + 0x24], 0
mov dword [esi + edi + 0x18], 0
mov dword [esi + edi + 0x14], eax
mov dword [esi + edi + 0x34], 0
mov word [esi + edi + 0x51], 0
mov byte [esi + edi + 0x50], 0
jle 0x5e6fd7
cmp dword [esi + edi + 0x10], 0
jle 0x5e6fd7
mov eax, dword [ebp + 4]
mov dword [esi + edi + 0x34], eax
cmp eax, dword [esi + edi + 0x38]
jle 0x5e6f74
mov ecx, dword [esi + edi + 0x40]
mov dword [esi + edi + 0x38], eax
test ecx, ecx
je 0x5e6f3d
push ecx
call fcn.004b28c1
mov eax, dword [esi + edi + 0x38]
add esp, 4
mov dword [esi + edi + 0x40], 0
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b28b8
xor ecx, ecx
mov dword [esi + edi + 0x40], eax
add esp, 4
cmp dword [esi + edi + 0x38], ecx
jle 0x5e6f74
mov eax, dword [esi + edi + 0x40]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, dword [esi + edi + 0x38]
jl 0x5e6f62
xor ebx, ebx
cmp dword [ebp + 4], ebx
jle 0x5e6fd3
jmp 0x5e6f80
mov eax, dword [ebp + 0x24]
push dword [esi + edi]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp + 0x24]
test al, al
mov edx, dword [esi + edi]
push edx
mov ecx, dword [ecx + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
je 0x5e6fb0
call eax
test al, al
jne 0x5e6fc9
mov byte [esi + edi + 0x52], 1
jmp 0x5e6fc9
call eax
test al, al
jne 0x5e6fbd
mov byte [esi + edi + 0x50], 1
jmp 0x5e6fc9
cmp dword [esi + edi + 4], 0xd
jg 0x5e6fc9
mov byte [esi + edi + 0x51], 1
mov ebp, dword [esp + 0x54]
inc ebx
cmp ebx, dword [ebp + 4]
jl 0x5e6f80
mov ebx, dword [esp + 0x14]
mov dword [esi + edi + 0x44], 0
mov word [esi + edi + 0x4a], 0
mov dword [esi + edi + 0x4c], 0
cmp dword [esi + edi + 0xc], 0
jg 0x5e6ffc
cmp dword [esi + edi + 0x34], 0
jne 0x5e7052
mov edx, dword [esi + edi + 0x28]
mov ebx, dword [esp + 0x18]
mov word [esi + edi + 0x49], 0x300
mov dword [esi + edi + 0x4c], ebx
mov byte [esi + edi + 0x48], 0
lea eax, [edx*2 + 0xf]
and eax, 0xfffffff0
mov dword [esi + edi + 0x44], edx
add dword [ebx + 4], eax
movzx ecx, byte [esi + edi + 0x48]
movzx eax, byte [esi + edi + 0x49]
add ecx, ecx
add eax, edx
add ecx, 0xf
add eax, eax
and ecx, 0xfffffff0
add ecx, dword [ebx + 4]
add eax, 0xf
and eax, 0xfffffff0
add eax, ecx
mov dword [ebx + 4], eax
mov ebx, dword [esp + 0x14]
mov byte [esi + edi + 0x4b], 1
mov eax, dword [esp + 0x10]
inc ebx
add esi, 0x54
mov dword [esp + 0x14], ebx
lea ecx, [eax + 0x34]
cmp ebx, dword [eax + 0xbc]
jl 0x5e6e60
mov edi, dword [esp + 0x18]
mov esi, eax
cmp dword [esi + 0xa8], 0
mov dword [esp + 0x30], 0
jle 0x5e76ce
xor ebx, ebx
lea ebx, [ebx]
mov ebp, dword [esi + 0xb0]
xor al, al
mov cl, 1
mov edx, dword [ebx + ebp]
mov word [ebx + ebp + 0xa1], 1
cmp dword [esi + 0xb4], 0
mov dword [esp + 0x2c], edx
jne 0x5e710c
cmp dword [ebx + ebp + 4], 0
jne 0x5e710c
cmp word [ebx + ebp + 0xa4], 0
jne 0x5e710c
cmp byte [edx + 0x50], al
jne 0x5e710c
cmp byte [edx + 0x51], al
jne 0x5e710c
mov word [ebx + ebp + 0xa1], 0x100
mov eax, dword [ebx + ebp + 0xbc]
cmp eax, dword [ebx + ebp + 0xc4]
jne 0x5e7110
mov eax, dword [ebx + ebp + 0xb8]
cmp eax, dword [ebx + ebp + 0xc0]
jne 0x5e7110
mov al, cl
xor cl, cl
cmp byte [edx + 0x52], cl
jne 0x5e710c
mov byte [ebx + ebp + 0xa2], cl
xor al, al
test al, al
je 0x5e711d
mov dword [ebx + ebp + 0x80], 0
jmp 0x5e714e
test cl, cl
je 0x5e7144
mov eax, dword [ebx + ebp + 0x90]
add eax, 0xd
mov dword [ebx + ebp + 0x80], eax
cmp eax, 0x1d
jle 0x5e714e
mov dword [ebx + ebp + 0x80], 0x1d
jmp 0x5e714e
mov eax, dword [edx + 4]
mov dword [ebx + ebp + 0x80], eax
mov eax, dword [esi + 0x94]
mov edi, dword [esi + 0x98]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xa0]
dec eax
add eax, edi
mov dword [esp + 0x34], eax
mov eax, dword [ebx + ebp + 0xbc]
cdq
mov dword [esp + 0x20], eax
mov eax, dword [ebx + ebp + 0xc4]
mov dword [esp + 0x1c], edx
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [ebx + ebp + 0xdc]
push esi
dec eax
mov dword [esp + 0x18], ecx
cdq
push ecx
push edx
push eax
mov dword [esp + 0x64], esi
call fcn.004b2d70
mov esi, eax
mov ecx, edx
mov eax, dword [ebx + ebp + 0xdc]
add eax, eax
cdq
push edx
push eax
push ecx
push esi
call fcn.004b2940
push dword [esp + 0x1c]
mov ecx, eax
mov esi, edx
mov eax, dword [ebx + ebp + 0xb0]
push dword [esp + 0x24]
cdq
add ecx, eax
mov eax, edi
mov dword [esp + 0x2c], ecx
adc esi, edx
cdq
push edx
push eax
mov dword [esp + 0x38], esi
call fcn.004b2d70
mov esi, eax
sub esi, dword [esp + 0x24]
sbb edx, dword [esp + 0x28]
test edx, edx
jg 0x5e7211
jl 0x5e71f6
test esi, esi
jae 0x5e7211
push dword [esp + 0x54]
not edx
mov eax, esi
push dword [esp + 0x18]
not eax
push edx
push eax
call fcn.004b2940
mov edi, eax
not edi
jmp 0x5e7222
push dword [esp + 0x54]
push dword [esp + 0x18]
push edx
push esi
call fcn.004b2940
mov edi, eax
push dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov ecx, edi
imul ecx, dword [ebx + ebp + 0xc4]
push dword [esp + 0x24]
cdq
push edx
push eax
sub esi, ecx
mov dword [ebx + ebp + 0xcc], esi
call fcn.004b2d70
sub eax, dword [esp + 0x24]
sbb edx, dword [esp + 0x28]
test edx, edx
jg 0x5e7272
jl 0x5e725b
test eax, eax
jae 0x5e7272
push dword [esp + 0x54]
not edx
not eax
push dword [esp + 0x18]
push edx
push eax
call fcn.004b2940
not eax
jmp 0x5e7281
push dword [esp + 0x54]
push dword [esp + 0x18]
push edx
push eax
call fcn.004b2940
mov dword [esp + 0x20], eax
mov eax, dword [ebx + ebp + 0xc0]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [ebx + ebp + 0xd8]
push esi
dec eax
mov dword [esp + 0x28], ecx
cdq
push ecx
push edx
push eax
mov dword [esp + 0x38], esi
call fcn.004b2d70
mov esi, eax
mov ecx, edx
mov eax, dword [ebx + ebp + 0xd8]
add eax, eax
cdq
push edx
push eax
push ecx
push esi
call fcn.004b2940
mov ecx, eax
mov esi, edx
mov eax, dword [ebx + ebp + 0xb8]
imul dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 0x54], eax
mov eax, dword [ebx + ebp + 0xac]
sbb edx, esi
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], edx
mov esi, dword [esp + 0x38]
cdq
sub ecx, eax
mov dword [esp + 0x54], ecx
sbb esi, edx
test esi, esi
jg 0x5e731a
jl 0x5e72ff
test ecx, ecx
jae 0x5e731a
push dword [esp + 0x28]
mov eax, ecx
not esi
push dword [esp + 0x28]
not eax
push esi
push eax
call fcn.004b2940
mov esi, eax
not esi
jmp 0x5e732b
push dword [esp + 0x28]
push dword [esp + 0x28]
push esi
push ecx
call fcn.004b2940
mov esi, eax
mov edx, dword [ebx + ebp + 0xc0]
mov ecx, esi
mov eax, dword [esp + 0x54]
imul ecx, edx
mov dword [ebx + ebp + 0x84], 0
sub eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [ebx + ebp + 0xc8], eax
sub ecx, edi
mov eax, dword [esp + 0x10]
inc ecx
mov dword [ebx + ebp + 0x88], ecx
mov eax, dword [eax + 0xa0]
mov dword [ebx + ebp + 0x8c], eax
mov eax, dword [ebx + ebp + 0xbc]
cmp eax, dword [ebx + ebp + 0xc4]
je 0x5e7396
lea eax, [ecx + 5]
mov dword [ebx + ebp + 0x84], 0xfffffffe
add edi, 0xfffffffe
mov dword [ebx + ebp + 0x88], eax
cmp dword [ebx + ebp + 0xb8], edx
je 0x5e73a2
add esi, 0xfffffffe
mov ecx, dword [ebx + ebp + 0xdc]
mov edx, dword [esp + 0x2c]
imul ecx, edi
mov edi, dword [ebx + ebp + 0xd8]
mov eax, dword [edx + 0x20]
sub eax, ecx
mov ecx, edi
mov dword [ebx + ebp + 0xe4], eax
mov eax, dword [edx + 0x1c]
imul ecx, esi
mov dword [ebx + ebp + 0xe8], edi
mov dword [ebx + ebp + 0xb4], 0
mov dword [ebx + ebp + 0x28], 0
mov dword [ebx + ebp + 0xc], 0
sub eax, ecx
mov dword [ebx + ebp + 8], 0
mov dword [ebx + ebp + 0xe0], eax
xor eax, eax
mov dword [ebx + ebp + 0x10], eax
mov dword [ebx + ebp + 0x14], eax
mov dword [ebx + ebp + 0x18], eax
mov dword [ebx + ebp + 0x1c], eax
mov dword [ebx + ebp + 0x20], eax
mov dword [ebx + ebp + 0x24], eax
mov esi, dword [ebx + ebp + 0x88]
mov edx, dword [ebx + ebp + 0x84]
add esi, edx
mov ecx, dword [ebx + ebp + 0xc4]
neg edx
mov edi, edx
mov dword [ebx + ebp + 0x98], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x3c], edx
cmp dword [ebx + ebp + 0xbc], ecx
je 0x5e7470
cmp byte [ebx + ebp + 0xa2], al
je 0x5e7464
lea eax, [esi + 9]
lea ecx, [edx + 3]
mov dword [esp + 0x54], eax
jmp 0x5e7474
lea eax, [esi + 0x15]
lea ecx, [edx + 7]
mov dword [esp + 0x54], eax
jmp 0x5e7474
mov ecx, dword [esp + 0x3c]
cmp dword [ebx + ebp + 0x80], 0xd
mov eax, edi
jle 0x5e7493
cmp byte [ebx + ebp + 0xa1], 0
je 0x5e7493
add esi, esi
sub esi, dword [ebx + ebp + 0x84]
mov edx, dword [ebx + ebp + 0x8c]
cmp esi, edx
jge 0x5e74a0
mov esi, edx
cmp eax, ecx
jge 0x5e74aa
mov dword [esp + 0x28], ecx
mov al, cl
mov ecx, dword [esp + 0x54]
cmp esi, ecx
jge 0x5e74b4
mov esi, ecx
mov dword [ebx + ebp + 0x2c], 0
lea edx, [ebp + 0x30]
mov dword [ebx + ebp + 0x38], 0
mov edi, dword [esp + 0x18]
mov word [ebx + ebp + 0x32], 0
mov dword [ebx + ebp + 0x34], 0
mov word [ebx + ebp + 0x3e], 0
mov dword [ebx + ebp + 0x40], 0
mov dword [ebx + ebp + 0x44], 0
mov word [ebx + ebp + 0x4a], 0
mov dword [ebx + ebp + 0x4c], 0
mov dword [ebx + ebp + 0x50], 0
mov word [ebx + ebp + 0x56], 0
mov dword [ebx + ebp + 0x58], 0
mov dword [ebx + ebp + 0x5c], 0
mov word [ebx + ebp + 0x62], 0
mov dword [ebx + ebp + 0x64], 0
mov dword [ebx + ebp + 0x68], 0
mov word [ebx + ebp + 0x6e], 0
movzx eax, al
mov dword [ebx + ebp + 0x70], 0
mov dword [ebx + ebp + 0x74], 0
mov dword [esp + 0x38], eax
add eax, eax
mov word [ebx + ebp + 0x7a], 0
add edx, ebx
mov dword [ebx + ebp + 0x7c], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], 7
mov cl, byte [ebx + ebp + 0xa1]
mov byte [esp + 0x54], cl
test cl, cl
jne 0x5e758f
cmp byte [ebx + ebp + 0xa2], cl
jne 0x5e758f
mov ah, 1
jmp 0x5e7591
xor ah, ah
mov al, cl
mov dword [edx + 4], edi
neg al
mov dword [edx - 4], esi
lea edi, [esi + esi]
mov byte [edx + 1], 0
sbb al, al
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x18]
and al, 2
or al, ah
mov byte [edx + 2], al
mov eax, dword [esp + 0x28]
mov byte [edx], al
mov eax, dword [esp + 0x3c]
test cl, cl
jne 0x5e75d3
mov eax, dword [esp + 0x38]
lea ecx, [esi*4]
shl eax, 2
mov dword [esp + 0x24], ecx
lea ecx, [eax + 0xf]
mov eax, dword [esp + 0x24]
add eax, 0xf
and ecx, 0xfffffff0
and eax, 0xfffffff0
add ecx, eax
mov eax, dword [edi + 4]
add eax, ecx
mov dword [esp + 0x1c], eax
mov dword [edi + 4], eax
movzx eax, byte [edx]
mov dword [esp + 0x34], eax
lea ecx, [eax + eax]
movzx eax, byte [edx + 1]
add eax, esi
mov dword [esp + 0x24], eax
add eax, eax
cmp byte [esp + 0x54], 0
jne 0x5e761c
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
shl ecx, 2
shl eax, 2
add ecx, 0xf
add eax, 0xf
and ecx, 0xfffffff0
and eax, 0xfffffff0
add ecx, dword [esp + 0x1c]
add eax, ecx
mov dword [edi + 4], eax
mov byte [edx + 3], 1
add edx, 0xc
sub dword [esp + 0x20], 1
jne 0x5e7573
cmp dword [ebx + ebp + 4], 0
jne 0x5e76a6
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x34], 1
jne 0x5e76a6
cmp dword [ebx + ebp + 0xe4], 0
jne 0x5e76a6
mov eax, dword [ebx + ebp + 0xbc]
cmp eax, dword [ebx + ebp + 0xc4]
jne 0x5e76a6
mov eax, dword [ebx + ebp + 0xb8]
cmp eax, dword [ebx + ebp + 0xc0]
jne 0x5e76a6
mov eax, dword [ebx + ebp + 0x8c]
cmp eax, dword [ecx + 0x28]
jg 0x5e76a6
mov al, byte [ebx + ebp + 0xa1]
cmp al, byte [ecx + 0x50]
jne 0x5e76a6
mov al, byte [ebx + ebp + 0xa2]
cmp al, byte [ecx + 0x52]
jne 0x5e76a6
mov al, 1
jmp 0x5e76a8
xor al, al
mov esi, dword [esp + 0x10]
mov byte [ebx + ebp + 0x94], al
add ebx, 0x76d0
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esi + 0xa8]
jl 0x5e7090
mov eax, dword [edi + 4]
mov byte [edi], 0
cmp eax, dword [edi + 0xc]
jle 0x5e770b
mov ecx, dword [edi + 0x14]
mov dword [edi + 0xc], eax
test ecx, ecx
je 0x5e76ef
push ecx
call fcn.004b28c1
mov eax, dword [edi + 0xc]
add esp, 4
add eax, 0x18
push eax
call fcn.004b28b8
add esp, 4
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
test al, 8
je 0x5e770b
add eax, 8
mov dword [edi + 0x10], eax
xor ebp, ebp
cmp dword [esi + 0xbc], ebp
jle 0x5e77f3
xor ebx, ebx
mov dword [esp + 0x54], ebx
nop
mov edi, dword [esi + 0xc0]
add edi, ebx
cmp dword [edi + 0xc], 0
jg 0x5e7738
cmp dword [edi + 0x34], 0
jne 0x5e77df
cmp byte [edi + 0x4b], 0
je 0x5e77a0
test byte [edi + 0x4a], 2
mov ebx, dword [edi + 0x4c]
movzx esi, byte [edi + 0x48]
movzx ecx, byte [edi + 0x49]
mov eax, dword [edi + 0x44]
mov byte [edi + 0x4b], 0
mov edx, dword [ebx + 8]
je 0x5e7777
add eax, 7
add esi, 7
add eax, ecx
and esi, 0xfffffff8
and eax, 0xfffffff8
add eax, esi
lea eax, [edx + eax*2]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x10]
lea eax, [eax + esi*2]
jmp 0x5e7793
add eax, 3
add esi, 3
add eax, ecx
and esi, 0xfffffffc
and eax, 0xfffffffc
add eax, esi
lea eax, [edx + eax*4]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x10]
lea eax, [eax + esi*4]
mov ebx, dword [esp + 0x54]
add eax, edx
mov esi, dword [esp + 0x10]
mov dword [edi + 0x4c], eax
cmp dword [edi + 0x24], 0
jne 0x5e77df
mov ah, byte [edi + 0x4a]
mov ecx, dword [edi + 0x44]
mov al, ah
and al, 2
jne 0x5e77c5
mov edx, dword [edi + 0x4c]
test edx, edx
je 0x5e77c5
test ecx, ecx
je 0x5e77df
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
jmp 0x5e77df
test al, al
je 0x5e77ce
mov edi, dword [edi + 0x4c]
jmp 0x5e77d0
xor edi, edi
test ecx, ecx
je 0x5e77df
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
inc ebp
add ebx, 0x54
mov dword [esp + 0x54], ebx
cmp ebp, dword [esi + 0xbc]
jl 0x5e7720
mov eax, dword [esi + 0xa8]
mov dword [esp + 0x30], 0
test eax, eax
jle 0x5e7919
xor edx, edx
mov dword [esp + 0x2c], edx
nop
mov ebp, dword [esi + 0xb0]
add ebp, edx
mov edx, 7
mov dword [esp + 0x54], edx
lea ebx, [ebp + 0x33]
cmp byte [ebx], 0
je 0x5e7886
test byte [ebx - 1], 2
mov edi, dword [ebx + 1]
movzx esi, byte [ebx - 3]
movzx ecx, byte [ebx - 2]
mov eax, dword [ebx - 7]
mov byte [ebx], 0
mov edx, dword [edi + 8]
je 0x5e7861
add eax, 7
add esi, 7
add eax, ecx
and esi, 0xfffffff8
and eax, 0xfffffff8
add eax, esi
lea eax, [edx + eax*2]
mov dword [edi + 8], eax
mov eax, dword [edi + 0x10]
lea eax, [eax + esi*2]
jmp 0x5e787d
add eax, 3
add esi, 3
add eax, ecx
and esi, 0xfffffffc
and eax, 0xfffffffc
add eax, esi
lea eax, [edx + eax*4]
mov dword [edi + 8], eax
mov eax, dword [edi + 0x10]
lea eax, [eax + esi*4]
add eax, edx
mov edx, dword [esp + 0x54]
mov dword [ebx + 1], eax
cmp byte [ebp + 0xa2], 0
je 0x5e78e0
mov eax, dword [ebp + 0xbc]
cmp eax, dword [ebp + 0xc4]
jne 0x5e78ab
mov eax, dword [ebp + 0xb8]
cmp eax, dword [ebp + 0xc0]
je 0x5e78e0
test byte [ebx - 1], 2
je 0x5e78b5
xor edi, edi
jmp 0x5e78b8
mov edi, dword [ebx + 1]
mov ecx, dword [ebx - 7]
mov eax, ecx
neg eax
and eax, 3
add ecx, eax
mov eax, dword [ebp + 0xbc]
cmp eax, dword [ebp + 0xc4]
je 0x5e78d8
sub edi, 0x18
add ecx, 6
test ecx, ecx
jle 0x5e78e0
xor eax, eax
rep stosd dword es:[edi], eax
add ebx, 0xc
sub edx, 1
mov dword [esp + 0x54], edx
jne 0x5e7824
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
inc ecx
add edx, 0x76d0
mov dword [esp + 0x30], ecx
mov eax, dword [esi + 0xa8]
mov dword [esp + 0x2c], edx
cmp ecx, eax
jl 0x5e7810
xor ecx, ecx
mov dword [esp + 0x54], ecx
test eax, eax
jle 0x5e7a7f
xor edx, edx
mov dword [esp + 0x18], edx
lea ecx, [ecx]
mov edi, dword [esi + 0xb0]
add edi, edx
mov eax, dword [edi + 0xbc]
cmp eax, dword [edi + 0xc4]
je 0x5e79ca
lea ecx, [edi + 0x3e68]
mov dword [esp + 0x30], 0x41
lea ebx, [edi + 0xec]
lea ebp, [edi + 0x4fc]
movzx esi, word [ebp]
xor eax, eax
cmp byte [edi + 0xa2], al
push esi
sete al
add eax, 3
push eax
call fcn.005e5c70
mov dword [ebx + 0x208], eax
lea ebp, [ebp + 2]
movzx ecx, byte [edi + 0xa2]
lea eax, [esi*8]
neg ecx
lea ebx, [ebx + 4]
sbb ecx, ecx
sub eax, esi
and ecx, 0xfffff8c8
add ecx, 0x45a8
add ecx, edi
sub dword [esp + 0x30], 1
lea eax, [ecx + eax*8]
mov dword [ebx - 4], eax
lea ecx, [edi + 0x3e68]
jne 0x5e7964
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0xb8]
cmp eax, dword [edi + 0xc0]
je 0x5e7a64
lea ecx, [edi + 0x600]
mov dword [esp + 0x30], 0x41
lea ebx, [edi + 0x1f0]
lea ebp, [edi + 0x57e]
jmp 0x5e7a00
movzx esi, word [ebp]
xor eax, eax
cmp byte [edi + 0xa2], al
push esi
sete al
inc eax
push eax
call fcn.005e5c70
mov dword [ebx + 0x208], eax
lea ebp, [ebp + 2]
movzx ecx, byte [edi + 0xa2]
lea eax, [esi*8]
neg ecx
lea ebx, [ebx + 4]
sbb ecx, ecx
sub eax, esi
and ecx, 0xfffff8c8
add ecx, 0xd40
add ecx, edi
sub dword [esp + 0x30], 1
lea eax, [ecx + eax*8]
mov dword [ebx - 4], eax
lea ecx, [edi + 0x600]
jne 0x5e7a00
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
inc ecx
add edx, 0x76d0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x18], edx
cmp ecx, dword [esi + 0xa8]
jl 0x5e7930
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x14