Function at 0x4124f4
Capabilities:
Terminate process

Disassembly:
dec dword [ebx - 0xdf7b]
dec dword [ecx - 0xdb7b]
inc dword [ebx + 0x4c7f4c4]
and al, 0
add byte [eax], al
add byte [ebx - 0xdb7b], cl
dec dword [ecx - 0x38fbdbbc]
inc esp
and al, 8
add al, 1
add byte [eax], al
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call eax
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xdc]
mov ecx, eax
call fcn.0041237f
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
imul eax, eax, 2
add eax, dword [ebp - 0xdc]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
test eax, eax
je 0x412658
mov eax, dword [ebp - 0xdc]
mov ecx, eax
call fcn.004123e4
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov byte [ebp - 0xfc], al
movzx eax, byte [ebp - 0xfc]
movzx eax, al
mov edx, dword [ebp - 0xc8]
movzx edx, byte [edx]
movzx edx, dl
cmp eax, edx
je 0x4125f0
movzx eax, byte [ebp - 0xfc]
movzx eax, al
mov edx, 1
add edx, dword [ebp - 0xc8]
movzx edx, byte [edx]
movzx edx, dl
cmp eax, edx
je 0x4125f0
push eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov eax, dword [ebp - 0xdc]
mov ecx, eax
call fcn.00412419
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x90], eax
mov eax, 4
add eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0xc8]
mov edx, dword [edx]
cmp eax, edx
je 0x412658
mov eax, dword [ebp - 0x90]
mov edx, 4
add edx, dword [ebp - 0xc8]
mov edx, dword [edx]
cmp eax, edx
je 0x412658
push eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 4
mov dword [ebp - 0xb4], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xac], eax
add esp, 0xfffffff4
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_HeapAlloc]
call eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x98], eax
push eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x88], eax
add esp, 0xfffffff8
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x7c], eax
add esp, 0xfffffff8
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x70], eax
add esp, 0xfffffff8
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x58]
add esp, 0xffffffec
mov edx, dword [ebp - 0x54]
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x412ac5
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x4c]
add esp, 0xffffffe8
mov edx, dword [ebp - 0x64]
mov dword [esp], edx
mov edx, dword [ebp - 0x48]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0
call eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x412ac5
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
add esp, 0xfffffff0
mov edx, dword [ebp - 0x60]
mov dword [esp], edx
mov edx, dword [ebp - 0xc0]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x38]
mov dword [esp + 8], edx
lea edx, [ebp - 0x5c]
mov dword [esp + 0xc], edx
call eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4128dc
mov eax, dword [ebp - 0x5c]
test eax, eax
jbe 0x4128dc
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc0], eax
jmp 0x412882
mov eax, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xa0]
cmp eax, edx
je 0x412ac5
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
cmp eax, 0x14
jge 0x41294b
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
add edx, dword [eax]
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0xc0]
mov dword [eax], edx
mov eax, 4
add eax, dword [ebp - 0xb8]
mov dword [ebp - 0xb8], eax
jmp 0x412905
add esp, 0xfffffff8
mov eax, dword [ebp - 0xec]
mov dword [esp], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x412ac5
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x9c]
add esp, 0xfffffff0
mov dword [esp], 0
mov edx, dword [ebp - 0x24]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1000
mov edx, dword [ebp - 0x20]
mov dword [esp + 0xc], edx
call eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xa0], eax
mov eax, 4
add eax, dword [ebp - 0xa0]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xb8], 8
mov eax, dword [ebp - 0xb8]
cmp eax, 0x8000
jge 0x412a4b
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x30]
add edx, dword [eax]
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0xb4]
mov dword [eax], edx
mov eax, 4
add eax, dword [ebp - 0xb8]
mov dword [ebp - 0xb8], eax
jmp 0x412a0c
invalid
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, 8
add edx, dword [ebp - 0xb4]
mov dword [edx], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0xb4]
mov edx, 0xc
add edx, dword [ebp - 0xb4]
add eax, dword [edx]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp - 0xb4]
mov dword [esp], edx
call eax
add esp, 4
push eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
nop
nop
nop
sub eax, edx
cmp eax, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1ac4]
jb 0x412a1d
jmp 0x412d82
test edi, edi
jne 0x412de9
test esi, esi
je 0x412dae
push 5
pop ebx
cmp esi, ebx
jne 0x412da5
call fcn.0040bb3f
mov dword [eax], 9
call fcn.0040bb0b
mov dword [eax], ebx
jmp 0x412de4
push esi
call fcn.0040bb1e
pop ecx
jmp 0x412de4
mov eax, dword [ebp - 0x1ad0]
mov ecx, dword [ebp - 0x1aec]
mov eax, dword [eax*4 + 0x421c58]
test byte [ecx + eax + 4], 0x40
je 0x412dd1
cmp byte [edx], 0x1a
jne 0x412dd1
xor eax, eax
jmp 0x412df1
call fcn.0040bb3f
mov dword [eax], 0x1c
call fcn.0040bb0b
and dword [eax], 0
or eax, 0xffffffff
jmp 0x412df1
sub edi, dword [ebp - 0x1ad4]
mov eax, edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00409cfb
leave
ret