Function at 0x41e51e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
sub esp, 0x18
mov eax, 0
mov dword [ebp - 0x14], 0
mov eax, 1
mov dword [ebp - 0x18], 1
mov eax, 0
xchg edx, eax
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
jmp 0x41e7b9
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xe
je 0x41e58a
cmp eax, 0xc
je 0x41e7a7
cmp eax, 0xd
je 0x41e7a7
cmp eax, 0xa
je 0x41e7a7
mov eax, 0
jmp 0x41e7ae
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
call fcn.00417608
push eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
push eax
call fcn.00417608
pop edx
xchg edx, eax
cmp eax, edx
jne 0x41e797
mov eax, dword [0x422250]
mov edx, eax
mov eax, dword [ebp - 0x14]
shl eax, 4
add eax, edx
mov dword [ebp - 0xc], eax
xor eax, eax
inc eax
xchg edx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x10]
add eax, 0x10
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x41e717
mov eax, dword [ebp - 0x10]
cmp eax, 6
je 0x41e5fd
xor eax, eax
jmp 0x41e600
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
je 0x41e70c
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp eax, edx
jb 0x41e639
push 0
push 0x4263da
push 6
push 0xc
lea esi, [esp + 4]
push esi
push 1
call fcn.0040ebd9
push 0
call dword [sym.imp.MSVCRT.DLL_exit]
add esp, 4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xa
jne 0x41e677
mov eax, dword [0x42229c]
cmp eax, 0
jle 0x41e660
push 0x426405
call fcn.0041e410
xor eax, eax
inc eax
push eax
xor eax, eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041f5da
mov dword [ebp + 8], eax
jmp 0x41e6c7
mov eax, dword [0x42229c]
cmp eax, 0
jle 0x41e68d
push 0x426419
call fcn.0041e410
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xd
jne 0x41e6b4
call fcn.0041e381
push eax
push dword [ebp + 8]
call fcn.00417a92
push eax
call fcn.00410298
jmp 0x41e6bc
push dword [ebp + 8]
call fcn.0041e3d6
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x24]
cmp eax, 0
je 0x41e6f8
mov eax, dword [0x422250]
mov edx, eax
mov eax, dword [ebp - 0x1c]
shl eax, 4
add eax, edx
push eax
mov eax, dword [0x422278]
sub eax, 0x10
push eax
call fcn.00410298
push 1
call fcn.0041e3f2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
inc eax
mov edx, eax
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
add eax, 0x10
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
and eax, 0xff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
cmp eax, edx
jae 0x41e766
mov eax, dword [ebp - 0x10]
cmp eax, 0xa
je 0x41e75a
mov eax, dword [ebp - 0x10]
cmp eax, 0xd
je 0x41e75a
mov eax, dword [ebp - 0x10]
cmp eax, 0xc
je 0x41e75a
mov eax, dword [ebp - 0x10]
cmp eax, 6
je 0x41e75a
xor eax, eax
jmp 0x41e75d
xor eax, eax
inc eax
cmp eax, 0
je 0x41e766
jmp 0x41e76a
xor eax, eax
jmp 0x41e76d
xor eax, eax
inc eax
cmp eax, 0
jne 0x41e5ef
mov eax, dword [ebp + 0x24]
xor al, 1
cmp eax, 0
je 0x41e78d
mov eax, dword [ebp - 0x18]
xchg edx, eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov eax, dword [ebp + 8]
jmp 0x41e80d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x41e7ae
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
add eax, 0x10
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
cmp eax, edx
jb 0x41e54e
push 0
push 0x42642b
push 6
push 0xc
lea esi, [esp + 4]
push esi
push 1
call fcn.0040ebbd
push dword [ebp + 0x18]
call fcn.0041e445
push 0
push 0x42643f
push 6
push 0xc
lea esi, [esp + 4]
push esi
push 1
call fcn.0040ebd9
push 0
call dword [sym.imp.MSVCRT.DLL_exit]
add esp, 4
mov eax, 0
leave
ret 0x20