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

Disassembly:
invalid
push ebp
mov ebp, esp
add esp, 0xfffffb88
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 0x40198a
mov eax, dword [ebp + 0x14]
push eax
call fcn.004015a8
pop ecx
test eax, eax
jne 0x4019d0
xor eax, eax
jmp 0x401ce7
push esi
push edi
call sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4019a1
xor eax, eax
jmp 0x401ce7
je 0x4019a6
jne 0x4019a6
jmp 0x401932
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_LockResource
mov dword [0x49216c], eax
cmp dword [0x49216c], 0
jne 0x4019c4
xor eax, eax
jmp 0x401ce7
push esi
push edi
call sub.KERNEL32.DLL_SizeofResource
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
push 0x320
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
sub eax, 0x320
add eax, dword [0x49216c]
push eax
push ebx
call fcn.00405eb8
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 0x401a73
mov ecx, 0x442140
mov dword [ebp - 0xc], ecx
mov esi, dword [ebp - 0xc]
mov al, byte [esi]
cmp al, 0xcc
je 0x401a73
mov eax, sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
mov al, byte [esi]
cmp al, 0xcc
je 0x401a73
mov edx, sub.KERNEL32.DLL_FindResourceA
mov dword [ebp - 0x14], edx
mov esi, dword [ebp - 0x14]
mov al, byte [esi]
cmp al, 0xcc
je 0x401a73
mov ecx, sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp - 0x18]
mov al, byte [esi]
cmp al, 0xcc
je 0x401a73
lea edi, [ebp - 0x374]
mov esi, 0x492e3a
mov ecx, 8
lea eax, [ebp - 0x374]
rep movsd dword es:[edi], dword [esi]
push 0x1d0
push eax
lea edx, [ebx + 0xec]
push 0x64
push edx
call fcn.00404038
add esp, 0x10
xor esi, esi
push 0x320
push ebx
lea eax, [ebp - 0x354]
push eax
call fcn.00405eb8
add esp, 0xc
push 0x320
lea edx, [ebp - 0x354]
push edx
push ebx
call fcn.00405eb8
add esp, 0xc
lea ecx, [ebp - 0x478]
push ecx
mov eax, dword [ebx + 0x228]
push eax
mov edx, dword [ebx + 0x22c]
push edx
push esi
call fcn.0043df64
test eax, eax
je 0x401b03
mov ecx, dword [ebx + 0x224]
push ecx
lea eax, [ebx + 0xec]
push eax
add ebx, 0x11e
push ebx
push 0
call fcn.004018bc
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 0x401ce7
mov al, byte [ebx + 0x238]
cmp al, 0xa
jb 0x401b75
cmp al, 0x20
jae 0x401b75
lea edx, [ebp - 0x478]
push edx
mov ecx, dword [ebx + 0x230]
push ecx
mov eax, dword [ebx + 0x234]
push eax
push esi
call fcn.0043e1fc
test eax, eax
je 0x401b75
mov edx, dword [ebx + 0x224]
push edx
lea ecx, [ebx + 0xec]
push ecx
add ebx, 0x11e
push ebx
push 0
call fcn.004018bc
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 0x401ce7
lea edx, [ebp - 0x478]
lea ecx, [ebx + 0xe0]
push edx
push 0xc
push ecx
call fcn.00403fbc
add esp, 0xc
test eax, eax
jne 0x401b98
xor eax, eax
jmp 0x401ce7
lea edx, [ebp - 0x478]
push edx
push 0xe0
push ebx
call fcn.00403fbc
add esp, 0xc
test eax, eax
jne 0x401bb8
xor eax, eax
jmp 0x401ce7
lea edx, [ebx + 0x2bc]
push edx
push 0xe0
push ebx
call fcn.0040415c
add esp, 0xc
mov ecx, dword [ebx + 0xe0]
push ecx
push 0x493067
lea eax, [ebp - 0x24]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
mov edx, dword [ebx + 0xe4]
push edx
push 0x49306a
lea ecx, [ebp - 0x30]
push ecx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea eax, [ebp - 0x478]
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x24]
push eax
push 0
push edx
push ecx
xor eax, eax
xor edx, edx
mov al, byte [ebx + 0xe9]
xor ecx, ecx
push eax
mov dl, byte [ebx + 0xea]
push edx
mov cl, byte [ebx + 1]
push ecx
call fcn.004032b8
add esp, 0x1c
test eax, eax
jne 0x401c38
inc esi
jmp 0x401a8a
cmp byte [ebx + 0x11], 0
je 0x401c58
lea eax, [ebp - 0x478]
push eax
push ebx
call fcn.0040151c
add esp, 8
test eax, eax
jne 0x401c58
inc esi
jmp 0x401a8a
lea edx, [ebp - 0x478]
lea ecx, [ebp - 0x30]
push edx
push ecx
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x31]
push eax
push 0
push edx
call fcn.0043deac
test eax, eax
jne 0x401ca1
lea ecx, [ebp - 0x478]
push ecx
mov eax, dword [ebp + 0x10]
push eax
call sub.KERNEL32.DLL_lstrcpyA
cmp byte [ebx + 0x13], 0
je 0x401c9a
lea edx, [ebp - 0x478]
push edx
push ebx
call dword [0x4aad40]
mov eax, 1
jmp 0x401ce7
inc esi
jmp 0x401a8a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret