Function at 0x401a1c
Capabilities:
Extract resource via kernel32 functions
Terminate process

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x401a25
mov eax, dword [ebp - 4]
add esp, 0xfffffb84
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 0x401a69
mov eax, dword [ebp + 0x14]
push eax
call fcn.0040161c
pop ecx
test eax, eax
jne 0x401aaa
xor eax, eax
jmp 0x401db8
push esi
push edi
call sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401a80
xor eax, eax
jmp 0x401db8
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_LockResource
mov dword [0x49016c], eax
cmp dword [0x49016c], 0
jne 0x401a9e
xor eax, eax
jmp 0x401db8
push esi
push edi
call sub.KERNEL32.DLL_SizeofResource
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
push 0x232c
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
sub eax, 0x232c
add eax, dword [0x49016c]
push eax
push ebx
call fcn.004051b8
add esp, 0xc
call sub.KERNEL32.DLL_GetTickCount
mov ecx, 0x3ff
xor edx, edx
div ecx
mov dword [0x4a8794], edx
mov esi, 0x490e3a
lea edi, [ebp - 0x236c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
push 0x1d0
lea eax, [ebp - 0x236c]
push eax
push 0x64
lea edx, [ebx + 0xf8]
push edx
call fcn.00403ab8
add esp, 0x10
xor esi, esi
push 0x232c
push ebx
lea eax, [ebp - 0x234c]
push eax
call fcn.004051b8
add esp, 0xc
push 0x232c
lea edx, [ebp - 0x234c]
push edx
push ebx
call fcn.004051b8
add esp, 0xc
lea ecx, [ebp - 0x2470]
push ecx
mov eax, dword [ebx + 0x234]
push eax
mov edx, dword [ebx + 0x238]
push edx
push esi
call fcn.0043e360
test eax, eax
je 0x401b9c
mov ecx, dword [ebx + 0x230]
push ecx
lea eax, [ebx + 0xf8]
push eax
add ebx, 0x12a
push ebx
push 0
call fcn.00401984
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 0x401db8
mov al, byte [ebx + 0x244]
cmp al, 0xa
jb 0x401c0e
cmp al, 0x20
jae 0x401c0e
lea edx, [ebp - 0x2470]
push edx
mov ecx, dword [ebx + 0x23c]
push ecx
mov eax, dword [ebx + 0x240]
push eax
push esi
call fcn.0043e650
test eax, eax
je 0x401c0e
mov edx, dword [ebx + 0x230]
push edx
lea ecx, [ebx + 0xf8]
push ecx
add ebx, 0x12a
push ebx
push 0
call fcn.00401984
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 0x401db8
lea edx, [ebp - 0x2470]
lea ecx, [ebx + 0xec]
push edx
push 0xc
push ecx
call fcn.00403a2c
add esp, 0xc
test eax, eax
jne 0x401c31
xor eax, eax
jmp 0x401db8
lea edx, [ebp - 0x2470]
push edx
push 0xec
push ebx
call fcn.00403a2c
add esp, 0xc
test eax, eax
jne 0x401c51
xor eax, eax
jmp 0x401db8
lea edx, [ebx + 0x2c8]
push edx
push 0xec
push ebx
call fcn.00403bdc
add esp, 0xc
mov ecx, dword [ebx + 0xec]
push ecx
push 0x491067
lea eax, [ebp - 0x10]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
mov edx, dword [ebx + 0xf0]
push edx
push 0x49106a
lea ecx, [ebp - 0x1c]
push ecx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea eax, [ebp - 0x2470]
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push eax
push 0
push edx
push ecx
xor eax, eax
xor edx, edx
mov al, byte [ebx + 0xf5]
xor ecx, ecx
push eax
mov dl, byte [ebx + 0xf6]
push edx
mov cl, byte [ebx + 1]
push ecx
call fcn.00402d00
add esp, 0x1c
test eax, eax
jne 0x401cd1
inc esi
jmp 0x401b23
cmp byte [ebx + 0x11], 0
je 0x401cf1
lea eax, [ebp - 0x2470]
push eax
push ebx
call fcn.004015a8
add esp, 8
test eax, eax
jne 0x401cf1
inc esi
jmp 0x401b23
cmp byte [ebx + 0x12], 0
je 0x401d11
lea edx, [ebp - 0x2470]
push edx
push ebx
call fcn.0040151c
add esp, 8
test eax, eax
jne 0x401d11
inc esi
jmp 0x401b23
lea ecx, [ebp - 0x2470]
lea eax, [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x1d]
push edx
push 0
push ecx
call fcn.0043e2e8
test eax, eax
jne 0x401d72
lea eax, [ebp - 0x2470]
push eax
mov edx, dword [ebp + 0x10]
push edx
call sub.KERNEL32.DLL_lstrcpyA
cmp byte [ebx + 0x13], 0
je 0x401d53
lea ecx, [ebp - 0x2470]
push ecx
push ebx
call dword [0x4a87b4]
push 0x10
add ebx, 0x2318
push ebx
lea eax, [ebp - 0x2480]
push eax
call fcn.004051b8
add esp, 0xc
mov eax, 1
jmp 0x401db8
inc esi
jmp 0x401b23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret