Function at 0x40170c
Capabilities:
Check for software breakpoints
Extract resource via kernel32 functions
Terminate process

Disassembly:
invalid
push ebp
mov ebp, esp
add esp, 0xfffffccc
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0x2349
push 0x68
push edi
call sub.KERNEL32.DLL_FindResourceA
mov esi, eax
test esi, esi
jne 0x401746
mov eax, dword [ebp + 0x14]
push eax
call fcn.0040140c
pop ecx
test eax, eax
jne 0x40178c
xor eax, eax
jmp 0x401a84
push esi
push edi
call sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40175d
xor eax, eax
jmp 0x401a84
je 0x401762
jne 0x401762
jmp 0x4016ee
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_LockResource
mov dword [0x46a16c], eax
cmp dword [0x46a16c], 0
jne 0x401780
xor eax, eax
jmp 0x401a84
push esi
push edi
call sub.KERNEL32.DLL_SizeofResource
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
push 0x1dc
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
sub eax, 0x1dc
add eax, dword [0x46a16c]
push eax
push ebx
call fcn.00405bcc
add esp, 0xc
mov edx, sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 8], edx
mov esi, dword [ebp - 8]
mov al, byte [esi]
cmp al, 0xcc
je 0x40182f
mov ecx, 0x419fb8
mov dword [ebp - 0xc], ecx
mov esi, dword [ebp - 0xc]
mov al, byte [esi]
cmp al, 0xcc
je 0x40182f
mov eax, sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
mov al, byte [esi]
cmp al, 0xcc
je 0x40182f
mov edx, sub.KERNEL32.DLL_FindResourceA
mov dword [ebp - 0x14], edx
mov esi, dword [ebp - 0x14]
mov al, byte [esi]
cmp al, 0xcc
je 0x40182f
mov ecx, sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp - 0x18]
mov al, byte [esi]
cmp al, 0xcc
je 0x40182f
lea edi, [ebp - 0x230]
mov esi, 0x46a180
mov ecx, 8
lea eax, [ebp - 0x230]
rep movsd dword es:[edi], dword [esi]
push 0x130
push eax
lea edx, [ebx + 0xac]
push 0x64
push edx
call fcn.00403d5c
add esp, 0x10
xor esi, esi
push 0x1dc
push ebx
lea eax, [ebp - 0x210]
push eax
call fcn.00405bcc
add esp, 0xc
push 0x1dc
lea edx, [ebp - 0x210]
push edx
push ebx
call fcn.00405bcc
add esp, 0xc
lea ecx, [ebp - 0x334]
push ecx
mov eax, dword [ebx + 0x1c8]
push eax
mov edx, dword [ebx + 0x1cc]
push edx
push esi
call fcn.0040dab0
test eax, eax
je 0x4018bf
mov ecx, dword [ebx + 0x1c4]
push ecx
lea eax, [ebx + 0xac]
push eax
add ebx, 0xc0
push ebx
push 0
call fcn.00401678
add esp, 0x10
call sub.KERNEL32.DLL_GetCurrentProcessId
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
mov ebx, eax
push 0
push ebx
call sub.KERNEL32.DLL_TerminateProcess
push ebx
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x401a84
mov al, byte [ebx + 0x1d8]
cmp al, 0xa
jb 0x401931
cmp al, 0x20
jae 0x401931
lea edx, [ebp - 0x334]
push edx
mov ecx, dword [ebx + 0x1d0]
push ecx
mov eax, dword [ebx + 0x1d4]
push eax
push esi
call fcn.0040dd48
test eax, eax
je 0x401931
mov edx, dword [ebx + 0x1c4]
push edx
lea ecx, [ebx + 0xac]
push ecx
add ebx, 0xc0
push ebx
push 0
call fcn.00401678
add esp, 0x10
call sub.KERNEL32.DLL_GetCurrentProcessId
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
mov ebx, eax
push 0
push ebx
call sub.KERNEL32.DLL_TerminateProcess
push ebx
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x401a84
lea edx, [ebp - 0x334]
lea ecx, [ebx + 0xa0]
push edx
push 0xc
push ecx
call fcn.00403ce0
add esp, 0xc
test eax, eax
jne 0x401954
xor eax, eax
jmp 0x401a84
lea edx, [ebp - 0x334]
push edx
push 0xa0
push ebx
call fcn.00403ce0
add esp, 0xc
test eax, eax
jne 0x401974
xor eax, eax
jmp 0x401a84
push ebx
push ebx
call fcn.00403e80
add esp, 8
mov edx, dword [ebx + 0xa0]
push edx
push 0x46a375
lea ecx, [ebp - 0x24]
push ecx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
mov eax, dword [ebx + 0xa4]
push eax
push 0x46a378
lea edx, [ebp - 0x30]
push edx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea ecx, [ebp - 0x334]
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x24]
push ecx
push 0
push eax
push edx
xor ecx, ecx
xor eax, eax
mov cl, byte [ebx + 0xa9]
xor edx, edx
push ecx
mov al, byte [ebx + 0xaa]
push eax
mov dl, byte [ebx + 1]
push edx
call fcn.00402fdc
add esp, 0x1c
test eax, eax
jne 0x4019e9
inc esi
jmp 0x401846
cmp byte [ebx + 0x11], 0
je 0x401a09
lea ecx, [ebp - 0x334]
push ecx
push ebx
call fcn.00401380
add esp, 8
test eax, eax
jne 0x401a09
inc esi
jmp 0x401846
lea eax, [ebp - 0x334]
lea edx, [ebp - 0x30]
push eax
push edx
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x31]
push ecx
push 0
push eax
call fcn.0040d9f8
test eax, eax
jne 0x401a3e
lea edx, [ebp - 0x334]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
call sub.KERNEL32.DLL_lstrcpyA
mov eax, 1
jmp 0x401a84
inc esi
jmp 0x401846
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret