Function at 0x5e998d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
mov ebx, ecx
xor eax, eax
push edi
mov esi, edx
mov dword [ebp - 0x18], ebx
push 0x14
mov edi, dword [ebx + 8]
mov ecx, edi
pop edx
mov dword [ebp - 0x40], esi
mov byte [ebp - 1], al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x3c], edi
call fcn.005b9170
mov esi, dword [esi + 0x14]
xorps xmm0, xmm0
and dword [ebp - 8], 0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
movlpd qword [ebp - 0x50], xmm0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
imul edx, dword [eax + 0xc], 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x40]
add edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x14], ecx
cmp esi, edx
jae 0x5e9b2d
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi]
mov dword [ebp - 0x4c], ecx
mov eax, dword [edx]
or eax, dword [edx + 4]
jne 0x5e9a48
test byte [esi + 0xa], 2
jne 0x5e9a48
test byte [ecx + 4], 1
jne 0x5e9a48
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
call fcn.005c8001
test eax, eax
je 0x5e9a48
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebx]
push 0
call fcn.005c7837
mov edx, dword [ebp - 0x1c]
pop ecx
mov ecx, dword [ebx]
push eax
call fcn.005c7248
pop ecx
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.005e992b
pop ecx
pop ecx
test eax, eax
je 0x5e9b16
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x4c], ecx
cmp ecx, 0x40
jl 0x5e9a7a
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0x80000000
jmp 0x5e9a9a
mov eax, ecx
xor edx, edx
xor ecx, ecx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [ebp - 0x2c], ecx
cmovae edx, ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x24], edx
cmp byte [ebp - 1], 0
jne 0x5e9ac3
mov edx, dword [ebp - 0x28]
add ecx, ecx
mov eax, dword [edx + 4]
push dword [eax + ecx*8]
push dword [edx]
push 0x4ae0a8
push 0x11c
call fcn.005a3b23
add esp, 0x10
mov byte [ebp - 1], 1
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
and eax, edx
and ecx, dword [ebp - 0xc]
or ecx, eax
jne 0x5e9b19
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
inc eax
mov ecx, dword [ebx]
push eax
mov dword [ebp - 0x4c], eax
call fcn.005ea2c9
pop ecx
test eax, eax
jne 0x5e9f27
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x30]
mov dword [eax + edx*4], esi
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
or eax, dword [ebp - 0x2c]
or edx, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
jmp 0x5e9b1f
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add esi, 0x30
cmp esi, dword [ebp - 0x38]
jb 0x5e9a02
jmp 0x5e9b33
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 8]
not eax
mov word [ecx + 0x28], si
not edx
mov word [ecx + 0x18], si
or edx, 0x80000000
mov esi, dword [ebp + 8]
mov dword [ecx + 0x24], 0x4241
push 0x3f
and eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
and edx, ecx
mov dword [ebp - 0xc], eax
xor esi, esi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x4c], ecx
movzx edx, word [eax + 0x2a]
pop eax
mov dword [ebp - 0x44], edx
cmp ax, dx
jge 0x5e9b7c
mov dword [ebp - 0x24], eax
jmp 0x5e9b86
movsx eax, dx
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x5e9bc0
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x10]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [ebp - 0xc]
and ecx, ebx
or edx, ecx
je 0x5e9baf
inc dword [ebp - 8]
inc esi
cmp esi, edi
jl 0x5e9b8c
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x44]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
mov ecx, dword [ebp - 8]
je 0x5e9bda
movsx eax, dx
add ecx, 0xffffffc1
add ecx, eax
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x4c]
push eax
lea edx, [ecx + 1]
mov ecx, dword [ebx]
push 0
call fcn.005d0383
mov esi, eax
mov dword [ebp - 0x2c], esi
pop ecx
pop ecx
test esi, esi
je 0x5e9f27
mov eax, dword [ebp - 0x14]
xor ebx, ebx
xorps xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
mov dword [eax + 0x20], esi
mov eax, dword [ebp - 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [esi], 0x4ae0c4
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x38]
jae 0x5e9ce6
mov ecx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x30], ecx
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, eax
push dword [ebp + 0xc]
call fcn.005e992b
pop ecx
pop ecx
test eax, eax
je 0x5e9cce
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
xor eax, eax
cmp ecx, 0x40
jl 0x5e9c63
mov edx, 0x80000000
jmp 0x5e9c76
xor edx, edx
bts eax, ecx
cmp ecx, 0x20
cmovae edx, eax
xor eax, edx
cmp ecx, 0x40
cmovae edx, eax
mov ecx, eax
mov dword [ebp - 0x44], eax
and ecx, dword [ebp - 0x30]
mov eax, edx
and eax, dword [ebp - 0x34]
or ecx, eax
mov dword [ebp - 0x4c], edx
jne 0x5e9cce
mov ecx, dword [ebp - 0x30]
or ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x34]
or ecx, dword [ebp - 0x4c]
mov edx, dword [eax]
mov ax, word [eax + 0x1c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [edi + 4]
mov word [ecx + ebx*2], ax
mov ecx, esi
push dword [edx + 0x10]
mov edx, dword [edx + 0xc]
call fcn.005c6b94
pop ecx
test eax, eax
je 0x5e9cc2
mov ecx, dword [eax]
jmp 0x5e9cc7
mov ecx, 0x4a7c84
mov eax, dword [edi + 0x20]
mov dword [eax + ebx*4], ecx
inc ebx
mov eax, dword [ebp - 0x20]
add eax, 0x30
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x38]
jb 0x5e9c39
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x2c]
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x24], 0
jle 0x5e9d2f
mov edi, dword [ebp - 0x4c]
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [ebp - 0xc]
and ecx, dword [ebp - 0x10]
or edx, ecx
je 0x5e9d26
mov eax, dword [esi + 4]
mov word [eax + ebx*2], di
mov eax, dword [esi + 0x20]
mov dword [eax + ebx*4], 0x4a7c84
inc ebx
inc edi
cmp edi, dword [ebp - 0x24]
jl 0x5e9cf3
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
xor eax, eax
and ecx, 0x80000000
or eax, ecx
je 0x5e9d68
mov edx, dword [ebp - 0x28]
push 0x3f
pop ecx
cmp cx, word [edx + 0x2a]
jge 0x5e9d68
mov eax, dword [esi + 4]
mov word [eax + ebx*2], cx
mov eax, dword [esi + 0x20]
mov dword [eax + ebx*4], 0x4a7c84
inc ebx
movsx eax, word [edx + 0x2a]
inc ecx
cmp ecx, eax
jl 0x5e9d4d
mov eax, dword [esi + 4]
or ecx, 0xffffffff
mov word [eax + ebx*2], cx
mov eax, dword [esi + 0x20]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x14]
mov dword [eax + ebx*4], 0x4a7c84
mov eax, dword [esi + 0x28]
mov dword [ecx + 8], eax
inc dword [esi + 0x28]
mov eax, dword [ebp - 8]
inc eax
push eax
push dword [ecx + 8]
mov ecx, edi
push 0x6b
pop edx
call fcn.005b9192
mov edx, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, esi
call fcn.005b98f7
mov ecx, esi
call fcn.005c949e
mov ecx, dword [ebp + 0x14]
movzx eax, byte [ecx + 0x2c]
imul esi, eax, 0x50
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x4c], esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
test byte [esi + eax + 0x30], 0x10
je 0x5e9e0e
mov esi, dword [esi + eax + 0x24]
mov ecx, edi
push 0
push 0
push 0x38
pop edx
call fcn.005b9192
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
push dword [eax + ecx + 0x20]
mov ecx, edi
push 0
push esi
push 0xf
pop edx
call fcn.005b910e
add esp, 0x14
mov ecx, edi
push esi
push 0x10
pop edx
call fcn.005b917e
mov esi, dword [ebp - 0x4c]
jmp 0x5e9e1b
push dword [ecx + 4]
mov ecx, edi
push 0x25
pop edx
call fcn.005b917e
cmp dword [ebp - 0x1c], 0
mov dword [ebp + 8], eax
pop ecx
je 0x5e9e4a
mov ecx, edi
call fcn.005b935e
push 0x10
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x18]
call fcn.005ca9f2
mov eax, dword [ebp - 0x14]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [ebp - 0x18]
call fcn.005cb3fb
xor edx, edx
mov dword [ebp - 0x4c], eax
push edx
push edx
push edx
push edx
mov edx, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.005d2f52
push dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov ecx, edi
mov eax, dword [ebp + 0x14]
push dword [eax + 8]
push 0x7e
pop edx
call fcn.005b9192
add esp, 0x20
mov ecx, edi
push 0x10
pop edx
call fcn.005b962b
cmp dword [ebp - 0x1c], 0
je 0x5e9e9b
mov edx, dword [ebp - 0x54]
call fcn.005b93a0
mov eax, dword [ebp - 0x40]
mov ecx, edi
test byte [esi + eax + 0x30], 0x10
je 0x5e9ee4
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x58]
add eax, ebx
push eax
call fcn.005b960b
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp - 0x18]
push 1
push dword [esi + ebx + 0x28]
push dword [eax + 4]
call fcn.005e98ac
mov edx, dword [ebp + 8]
add esp, 0xc
mov ecx, edi
call fcn.005b91a7
and dword [esi + ebx + 0x30], 0xffffffef
jmp 0x5e9ef9
mov eax, dword [ebp + 8]
inc eax
push eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
push 7
pop edx
call fcn.005b9192
pop ecx
pop ecx
push 3
pop edx
mov ecx, edi
call fcn.005b962b
mov edx, dword [ebp + 8]
call fcn.005b9643
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
mov edx, dword [ebp - 0x4c]
call fcn.005cb41a
call fcn.005c94a2
mov edx, dword [ebp - 0x5c]
mov ecx, edi
call fcn.005b9643
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx]
call fcn.005c74e2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret