Function at 0x401730
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 0x40176a
mov eax, dword [ebp + 0x14]
push eax
call fcn.00401430
pop ecx
test eax, eax
jne 0x4017b0
xor eax, eax
jmp 0x401aa8
push esi
push edi
call sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401781
xor eax, eax
jmp 0x401aa8
je 0x401786
jne 0x401786
jmp 0x401712
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_LockResource
mov dword [0x46a16c], eax
cmp dword [0x46a16c], 0
jne 0x4017a4
xor eax, eax
jmp 0x401aa8
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.00405c40
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 0x401853
mov ecx, 0x41a02c
mov dword [ebp - 0xc], ecx
mov esi, dword [ebp - 0xc]
mov al, byte [esi]
cmp al, 0xcc
je 0x401853
mov eax, sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
mov al, byte [esi]
cmp al, 0xcc
je 0x401853
mov edx, sub.KERNEL32.DLL_FindResourceA
mov dword [ebp - 0x14], edx
mov esi, dword [ebp - 0x14]
mov al, byte [esi]
cmp al, 0xcc
je 0x401853
mov ecx, sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp - 0x18]
mov al, byte [esi]
cmp al, 0xcc
je 0x401853
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.00403dd0
add esp, 0x10
xor esi, esi
push 0x1dc
push ebx
lea eax, [ebp - 0x210]
push eax
call fcn.00405c40
add esp, 0xc
push 0x1dc
lea edx, [ebp - 0x210]
push edx
push ebx
call fcn.00405c40
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.0040db24
test eax, eax
je 0x4018e3
mov ecx, dword [ebx + 0x1c4]
push ecx
lea eax, [ebx + 0xac]
push eax
add ebx, 0xc0
push ebx
push 0
call fcn.0040169c
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 0x401aa8
mov al, byte [ebx + 0x1d8]
cmp al, 0xa
jb 0x401955
cmp al, 0x20
jae 0x401955
lea edx, [ebp - 0x334]
push edx
mov ecx, dword [ebx + 0x1d0]
push ecx
mov eax, dword [ebx + 0x1d4]
push eax
push esi
call fcn.0040ddbc
test eax, eax
je 0x401955
mov edx, dword [ebx + 0x1c4]
push edx
lea ecx, [ebx + 0xac]
push ecx
add ebx, 0xc0
push ebx
push 0
call fcn.0040169c
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 0x401aa8
lea edx, [ebp - 0x334]
lea ecx, [ebx + 0xa0]
push edx
push 0xc
push ecx
call fcn.00403d54
add esp, 0xc
test eax, eax
jne 0x401978
xor eax, eax
jmp 0x401aa8
lea edx, [ebp - 0x334]
push edx
push 0xa0
push ebx
call fcn.00403d54
add esp, 0xc
test eax, eax
jne 0x401998
xor eax, eax
jmp 0x401aa8
push ebx
push ebx
call fcn.00403ef4
add esp, 8
mov edx, dword [ebx + 0xa0]
push edx
push 0x46a393
lea ecx, [ebp - 0x24]
push ecx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
mov eax, dword [ebx + 0xa4]
push eax
push 0x46a396
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.00403024
add esp, 0x1c
test eax, eax
jne 0x401a0d
inc esi
jmp 0x40186a
cmp byte [ebx + 0x11], 0
je 0x401a2d
lea ecx, [ebp - 0x334]
push ecx
push ebx
call fcn.004013a4
add esp, 8
test eax, eax
jne 0x401a2d
inc esi
jmp 0x40186a
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.0040da6c
test eax, eax
jne 0x401a62
lea edx, [ebp - 0x334]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
call sub.KERNEL32.DLL_lstrcpyA
mov eax, 1
jmp 0x401aa8
inc esi
jmp 0x40186a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret