Function at 0x10049a13
Capabilities:
Terminate process

Disassembly:
mov eax, 0x1008df22
call fcn.1008c498
sub esp, 0x80
push ebx
mov ebx, ecx
mov dword [ebp - 0x50], ebx
cmp dword [ebx], 0
je 0x10049e5e
push esi
push edi
push dword [ebx]
xor esi, esi
push esi
push dword [ebx + 4]
call fcn.10027360
add esp, 0xc
lea ecx, [ebp - 0x8c]
push 3
pop edi
push edi
call fcn.100186a3
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x20], 4
push edi
call fcn.100186a3
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], 0x9a83
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x14], esi
jmp 0x10049a97
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x8c]
mov dword [eax + ecx*4], 0x9841b3c6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10049a84
mov dword [ebp - 0x14], esi
jmp 0x10049ab1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x80]
mov dword [eax + ecx*4], 0xc47d1afd
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10049aa1
mov dword [ebp - 0x14], 2
cmp dword [ebp - 0x14], esi
jl 0x10049d59
mov ebx, dword [ebp - 0x80]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], 0xc6338430
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x1c], 0xb2e4145c
mov dword [ebp - 0x28], 8
push edi
call fcn.100186a3
mov dword [ebp - 0x18], 0x920a6ff6
mov dword [ebp - 0x40], 0x9e96
mov dword [ebp - 0x24], 0
jmp 0x10049b11
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x74]
mov dword [eax + ecx*4], 0xfffffffb
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], edi
jl 0x10049b01
mov byte [ebp - 0xd], 0
cmp byte [ebp - 0xd], 0
je 0x10049b2d
push 0xcb3
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp - 0x14], 0
jne 0x10049b6a
inc dword [ebp - 0x18]
xor edx, edx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
mov eax, dword [ebp - 0x8c]
setne dl
xor ecx, ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
imul edx, dword [eax + 8]
mov eax, dword [ebp - 0x18]
cmp eax, edx
mov eax, dword [ebp - 0x14]
setg cl
sub eax, ecx
neg eax
sbb eax, eax
inc eax
dec eax
je 0x10049b75
cmp dword [ebp - 0x1c], 0
je 0x10049b75
xor eax, eax
inc eax
jmp 0x10049b77
xor eax, eax
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x20]
mov dword [edi + 8], eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 2
jg 0x10049d40
mov esi, dword [ebp - 0x8c]
mov dword [ebp - 0x2c], 0xfffffffa
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x24], 0x98e5
mov dword [ebp - 0x48], 0x79c0213a
mov dword [ebp - 0x4c], 0xc725ea9b
mov dword [ebp - 0x30], 0x2d068568
mov dword [ebp - 0x28], 0
jmp 0x10049c69
mov dword [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x20], 0
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
cmp eax, 0xfae3
setne cl
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x10049c0f
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], 0xffffffff
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x74]
cmp dword [eax], ecx
mov eax, dword [ebp - 0x20]
setge dl
xor ecx, ecx
cmp eax, edx
setge cl
sub ecx, dword [ebp - 0x24]
cmp ecx, 0xffffffff
jb 0x10049c3e
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x40]
neg eax
sbb eax, eax
inc eax
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
add eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x38]
jg 0x10049c60
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 2
jle 0x10049bde
cmp dword [esi + 4], 0
jne 0x10049ce2
mov eax, dword [ebp - 0x80]
mov ecx, 0x80b142b9
mov dword [eax + 8], ecx
mov dword [edi + 8], ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x10049c99
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
xor ebx, ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
sub ecx, 0xa
add eax, ecx
add edx, eax
mov eax, dword [ebp - 0x44]
cmp edx, dword [esi + 4]
setg bl
xor ecx, ecx
cmp ebx, eax
setg cl
imul ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x10049ccc
cmp dword [ebp - 0x14], ecx
jne 0x10049ccc
xor edx, edx
jmp 0x10049ccf
xor edx, edx
inc edx
mov eax, dword [ebp - 0x34]
xor ecx, ecx
cmp edx, eax
setge cl
sub ecx, dword [ebp - 0x48]
jne 0x10049ce2
xor edx, edx
jmp 0x10049ce5
xor edx, edx
inc edx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp edx, eax
setg cl
add ecx, dword [ebp - 0x4c]
cmp ecx, 0xffffffff
jb 0x10049d02
cmp dword [ebp - 0x2c], 0
je 0x10049d02
xor ecx, ecx
inc ecx
jmp 0x10049d04
xor ecx, ecx
mov eax, dword [ebp - 0x38]
sub ecx, eax
sub ecx, 0x96ab
mov ebx, dword [ebp - 0x3c]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [esi + 4], 1
mov eax, dword [ebp - 0x24]
sete dl
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x30], ecx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jle 0x10049ba8
lea ecx, [ebp - 0x74]
call fcn.10018ed2
dec dword [ebp - 0x14]
push 3
pop edi
jns 0x10049acc
mov ebx, dword [ebp - 0x50]
xor esi, esi
lea ecx, [ebp - 0x80]
call fcn.10018ed2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.10018ed2
push dword [ebx + 4]
call fcn.10073002
pop ecx
push 4
lea ecx, [ebp - 0x68]
mov dword [ebx + 4], esi
call fcn.100186a3
push 1
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 2
call fcn.100186a3
push 4
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x14], esi
pop edx
jmp 0x10049db2
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x68]
mov dword [eax + ecx*4], 0x7571
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x10049da2
mov dword [ebp - 0x14], esi
jmp 0x10049dcc
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x5c]
mov dword [eax + ecx*4], 0x1febaeef
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x10049dbc
mov eax, dword [ebp - 0x5c]
mov dword [eax], edi
mov edi, dword [ebp - 0x68]
jmp 0x10049dde
xor esi, esi
mov dword [ebp - 0x20], 0xd37ad435
mov dword [ebp - 0x20], esi
jmp 0x10049e0a
mov dword [ebp - 0x24], 0x4f147909
mov dword [ebp - 0x24], esi
jmp 0x10049e02
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x68]
mov dword [eax + ecx*4], edx
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], edx
jl 0x10049df6
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jle 0x10049dea
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edi + 0xc]
mov edx, dword [esi]
mov dword [ecx + edx*4], eax
test eax, eax
je 0x10049e30
cmp dword [ebp - 0x20], 0
mov esi, dword [ebp - 0x5c]
je 0x10049e30
xor ecx, ecx
inc ecx
jmp 0x10049e32
xor ecx, ecx
xor eax, eax
test ecx, ecx
push 4
sete al
imul eax, eax, 0x9d22
dec dword [esi]
pop edx
mov dword [ebp - 0x50], eax
jns 0x10049ddc
lea ecx, [ebp - 0x5c]
call fcn.10018ed2
lea ecx, [ebp - 0x68]
call fcn.10018ed2
and dword [ebx], 0
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret