Function at 0x401848
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 0x401882
mov eax, dword [ebp + 0x14]
push eax
call fcn.00401548
pop ecx
test eax, eax
jne 0x4018c8
xor eax, eax
jmp 0x401beb
push esi
push edi
call sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401899
xor eax, eax
jmp 0x401beb
je 0x40189e
jne 0x40189e
jmp 0x40182a
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_LockResource
mov dword [0x49716c], eax
cmp dword [0x49716c], 0
jne 0x4018bc
xor eax, eax
jmp 0x401beb
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 [0x49716c]
push eax
push ebx
call fcn.00405db4
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 0x40196b
mov ecx, 0x447d5c
mov dword [ebp - 0xc], ecx
mov esi, dword [ebp - 0xc]
mov al, byte [esi]
cmp al, 0xcc
je 0x40196b
mov eax, sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
mov al, byte [esi]
cmp al, 0xcc
je 0x40196b
mov edx, sub.KERNEL32.DLL_FindResourceA
mov dword [ebp - 0x14], edx
mov esi, dword [ebp - 0x14]
mov al, byte [esi]
cmp al, 0xcc
je 0x40196b
mov ecx, sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp - 0x18]
mov al, byte [esi]
cmp al, 0xcc
je 0x40196b
lea edi, [ebp - 0x374]
mov esi, 0x497204
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.00403f34
add esp, 0x10
xor esi, esi
push 0x320
push ebx
lea eax, [ebp - 0x354]
push eax
call fcn.00405db4
add esp, 0xc
push 0x320
lea edx, [ebp - 0x354]
push edx
push ebx
call fcn.00405db4
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.00443774
test eax, eax
je 0x4019fb
mov ecx, dword [ebx + 0x224]
push ecx
lea eax, [ebx + 0xec]
push eax
add ebx, 0x11e
push ebx
push 0
call fcn.004017b4
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 0x401beb
mov al, byte [ebx + 0x238]
cmp al, 0xa
jb 0x401a6d
cmp al, 0x20
jae 0x401a6d
lea edx, [ebp - 0x478]
push edx
mov ecx, dword [ebx + 0x230]
push ecx
mov eax, dword [ebx + 0x234]
push eax
push esi
call fcn.00443a0c
test eax, eax
je 0x401a6d
mov edx, dword [ebx + 0x224]
push edx
lea ecx, [ebx + 0xec]
push ecx
add ebx, 0x11e
push ebx
push 0
call fcn.004017b4
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 0x401beb
lea edx, [ebp - 0x478]
lea ecx, [ebx + 0xe0]
push edx
push 0xc
push ecx
call fcn.00403eb8
add esp, 0xc
test eax, eax
jne 0x401a90
xor eax, eax
jmp 0x401beb
lea edx, [ebp - 0x478]
push edx
push 0xe0
push ebx
call fcn.00403eb8
add esp, 0xc
test eax, eax
jne 0x401ab0
xor eax, eax
jmp 0x401beb
lea edx, [ebx + 0x2bc]
push edx
push 0xe0
push ebx
call fcn.00404058
add esp, 0xc
mov ecx, dword [ebx + 0xe0]
push ecx
push 0x497401
lea eax, [ebp - 0x24]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
mov edx, dword [ebx + 0xe4]
push edx
push 0x497404
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.004031b4
add esp, 0x1c
test eax, eax
jne 0x401b30
inc esi
jmp 0x401982
cmp byte [ebx + 0x11], 0
je 0x401b50
lea eax, [ebp - 0x478]
push eax
push ebx
call fcn.00401388
add esp, 8
test eax, eax
jne 0x401b50
inc esi
jmp 0x401982
cmp byte [ebx + 0x13], 0
je 0x401b70
lea edx, [ebp - 0x478]
push edx
push ebx
call fcn.00401414
add esp, 8
test eax, eax
jne 0x401b70
inc esi
jmp 0x401982
lea ecx, [ebp - 0x478]
lea eax, [ebp - 0x30]
push ecx
push eax
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x31]
push edx
push 0
push ecx
call fcn.004436bc
test eax, eax
jne 0x401ba5
lea eax, [ebp - 0x478]
push eax
mov edx, dword [ebp + 0x10]
push edx
call sub.KERNEL32.DLL_lstrcpyA
mov eax, 1
jmp 0x401beb
inc esi
jmp 0x401982
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret