Function at 0x402f99
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x18], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
lea eax, [edx*4 + 4]
push eax
call fcn.00402ad6
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov dword [ebp - 0x14], 0
jmp 0x402ff7
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jge 0x403039
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx*4 + 0x40c010]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
cmp ecx, 0x2d
jne 0x403037
mov edx, dword [ebp - 0x1c]
movsx eax, byte [edx + 1]
cmp eax, 0x4a
jne 0x403037
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
jmp 0x402fee
mov dword [ebp - 0x14], 0
jmp 0x40304b
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 8]
jge 0x4030ae
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
movsx ecx, byte [eax]
cmp ecx, 0x2d
jne 0x4030ac
mov edx, dword [ebp - 0x20]
movsx eax, byte [edx + 1]
cmp eax, 0x4a
jne 0x4030ac
mov ecx, dword [ebp - 0x20]
movsx edx, byte [ecx + 2]
test edx, edx
jne 0x403098
push 1
push 0x40c9e4
call fcn.004044bb
add esp, 8
push 1
call dword [sym.imp.MSVCRTD.dll_exit]
mov eax, dword [ebp - 0x20]
add eax, 2
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0xc], edx
jmp 0x403042
mov dword [ebp - 0x14], 0
jmp 0x4030c0
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x18]
jge 0x4030ff
mov edx, dword [ebp - 0x14]
mov eax, dword [edx*4 + 0x40c010]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
movsx edx, byte [ecx]
cmp edx, 0x2d
jne 0x4030ec
mov eax, dword [ebp - 0x24]
movsx ecx, byte [eax + 1]
cmp ecx, 0x4a
je 0x4030fd
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
add ecx, 4
mov dword [ebp - 0xc], ecx
jmp 0x4030b7
mov dword [ebp - 0x14], 0
jmp 0x403111
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jge 0x40314f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
movsx edx, byte [ecx]
cmp edx, 0x2d
jne 0x40313c
mov eax, dword [ebp - 0x28]
movsx ecx, byte [eax + 1]
cmp ecx, 0x4a
je 0x40314d
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
add ecx, 4
mov dword [ebp - 0xc], ecx
jmp 0x403108
mov edx, dword [ebp - 0xc]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret