Function at 0x42d240
Capabilities:
Create process on windows
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x48acb8
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4bcb20]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x818]
mov edx, dword [ebp + 0x81c]
mov eax, dword [ebp + 0x810]
mov ebx, dword [ebp + 0x814]
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
push 0x3fe
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x820]
push ecx
lea edx, [ebp + 2]
push edx
mov dword [ebp - 0x24], eax
mov word [ebp], cx
call fcn.00465ec0
lea eax, [ebx + 0x3e]
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], eax
call fcn.004263b0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42d31c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x42d31c
lea eax, [esi + esi]
call fcn.00466b50
mov edi, esp
test edi, edi
je 0x42d31c
mov ecx, dword [ebp - 0x14]
push esi
push edi
push 0xffffffffffffffff
xor eax, eax
push ecx
push eax
push 3
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
jmp 0x42d31e
xor eax, eax
push eax
lea edx, [ebp]
push str.ODMGuard__s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp]
push eax
push 0xed2
push 0
push 4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x42d584
cmp esi, 0xffffffff
je 0x42d584
push 0
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x42d399
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x42d59e
push 0xed2
push 0
push edi
call fcn.00465ec0
mov ecx, dword [ebp + 0x80c]
add esp, 0xc
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x200
mov dword [edi + 8], eax
push edx
lea eax, [edi + 0xc]
push eax
call esi
mov ecx, dword [ebp - 0x2c]
push 0x200
push ecx
lea edx, [edi + 0x214]
push edx
call esi
mov eax, dword [ebp - 0x28]
push 0x200
push eax
lea ecx, [edi + 0x41c]
push ecx
call esi
add edi, 0x624
mov esi, ebx
mov ecx, 0x22b
rep movsd dword es:[edi], dword [esi]
push 0x3fe
xor ebx, ebx
lea eax, [ebp + 0x402]
xor edx, edx
push ebx
movsw word es:[edi], word [esi]
push eax
mov word [ebp + 0x400], dx
call fcn.00465ec0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push ecx
lea ecx, [ebp - 0x18]
call fcn.004263b0
mov eax, dword [ebp - 0x18]
mov edi, eax
cmp eax, ebx
jne 0x42d446
xor eax, eax
jmp 0x42d470
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x42d45c
xor eax, eax
jmp 0x42d470
lea eax, [esi + esi]
call fcn.00466b50
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00418590
mov edx, dword [ebp - 0x20]
push eax
push str._ODMRecycle
push edx
lea eax, [ebp + 0x400]
push 0x492be0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x44
lea ecx, [ebp - 0xa8]
push ebx
push ecx
call fcn.00465ec0
add esp, 0x20
xor eax, eax
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xa8]
push eax
push ebx
push ebx
push 0x30
push 1
push ebx
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp + 0x400]
push edx
push ebx
mov dword [ebp - 0xa8], 0x44
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x48], 0xc
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x44], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42d50e
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.00420920
lea ecx, [ebp - 0x10]
call fcn.00420920
jmp 0x42d5aa
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x64]
push ecx
call esi
test eax, eax
je 0x42d555
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ecx, [ecx]
cmp dword [ebp - 0x60], 0x844
je 0x42d555
lea edx, [ebp - 0x64]
push edx
call edi
lea eax, [ebp - 0x64]
push eax
call ebx
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
call esi
test eax, eax
jne 0x42d530
mov edx, dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x3c]
push eax
call esi
mov ecx, dword [ebp - 0x14]
push ecx
call esi
lea ecx, [ebp - 0x18]
call fcn.00420920
lea ecx, [ebp - 0x10]
call fcn.00420920
mov eax, 1
jmp 0x42d5ac
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d5aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
lea esp, [ebp - 0xb8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00466b40
add ebp, 0x804
mov esp, ebp
pop ebp
ret