Function at 0x41eb76
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
sub esp, 0x48
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x19
je 0x41eb93
xor eax, eax
jmp 0x41eb96
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
jne 0x41ebb8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x13
je 0x41ebb8
xor eax, eax
jmp 0x41ebbb
xor eax, eax
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0
je 0x41ebdb
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov eax, dword [eax]
jmp 0x41ebe6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, 0
mov edx, dword [ebp + 0x14]
cmp eax, edx
je 0x41ec17
xor eax, eax
jmp 0x41ec1a
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
je 0x41ec49
push dword [ebp + 0x14]
call fcn.00411ab8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
add eax, 0x10
mov edx, dword [ebp - 0x24]
cmp eax, edx
jne 0x41ec49
mov eax, 0
mov dword [ebp + 0x14], 0
mov eax, 0
mov dword [ebp - 0x34], 0
mov eax, 1
mov dword [ebp - 0x30], 1
mov eax, 0xffffffff
mov dword [ebp - 0x3c], 0xffffffff
mov eax, 0xffffffff
mov dword [ebp - 0x38], 0xffffffff
mov eax, 0xffffffff
mov dword [0x4222a0], 0xffffffff
xor eax, eax
inc eax
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0xc]
xor al, 1
cmp eax, 0
je 0x41ecbe
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
sub eax, edx
mov dword [ebp - 0x40], eax
mov eax, esp
mov edx, eax
mov eax, dword [ebp - 0x40]
shl eax, 2
xchg edx, eax
sub eax, edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov esp, eax
jmp 0x41ee97
mov eax, dword [0x42229c]
cmp eax, 0
jle 0x41ecf5
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
push eax
push 2
push 0
push 0x426498
push 6
push 0x18
lea esi, [esp + 4]
push esi
push 2
call fcn.0040ebd9
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xc
je 0x41ed34
cmp eax, 0xd
je 0x41ed34
cmp eax, 0xa
je 0x41ed34
cmp eax, 0xe
je 0x41ee16
cmp eax, 0xb
je 0x41ee56
mov eax, 0
jmp 0x41ee8c
mov eax, dword [ebp - 0x2c]
cmp eax, 0
je 0x41ee05
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
cmp eax, edx
jb 0x41ed6e
push 0
push 0x4264b0
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 - 0x14]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xa
jne 0x41edac
mov eax, dword [0x42229c]
cmp eax, 0
jle 0x41ed95
push 0x4264db
call fcn.0041e410
xor eax, eax
inc eax
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0041f5da
mov dword [ebp + 0xc], eax
jmp 0x41edfc
mov eax, dword [0x42229c]
cmp eax, 0
jle 0x41edc2
push 0x4264ef
call fcn.0041e410
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xd
jne 0x41ede9
call fcn.0041e381
push eax
push dword [ebp + 0xc]
call fcn.00417a92
push eax
call fcn.00410298
jmp 0x41edf1
push dword [ebp + 0xc]
call fcn.0041e3d6
mov eax, dword [ebp + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
jmp 0x41ee14
mov eax, dword [ebp - 0xc]
cmp eax, 0
je 0x41ee14
call fcn.00411501
jmp 0x41ee8c
mov eax, dword [ebp - 0x2c]
cmp eax, 0
je 0x41ee29
xor eax, eax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xc]
cmp eax, 0
je 0x41ee3d
xor eax, eax
push eax
call fcn.004117ad
jmp 0x41ee54
mov eax, 0xffffffff
xchg edx, eax
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x30]
dec edi
mov dword [eax + edi*4], edx
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
jmp 0x41ee8c
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x41ee8c
push 1
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
call fcn.00413062
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
call fcn.00417a92
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov dword [0x4222a0], eax
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jb 0x41ecc3
mov eax, dword [ebp - 0x10]
xor al, 1
cmp eax, 0
je 0x41ef4f
mov eax, dword [ebp + 0x14]
cmp eax, 0
je 0x41ef4f
mov eax, dword [ebp + 0x18]
add eax, 0x10
mov dword [ebp + 0x18], eax
jmp 0x41ef45
push dword [ebp - 0xc]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0041e51e
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0xc]
xor al, 1
cmp eax, 0
je 0x41ef3a
mov eax, dword [ebp - 0x3c]
cmp eax, 0
jle 0x41ef2a
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
add eax, edx
dec eax
mov edx, eax
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x38]
dec edi
mov dword [eax + edi*4], edx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
add eax, edx
mov dword [ebp - 0x34], eax
jmp 0x41ef3a
mov eax, 0
xchg edx, eax
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x38]
dec edi
mov dword [eax + edi*4], edx
mov eax, dword [ebp + 0x18]
add eax, 0x10
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x24]
cmp eax, edx
jb 0x41eed0
mov eax, dword [ebp - 0xc]
xor al, 1
cmp eax, 0
je 0x41ef71
mov eax, dword [ebp - 0x44]
mov esp, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
call eax
mov eax, dword [ebp + 0xc]
leave
ret 0x14