Function at 0x4024d0
Capabilities:
Terminate process

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, 1
cmp esi, edi
mov dword [esp + 0xc], edi
jle 0x402726
mov eax, dword [esp + 0x18]
lea ebp, [eax + 4]
jmp 0x4024f7
mov edi, 1
mov ecx, dword [ebp]
push 0x40ee60
push ecx
call fcn.0040b710
add esp, 8
test eax, eax
je 0x402764
mov edx, dword [ebp]
push 0x40ee58
push edx
call fcn.0040b710
add esp, 8
test eax, eax
je 0x402770
mov eax, dword [ebp]
push 0x40ee54
push eax
call fcn.0040b710
add esp, 8
test eax, eax
jne 0x40255d
mov ecx, dword [esp + 0x18]
mov dword [0x41007c], edi
push ecx
push esi
mov dword [0x4102bc], edi
call fcn.004046d0
add esp, 8
jmp 0x40270e
mov edx, dword [ebp]
push 0x40ee50
push edx
call fcn.0040b710
add esp, 8
test eax, eax
jne 0x402589
push 0x40ee38
mov dword [0x40e034], eax
call fcn.00401000
add esp, 4
jmp 0x40270e
mov edi, dword [ebp]
mov esi, 0x40ee34
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4025b7
test cl, cl
je 0x4025b3
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4025b7
add eax, 2
add esi, 2
test cl, cl
jne 0x402593
xor eax, eax
jmp 0x4025bc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4025dc
push 0x40ee1c
mov dword [0x410074], 1
call fcn.00401000
add esp, 4
jmp 0x40270e
mov esi, 0x40ee18
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x402607
test cl, cl
je 0x402603
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x402607
add eax, 2
add esi, 2
test cl, cl
jne 0x4025e3
xor eax, eax
jmp 0x40260c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40262c
push 0x40ee00
mov dword [0x410078], 1
call fcn.00401000
add esp, 4
jmp 0x40270e
mov esi, 0x40edfc
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x402657
test cl, cl
je 0x402653
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x402657
add eax, 2
add esi, 2
test cl, cl
jne 0x402633
xor eax, eax
jmp 0x40265c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40267c
push 0x40ede8
mov dword [0x410084], 1
call fcn.00401000
add esp, 4
jmp 0x40270e
push 0x40ede4
push edi
call fcn.0040b710
add esp, 8
test eax, eax
jne 0x4026a7
push 0x40edc8
mov dword [0x410070], 1
call fcn.00401000
add esp, 4
jmp 0x40270e
mov eax, dword [ebp]
push 0x40edc4
push eax
call fcn.0040b710
add esp, 8
test eax, eax
je 0x40277c
mov edi, dword [ebp]
mov esi, 0x40edc0
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4026ee
test cl, cl
je 0x4026ea
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4026ee
add eax, 2
add esi, 2
test cl, cl
jne 0x4026ca
xor eax, eax
jmp 0x4026f3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40279e
push edi
push 0x40ed9c
push 0x40f6c0
call fcn.00404854
add esp, 0xc
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
inc eax
add ebp, 4
cmp eax, esi
mov dword [esp + 0xc], eax
jl 0x4024f2
push 0x40ed98
call fcn.00404e58
add esp, 4
test eax, eax
je 0x4027d3
mov esi, 0x40ed8c
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4027c0
test cl, cl
je 0x402760
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4027c0
add eax, 2
add esi, 2
test cl, cl
jne 0x402740
xor eax, eax
jmp 0x4027c5
call fcn.00404450
push 0
call fcn.0040496c
call fcn.00404560
push 0
call fcn.0040496c
push 0x40ed58
push 6
push 1
push 0x40ed14
push 0x40f6c0
call fcn.00404854
add esp, 0x14
push 0
call fcn.0040496c
push 0x40ed58
push 6
push 1
push 0x40eba8
push 0x40f6c0
call fcn.00404854
add esp, 0x14
push 0
call fcn.0040496c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov dword [0x410080], 1
je 0x4027dd
mov dword [0x410080], 0
pop edi
pop esi
pop ebp
pop ecx
ret