Function at 0x41563b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
sub esp, 0x5c
push dword [ebp + 8]
call fcn.0041e3d6
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
xchg edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
xchg edx, eax
cmp eax, edx
jne 0x415687
mov eax, 3
xchg edx, eax
mov eax, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 0x20]
jmp 0x41601e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0x1f
mov dword [ebp - 0x30], eax
mov eax, 1
mov dword [ebp - 0x50], 1
xor eax, eax
mov dword [ebp - 0x58], 0
mov eax, dword [ebp + 0x1c]
cmp eax, 0
jne 0x4156c4
mov eax, dword [ebp + 0x20]
mov edx, dword [0x422250]
cmp eax, edx
ja 0x4156c4
xor eax, eax
jmp 0x4156c7
xor eax, eax
inc eax
cmp eax, 0
je 0x4156f0
push 0
push 0x425c0c
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 + 0x24]
mov edx, dword [0x422250]
cmp eax, edx
jbe 0x415709
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [0x422250]
cmp eax, edx
jbe 0x415816
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 7
jne 0x41577c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 8]
cmp eax, 0
jg 0x415754
mov eax, 3
xchg edx, eax
mov eax, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 0x20]
jmp 0x41601e
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 8]
dec eax
push eax
mov eax, dword [ebp - 0x30]
sar eax, 1
pop edx
xchg edx, eax
mov cl, dl
shl eax, cl
xchg edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
add eax, edx
jmp 0x415809
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
and eax, 0xff
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0xff
pop edx
xchg edx, eax
cmp eax, edx
jne 0x4157b7
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
xchg edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
xchg edx, eax
cmp eax, edx
jne 0x4157b7
jmp 0x4157bb
xor eax, eax
jmp 0x4157be
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
je 0x4157e9
push 0
push 0x425c30
push 6
push 0xc
lea esi, [esp + 4]
push esi
push 1
call fcn.0040ebbd
push 0
call dword [sym.imp.MSVCRT.DLL_exit]
add esp, 4
mov eax, dword [ebp - 0x30]
sar eax, 1
xchg edx, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov cl, dl
shl eax, cl
xchg edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
add eax, edx
mov dword [ebp - 0x54], eax
xor eax, eax
inc eax
mov dword [ebp - 0x58], 1
mov eax, dword [ebp + 0x28]
cmp eax, 0
je 0x41585e
mov eax, 0
mov edx, dword [ebp - 0x50]
sub eax, edx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x58]
cmp eax, 0
je 0x41583c
mov eax, dword [ebp - 0x54]
jmp 0x41584a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x30]
sub eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
jmp 0x41592d
mov eax, dword [ebp + 0x2c]
cmp eax, 0
je 0x4158d5
mov eax, 0
mov edx, dword [ebp - 0x50]
sub eax, edx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x58]
cmp eax, 0
je 0x415884
mov eax, dword [ebp - 0x54]
jmp 0x4158a7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
dec eax
push eax
mov eax, dword [ebp - 0x30]
sar eax, 1
pop edx
xchg edx, eax
mov cl, dl
shl eax, cl
xchg edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jae 0x4158d3
mov eax, 3
xchg edx, eax
mov eax, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 0x20]
jmp 0x41601e
jmp 0x41592d
xor eax, eax
inc eax
je 0x41591f
mov eax, dword [ebp - 0x30]
sar eax, 1
xchg edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov cl, dl
shl eax, cl
xchg edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x58]
cmp eax, 0
je 0x415911
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x30]
add eax, edx
jmp 0x41591a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], eax
jmp 0x41592d
call fcn.00415924