Function at 0x5e3264
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x38], edx
push esi
push edi
push 8
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xac], ebx
mov edi, ecx
mov dword [ebp - 0x24], ebx
push ebx
push eax
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x30], ebx
call fcn.005fab50
mov eax, dword [edi]
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp dword [edi + 0x24], ebx
jne 0x5e4080
cmp byte [eax + 0x45], bl
jne 0x5e4080
mov edx, dword [ebp - 0x38]
mov ecx, edi
call fcn.005d22ff
mov esi, eax
mov dword [ebp - 0x8c], esi
test esi, esi
je 0x5e4080
mov edx, dword [esi + 0x48]
mov ecx, dword [edi]
call fcn.005dbc8a
mov dword [ebp - 0x74], eax
mov edx, esi
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
push dword [ebp + 8]
push 0x6e
call fcn.005e2c62
mov dword [ebp - 0x3c], eax
add esp, 0xc
xor eax, eax
mov edx, esi
cmp dword [esi + 0xc], ebx
mov ecx, edi
setne al
mov dword [ebp - 0x64], eax
call fcn.005cf7c3
test eax, eax
jne 0x5e4080
push dword [ebp - 0x58]
mov edx, esi
mov ecx, edi
call fcn.005d233c
pop ecx
test eax, eax
jne 0x5e4080
mov ebx, dword [edi + 0x28]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x80], ebx
mov dword [eax + 0x38], ebx
lea eax, [ebx + 1]
inc dword [edi + 0x28]
test byte [esi + 0x24], 0x20
mov edx, dword [edi + 0x28]
mov dword [ebp - 0x84], eax
jne 0x5e337f
and dword [ebp - 0x18], 0
jmp 0x5e3389
mov ecx, esi
call fcn.005ce23e
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
test ecx, ecx
je 0x5e33c6
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
jne 0x5e33af
cmp dword [ebp - 0x18], 0
je 0x5e33af
mov eax, dword [ebp - 0x38]
mov esi, edx
mov dword [ebp - 0x14], esi
mov dword [eax + 0x38], esi
inc dword [edi + 0x28]
inc ebx
mov ecx, dword [ecx + 0x14]
mov edx, dword [edi + 0x28]
test ecx, ecx
jne 0x5e3395
mov esi, dword [ebp - 0x8c]
mov dword [ebp - 0x50], ebx
movsx eax, word [esi + 0x2a]
mov ecx, dword [ebp - 0x54]
add eax, ebx
push 0
lea eax, [eax*4 + 2]
add eax, ebx
push eax
call fcn.005a2627
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x5e4080
movsx eax, word [esi + 0x2a]
lea eax, [ecx + eax*4]
lea ecx, [eax + ebx*4]
mov dword [ebp - 0x90], eax
lea eax, [ebx + 1]
mov dword [ebp - 0x10], ecx
push eax
xor eax, eax
inc eax
push eax
push ecx
call fcn.005fab50
mov eax, dword [ebp - 0x10]
add esp, 0xc
xor ecx, ecx
mov byte [eax + ebx + 1], 0
xor eax, eax
cmp ax, word [esi + 0x2a]
jge 0x5e343b
mov edi, dword [ebp - 0x24]
or dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x5e3428
mov edi, dword [ebp - 0x94]
push 0x20
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.005fab50
mov ecx, dword [ebp + 8]
xor al, al
and dword [ebp - 0xc], 0
add esp, 0xc
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0xd4], edi
cmp dword [ecx], 0
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0x68], eax
mov byte [ebp - 5], al
jle 0x5e35af
lea eax, [ecx + 8]
mov dword [ebp - 0x28], eax
mov edx, dword [eax]
lea ecx, [ebp - 0xd4]
call fcn.005c66c2
test eax, eax
jne 0x5e4080
movsx eax, word [esi + 0x2a]
xor ebx, ebx
test eax, eax
jle 0x5e350e
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x60], eax
mov edx, ecx
mov ecx, dword [eax]
call fcn.005a45fe
test eax, eax
je 0x5e34cd
mov eax, dword [ebp - 0x60]
inc ebx
movsx ecx, word [esi + 0x2a]
add eax, 0x10
cmp ebx, ecx
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x2c]
jl 0x5e34a9
jmp 0x5e350e
movsx eax, word [esi + 0x28]
cmp ebx, eax
jne 0x5e34e5
xor eax, eax
inc eax
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
jmp 0x5e3505
cmp dword [ebp - 0x18], 0
je 0x5e3505
mov ecx, dword [esi + 4]
mov eax, ebx
add eax, eax
xor edx, edx
inc edx
test byte [ecx + eax*8 + 0xf], dl
mov eax, dword [ebp - 0x68]
movzx eax, al
cmovne eax, edx
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov dword [ecx + ebx*4], eax
movsx eax, word [esi + 0x2a]
cmp ebx, eax
jl 0x5e3544
cmp dword [ebp - 0x18], 0
jne 0x5e35c5
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
call fcn.005c8201
test eax, eax
je 0x5e35c5
xor eax, eax
or ebx, 0xffffffff
inc eax
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
test ebx, ebx
jns 0x5e354f
mov edx, 0x4ab64c
jmp 0x5e3559
mov eax, dword [esi + 4]
mov ecx, ebx
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x74]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, edi
push edx
push dword [esi]
push 0x17
pop edx
call fcn.005cd74f
xor ecx, ecx
add esp, 0xc
inc ecx
cmp eax, ecx
je 0x5e4080
cmp eax, 2
jne 0x5e358e
mov eax, dword [ebp - 0x24]
or dword [eax + ebx*4], 0xffffffff
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
inc ebx
mov eax, dword [ebp - 0x28]
add eax, 0x18
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x28], eax
cmp ebx, dword [ecx]
jl 0x5e347b
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x38]
mov bl, al
add bl, byte [ebp - 5]
cmp dword [esi + 0x38], 0
mov byte [ebp - 0x28], bl
je 0x5e35e9
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x5e35f7
imul eax, dword [ebp - 0xc], 0x18
mov ecx, dword [ebp + 8]
push dword [eax + ecx + 0xc]
push 0x4adb90
push edi
call fcn.005a4527
xor eax, eax
add esp, 0xc
inc eax
mov byte [edi + 0x11], al
jmp 0x5e4080
xorps xmm0, xmm0
movlpd qword [ebp - 0x7c], xmm0
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
mov dword [edx + 0x48], eax
movzx eax, bl
push eax
push dword [ebp - 0x24]
mov dword [edx + 0x4c], ecx
mov edx, esi
mov ecx, edi
mov dword [ebp - 0x60], eax
call fcn.005d5bca
pop ecx
pop ecx
mov ecx, dword [esi + 8]
xor edx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], edx
test ecx, ecx
je 0x5e36fb
mov esi, dword [ebp - 0x48]
test bl, bl
jne 0x5e37fd
cmp eax, 1
jg 0x5e37fd
cmp dword [ecx + 0x24], 0
jne 0x5e37fd
cmp ecx, dword [ebp - 0x18]
je 0x5e37fd
movzx eax, word [ecx + 0x32]
xor ebx, ebx
and dword [ebp - 0x20], ebx
mov dword [ebp - 0x78], eax
test eax, eax
jle 0x5e36b7
mov edx, dword [ecx + 4]
movzx eax, word [edx]
test ax, ax
js 0x5e3687
mov esi, dword [ebp - 0x24]
cwde
cmp dword [esi + eax*4], ebx
mov esi, dword [ebp - 0x48]
jge 0x5e3687
mov eax, dword [ebp - 0x20]
add edx, 2
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x78]
jl 0x5e365f
mov edx, dword [ebp - 0xc]
jmp 0x5e36b7
inc dword [edi + 0x2c]
movzx eax, word [ecx + 0x34]
mov ebx, dword [edi + 0x2c]
add eax, ebx
cmp dword [ebp + 0x10], 5
mov dword [edi + 0x2c], eax
je 0x5e36a8
cmp dword [ebp + 0x10], 0xa
jne 0x5e36b0
cmp byte [ecx + 0x36], 5
jne 0x5e36b0
xor eax, eax
lea esi, [eax + 1]
mov dword [ebp - 0x48], esi
mov edx, dword [ebp - 0xc]
test ebx, ebx
jne 0x5e36bf
mov eax, dword [ebp - 0x10]
mov byte [edx + eax + 1], 0
mov eax, dword [ebp - 0x90]
mov dword [eax + edx*4], ebx
inc edx
mov ecx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x2c]
mov bl, byte [ebp - 0x28]
mov dword [ebp - 0xc], edx
test ecx, ecx
jne 0x5e3628
test esi, esi
mov esi, dword [ebp - 0x8c]
je 0x5e36fb
mov eax, dword [ebp - 0x50]
inc eax
push eax
xor eax, eax
inc eax
push eax
push dword [ebp - 0x10]
call fcn.005fab50
add esp, 0xc
mov ecx, edi
call fcn.005ddf3f
mov ebx, eax
test ebx, ebx
je 0x5e4080
cmp byte [edi + 0x12], 0
jne 0x5e3719
mov ecx, ebx
call fcn.005bc189
push dword [ebp - 0x74]
xor eax, eax
mov ecx, edi
lea edx, [eax + 1]
call fcn.005d1769
cmp dword [esi + 0x38], 0
pop ecx
jne 0x5e3799
inc dword [edi + 0x2c]
cmp byte [ebp - 0x68], 0
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x88], eax
lea edx, [eax + 1]
mov dword [ebp - 0x44], edx
mov dword [edi + 0x2c], edx
mov dword [ebp - 0x1c], edx
jne 0x5e375b
test ecx, ecx
jne 0x5e375b
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x5e3770
lea eax, [edx + 1]
mov dword [ebp - 0x9c], eax
movsx eax, word [esi + 0x2a]
add eax, edx
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp byte [ebp - 0x28], 0
jne 0x5e377e
test ecx, ecx
jne 0x5e377e
test eax, eax
je 0x5e3787
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x44], eax
mov ecx, dword [edi + 0x2c]
lea eax, [ecx + 1]
mov dword [ebp - 0x4c], eax
movsx eax, word [esi + 0x2a]
add eax, ecx
mov dword [edi + 0x2c], eax
cmp dword [ebp - 0x64], 0
je 0x5e37c0
push dword [esi]
lea edx, [ebp - 0xb4]
mov ecx, edi
call fcn.005cd7cb
add esp, 4
mov edx, esi
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call fcn.005d239d
pop ecx
pop ecx
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0xd4]
call fcn.005c66c2
test eax, eax
jne 0x5e4080
cmp dword [esi + 0x38], eax
je 0x5e3811
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x38]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp - 0x24]
push dword [ebp - 0x34]
push dword [ebp + 8]
push esi
call fcn.005e40bd
add esp, 0x18
jmp 0x5e4080
inc dword [edi + 0x2c]
movzx eax, word [ecx + 0x34]
mov ebx, dword [edi + 0x2c]
add eax, ebx
mov dword [edi + 0x2c], eax
jmp 0x5e36b3
mov eax, dword [ebp - 0x54]
test byte [eax + 0x18], 0x80
je 0x5e383b
cmp dword [edi + 0x7c], 0
jne 0x5e383b
inc dword [edi + 0x2c]
mov ecx, ebx
mov eax, dword [edi + 0x2c]
push eax
push 0
push 0x38
pop edx
mov dword [ebp - 0xa0], eax
call fcn.005b9192
pop ecx
pop ecx
test byte [esi + 0x24], 0x20
jne 0x5e385b
push dword [ebp - 0x1c]
mov ecx, ebx
push dword [ebp - 0x88]
push 0
push 0x3b
pop edx
call fcn.005b910e
add esp, 0xc
jmp 0x5e38b5
mov eax, dword [ebp - 0x18]
movzx edx, word [eax + 0x32]
mov eax, dword [edi + 0x2c]
movsx esi, dx
mov dword [ebp - 0x70], edx
lea ecx, [eax + 1]
inc eax
add eax, esi
mov dword [ebp - 0x6c], ecx
push ecx
mov dword [ebp - 0x30], eax
mov ecx, ebx
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x28]
push 0
mov dword [ebp - 0x5c], eax
inc eax
push 0x3b
pop edx
mov dword [edi + 0x28], eax
call fcn.005b9192
push esi
push dword [ebp - 0x5c]
mov ecx, ebx
push 0x6c
pop edx
call fcn.005b9192
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, edi
mov dword [ebp - 0x40], eax
call fcn.005b98f7
mov esi, dword [ebp - 0x8c]
cmp byte [edi + 0x12], 0
mov eax, 0x1004
jne 0x5e38dc
cmp dword [ebp - 0x3c], 0
jne 0x5e38dc
cmp dword [ebp - 0x2c], 0
jne 0x5e38dc
cmp byte [ebp - 0x28], 0
jne 0x5e38dc
cmp dword [ebp - 0x48], 0
lea ecx, [eax + 8]
cmove eax, ecx
push dword [ebp - 0x84]
mov edx, dword [ebp - 0x38]
mov ecx, edi
push eax
push 0
push 0
push dword [ebp + 0xc]
call fcn.005ed016
add esp, 0x14
mov dword [ebp - 0x74], eax
test eax, eax
je 0x5e4080
lea edx, [ebp - 0xa8]
mov ecx, eax
call fcn.005e9286
mov edx, dword [ebp - 0x14]
mov ecx, eax
mov dword [ebp - 0x20], ecx
cmp ecx, 2
jne 0x5e3943
mov eax, dword [ebp - 0xa4]
test eax, eax
js 0x5e3943
cmp eax, edx
je 0x5e3943
sub eax, dword [ebp - 0x80]
mov esi, dword [ebp - 0x10]
push 0
cmp byte [eax + esi], 0
mov esi, dword [ebp - 0x8c]
pop eax
cmovne ecx, eax
mov dword [ebp - 0x20], ecx
test byte [esi + 0x24], 0x20
jne 0x5e3980
push dword [ebp - 0x1c]
mov ecx, ebx
push edx
push 0x7b
pop edx
call fcn.005b9192
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
test eax, eax
jne 0x5e3a29
push dword [ebp - 0x1c]
mov edx, 0x8f
mov ecx, ebx
push dword [ebp - 0x88]
call fcn.005b9192
pop ecx
pop ecx
jmp 0x5e3a26
mov eax, dword [ebp - 0x70]
xor ecx, ecx
cwde
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x70], ecx
test eax, eax
jle 0x5e39c7
mov edi, eax
mov eax, dword [ebp - 0x6c]
add eax, ecx
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
movsx eax, word [eax + ecx*2]
mov ecx, ebx
push eax
push edx
mov edx, esi
call fcn.005c954c
mov ecx, dword [ebp - 0x70]
add esp, 0xc
mov edx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x70], ecx
cmp ecx, edi
jl 0x5e3992
mov edi, dword [ebp - 0x94]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x20], 0
je 0x5e39e8
mov edx, dword [ebp - 0x40]
mov ecx, ebx
call fcn.005b978a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x30], eax
jmp 0x5e3a26
mov edx, dword [ebp - 0x18]
push eax
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.005d623b
pop ecx
push eax
push dword [ebp - 0x30]
mov ecx, ebx
push dword [ebp - 0xc]
push dword [ebp - 0x6c]
push 0x63
pop edx
call fcn.005b9258
add esp, 0x14
mov ecx, ebx
push dword [ebp - 0xc]
push dword [ebp - 0x6c]
push dword [ebp - 0x30]
push dword [ebp - 0x5c]
push 0x7e
pop edx
call fcn.005b930f
add esp, 0x10
mov eax, dword [ebp - 0x20]
cmp eax, 2
je 0x5e3a36
mov ecx, dword [ebp - 0x74]
call fcn.005ed836
mov ecx, ebx
call fcn.005b935e
mov edx, dword [ebp - 0x64]
mov ecx, eax
mov dword [ebp - 0xc], ecx
test edx, edx
jne 0x5e3ad8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x40], eax
test edx, edx
je 0x5e3a81
mov eax, dword [ebp - 0xa8]
test eax, eax
js 0x5e3a6d
sub eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
js 0x5e3a87
sub ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x10]
mov byte [ecx + eax], 0
mov ecx, dword [ebp - 0xa4]
cmp edx, 2
jne 0x5e3aa9
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0x50]
setns al
sub ecx, eax
test ecx, ecx
jle 0x5e3aa9
push 0x14
pop edx
mov ecx, ebx
call fcn.005b9170
mov dword [ebp - 0x40], eax
xor eax, eax
mov edx, esi
push eax
push eax
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x80]
push eax
push 0x69
call fcn.005d7d5c
mov eax, dword [ebp - 0x40]
add esp, 0x18
test eax, eax
je 0x5e3ad2
mov edx, eax
mov ecx, ebx
call fcn.005b9643
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5e3b48
test edx, edx
jne 0x5e3b11
mov edx, dword [ebp - 0x14]
cmp dword [ebp - 0xa8], edx
je 0x5e3b11
cmp dword [ebp - 0xa4], edx
je 0x5e3b11
push dword [ebp - 0x98]
push dword [ebp - 0x30]
push ecx
push edx
push 0x1d
pop edx
mov ecx, ebx
call fcn.005b930f
mov eax, dword [ebp - 0x20]
add esp, 0x10
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x5e3b20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
jmp 0x5e3b2d
mov ecx, ebx
call fcn.005b935e
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x18], 0
mov ecx, ebx
push eax
mov eax, dword [ebp - 0x1c]
cmovne eax, dword [ebp - 0x30]
push eax
push 0x4b
pop edx
call fcn.005b9192
pop ecx
pop ecx
jmp 0x5e3bc7
cmp dword [ebp - 0x18], 0
je 0x5e3b99
mov ecx, ebx
call fcn.005b935e
mov dword [ebp - 0x10], eax
mov ecx, ebx
mov eax, dword [ebp - 0xc]
push eax
push dword [ebp - 0x5c]
push 0x25
pop edx
call fcn.005b9192
push dword [ebp - 0x30]
mov ecx, ebx
push dword [ebp - 0x5c]
push 0x7a
pop edx
call fcn.005b9192
push 0
push dword [ebp - 0x30]
mov ecx, ebx
mov dword [ebp - 0xac], eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x1d
pop edx
call fcn.005b930f
add esp, 0x20
jmp 0x5e3bc7
push dword [ebp - 0x1c]
push ecx
push dword [ebp - 0x88]
mov ecx, ebx
push 0x2a
pop edx
call fcn.005b910e
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ecx, ebx
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0x20
pop edx
call fcn.005b910e
add esp, 0xc
cmp byte [ebp - 5], 0
je 0x5e3be9
push dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
mov ecx, edi
call fcn.005ca4a0
pop ecx
push dword [ebp - 0x44]
mov ecx, ebx
push 0x11
pop edx
call fcn.005b917e
pop ecx
cmp byte [ebp - 0x68], 0
mov eax, dword [ebp - 0x2c]
jne 0x5e3bff
test eax, eax
jne 0x5e3c03
cmp dword [ebp - 0x3c], eax
je 0x5e3cd4
test eax, eax
je 0x5e3c0e
mov edx, esi
mov ecx, edi
call fcn.005d5aff
jmp 0x5e3c10
xor eax, eax
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x3c]
mov ecx, edi
push esi
push 3
push 0
push dword [ebp + 8]
mov dword [ebp - 0x34], eax
call fcn.005e3187
mov edx, dword [ebp - 0x34]
add esp, 0x14
and dword [ebp - 0x78], 0
or edx, eax
xor eax, eax
mov dword [ebp - 0x34], edx
cmp ax, word [esi + 0x2a]
jge 0x5e3cb6
mov edi, dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x50], ecx
cmp edx, 0xffffffff
je 0x5e3c82
cmp edi, 0x20
jge 0x5e3c5f
xor eax, eax
mov ecx, edi
inc eax
shl eax, cl
test edx, eax
jne 0x5e3c82
mov ecx, dword [ebp - 0x50]
mov eax, dword [esi + 4]
test byte [eax + ecx + 0xf], 1
jne 0x5e3c82
mov eax, dword [ebp - 0x9c]
mov ecx, ebx
add eax, edi
push eax
push 0
push 0x3b
pop edx
call fcn.005b9192
pop ecx
pop ecx
jmp 0x5e3c9b
mov eax, dword [ebp - 0x9c]
mov edx, esi
add eax, edi
mov ecx, ebx
push eax
push edi
push dword [ebp - 0x14]
call fcn.005c954c
add esp, 0xc
mov ecx, dword [ebp - 0x50]
inc edi
movsx eax, word [esi + 0x2a]
add ecx, 0x10
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x50], ecx
cmp edi, eax
jl 0x5e3c47
mov edi, dword [ebp - 0x94]
cmp byte [ebp - 5], 0
jne 0x5e3cd4
cmp dword [ebp - 0x18], 0
jne 0x5e3cd4
push dword [ebp - 0x44]
mov ecx, ebx
push dword [ebp - 0x1c]
push 0x40
pop edx
call fcn.005b9192
pop ecx
pop ecx
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x3c]
xor eax, eax
push esi
inc eax
mov ecx, edi
push eax
push eax
push dword [ebp + 8]
call fcn.005e3187
mov dword [ebp - 0x78], eax
add esp, 0x14
xor eax, eax
xor ecx, ecx
cmp ax, word [esi + 0x2a]
jmp 0x5e3d6f
movsx eax, word [esi + 0x28]
cmp ecx, eax
je 0x5e3d39
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + ecx*4]
test edx, edx
js 0x5e3d25
mov eax, dword [ebp - 0x4c]
add eax, ecx
imul edx, edx, 0x18
push eax
mov eax, dword [ebp + 8]
mov ecx, edi
mov edx, dword [edx + eax + 8]
call fcn.005ca4a0
jmp 0x5e3d4c
xor eax, eax
inc eax
test dword [ebp - 0x58], eax
je 0x5e3d4f
cmp ecx, 0x1f
jg 0x5e3d4f
shl eax, cl
test dword [ebp - 0x78], eax
jne 0x5e3d4f
mov eax, dword [ebp - 0x4c]
add eax, ecx
mov ecx, ebx
push eax
push 0
push 0x3b
pop edx
call fcn.005b9192
pop ecx
pop ecx
jmp 0x5e3d65
mov eax, dword [ebp - 0x4c]
mov edx, esi
add eax, ecx
push eax
push dword [ebp - 0x14]
push ecx
mov ecx, edi
call fcn.005c968c
add esp, 0xc
mov ecx, dword [ebp - 0x40]
movsx eax, word [esi + 0x2a]
inc ecx
cmp ecx, eax
mov dword [ebp - 0x40], ecx
jl 0x5e3cfa
xor eax, eax
inc eax
test byte [ebp - 0x58], al
je 0x5e3e2a
push dword [ebp - 0x4c]
mov edx, esi
mov ecx, ebx
call fcn.005d62ef
mov edx, dword [ebp - 0x3c]
xor eax, eax
pop ecx
push dword [ebp - 0x10]
inc eax
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push esi
push eax
push dword [ebp + 8]
push 0x6e
call fcn.005e3133
add esp, 0x1c
mov ecx, ebx
cmp dword [ebp - 0x18], 0
je 0x5e3dd1
push dword [ebp - 0x98]
push dword [ebp - 0x30]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x1d
pop edx
call fcn.005b930f
add esp, 0x10
jmp 0x5e3de5
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x20
pop edx
call fcn.005b910e
add esp, 0xc
and dword [ebp - 0x78], 0
xor eax, eax
cmp ax, word [esi + 0x2a]
jge 0x5e3e2a
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x24]
cmp dword [eax + edi*4], 0
jge 0x5e3e1b
movsx eax, word [esi + 0x28]
cmp edi, eax
je 0x5e3e1b
mov eax, dword [ebp - 0x4c]
mov edx, esi
add eax, edi
mov ecx, ebx
push eax
push edi
push dword [ebp - 0x14]
call fcn.005c954c
add esp, 0xc
movsx eax, word [esi + 0x2a]
inc edi
cmp edi, eax
jl 0x5e3df4
mov edi, dword [ebp - 0x94]
cmp dword [ebp - 0x64], 0
jne 0x5e3f8b
push dword [ebp - 0x24]
and dword [ebp - 0x58], 0
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x10]
mov edx, esi
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push dword [ebp - 0x44]
push dword [ebp - 0x84]
push dword [ebp - 0x14]
push dword [ebp - 0x90]
call fcn.005d733d
add esp, 0x28
cmp dword [ebp - 0x2c], 0
je 0x5e3e86
push dword [ebp - 0x60]
mov edx, esi
mov ecx, edi
push dword [ebp - 0x24]
push 0
push dword [ebp - 0x1c]
call fcn.005d5732
add esp, 0x10
cmp dword [ebp - 0x48], 0
jne 0x5e3e92
cmp byte [ebp - 0x28], 0
je 0x5e3ecb
cmp dword [ebp - 0x18], 0
mov ecx, ebx
je 0x5e3eb5
push dword [ebp - 0x98]
push dword [ebp - 0x30]
push 0
push dword [ebp - 0x14]
push 0x1d
pop edx
call fcn.005b930f
add esp, 0x10
jmp 0x5e3ec8
push dword [ebp - 0x1c]
push 0
push dword [ebp - 0x14]
push 0x20
pop edx
call fcn.005b910e
add esp, 0xc
mov dword [ebp - 0x58], eax
push 0xffffffffffffffff
push dword [ebp - 0x90]
mov edx, esi
mov ecx, edi
push dword [ebp - 0x84]
push dword [ebp - 0x14]
call fcn.005d2e9b
xor eax, eax
add esp, 0x10
inc eax
cmp dword [ebp - 0x2c], eax
jg 0x5e3ef7
mov al, byte [ebp - 0x28]
test al, al
je 0x5e3f0b
push 0
push dword [ebp - 0x14]
mov ecx, ebx
push 0x76
pop edx
call fcn.005b9192
mov al, byte [ebp - 0x28]
pop ecx
pop ecx
cmp dword [ebp - 0x48], 0
jne 0x5e3f15
test al, al
je 0x5e3f1f
mov edx, dword [ebp - 0x58]
mov ecx, ebx
call fcn.005b9643
cmp dword [ebp - 0x2c], 0
je 0x5e3f3c
push dword [ebp - 0x60]
mov edx, esi
mov ecx, edi
push dword [ebp - 0x24]
push dword [ebp - 0x44]
push 0
call fcn.005d5732
add esp, 0x10
push 0
push 0
push 2
pop ecx
xor eax, eax
mov edx, esi
cmp dword [ebp - 0x20], ecx
cmove eax, ecx
mov ecx, edi
or eax, 4
push eax
push dword [ebp - 0x90]
push dword [ebp - 0x44]
push dword [ebp - 0x84]
push dword [ebp - 0x14]
call fcn.005d7bcb
add esp, 0x1c
cmp dword [ebp - 0x2c], 0
je 0x5e3f8b
push dword [ebp - 0x60]
mov edx, esi
mov ecx, edi
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.005d60be
add esp, 0x10
mov eax, dword [ebp - 0x54]
test byte [eax + 0x18], 0x80
je 0x5e3fb0
cmp dword [edi + 0x7c], 0
jne 0x5e3fb0
xor eax, eax
mov ecx, ebx
inc eax
push eax
push dword [ebp - 0xa0]
push 0x45
pop edx
call fcn.005b9192
pop ecx
pop ecx
push dword [ebp - 0x10]
mov edx, dword [ebp - 0x3c]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push esi
push 2
pop esi
push esi
push dword [ebp + 8]
push 0x6e
call fcn.005e3133
mov eax, dword [ebp - 0x20]
xor ecx, ecx
inc ecx
add esp, 0x1c
cmp eax, ecx
je 0x5e4019
mov edx, dword [ebp - 0x10]
mov ecx, ebx
cmp eax, esi
jne 0x5e3ff2
call fcn.005b93a0
mov ecx, dword [ebp - 0x74]
call fcn.005ed836
jmp 0x5e4019
cmp dword [ebp - 0x18], 0
je 0x5e4014
call fcn.005b93a0
push dword [ebp - 0xac]
mov ecx, ebx
push dword [ebp - 0x5c]
push 7
pop edx
call fcn.005b9192
pop ecx
pop ecx
jmp 0x5e4019
call fcn.005b91a7
mov edx, dword [ebp - 0xc]
mov ecx, ebx
call fcn.005b93a0
cmp byte [edi + 0x12], 0
jne 0x5e4036
cmp dword [edi + 0x7c], 0
jne 0x5e4036
mov ecx, edi
call fcn.005d65f9
mov eax, dword [ebp - 0x54]
test byte [eax + 0x18], 0x80
je 0x5e4080
cmp dword [edi + 0x7c], 0
jne 0x5e4080
cmp byte [edi + 0x12], 0
jne 0x5e4080
xor eax, eax
mov ecx, ebx
inc eax
push eax
push dword [ebp - 0xa0]
push 0x43
pop edx
call fcn.005b9192
xor eax, eax
mov ecx, ebx
lea edx, [eax + 1]
call fcn.005ba444
push 0
push 0x4adba4
push 0
xor edx, edx
mov ecx, ebx
call fcn.005ba4ac
add esp, 0x14
lea ecx, [ebp - 0xb4]
call fcn.005cd7e4
mov edi, dword [ebp - 0x54]
mov ecx, edi
mov edx, dword [ebp - 0x24]
call fcn.005a2404
mov edx, dword [ebp - 0x38]
mov ecx, edi
call fcn.005d1345
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.005c7f14
mov edx, dword [ebp + 0xc]
mov ecx, edi
call fcn.005c74e2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret