Function at 0x40f210
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [str.0x00000000_n]
mov ecx, dword [0x6a9648]
mov edx, dword [0x6a964c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
mov edi, dword [0x73de5c]
mov dword [esp + 0x30], eax
mov eax, dword [0x6a9650]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x6a9654]
mov dword [esp + 0x38], edx
mov edx, dword [0x6a9658]
push str._WARNING___PE_SIGNATURE_VERIFICATION_FAILED_____n_Filename:
mov dword [esp + 0xc], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
call esi
mov eax, dword [ebp + 8]
push eax
call esi
push str._n_Error:
call esi
mov eax, ebx
shr eax, 0x1c
and eax, 0xf
cmp ax, 0xa
sbb ecx, ecx
and ecx, 0xfffffff9
add ecx, 0x37
add ax, cx
mov word [esp + 0x34], ax
mov eax, ebx
shr eax, 0x18
and eax, 0xf
cmp ax, 0xa
sbb edx, edx
and edx, 0xfffffff9
add edx, 0x37
add ax, dx
mov word [esp + 0x36], ax
mov eax, ebx
shr eax, 0x14
and eax, 0xf
cmp ax, 0xa
sbb ecx, ecx
and ecx, 0xfffffff9
add ecx, 0x37
add ax, cx
mov word [esp + 0x38], ax
mov eax, ebx
shr eax, 0x10
and eax, 0xf
cmp ax, 0xa
sbb edx, edx
and edx, 0xfffffff9
add edx, 0x37
add ax, dx
mov word [esp + 0x3a], ax
mov eax, ebx
shr eax, 0xc
and eax, 0xf
cmp ax, 0xa
sbb ecx, ecx
and ecx, 0xfffffff9
add ecx, 0x37
add ax, cx
mov word [esp + 0x3c], ax
mov eax, ebx
shr eax, 8
and eax, 0xf
cmp ax, 0xa
sbb edx, edx
and edx, 0xfffffff9
add edx, 0x37
add ax, dx
mov word [esp + 0x3e], ax
mov eax, ebx
shr eax, 4
and eax, 0xf
cmp ax, 0xa
sbb ecx, ecx
and ecx, 0xfffffff9
add ecx, 0x37
add ax, cx
mov dl, bl
mov word [esp + 0x40], ax
and edx, 0xf
mov ax, dx
cmp ax, 0xa
sbb ecx, ecx
and ecx, 0xfffffff9
add ecx, 0x37
lea edx, [esp + 0x30]
add ax, cx
push edx
mov word [esp + 0x46], ax
call esi
xor eax, eax
cmp edi, eax
jne 0x40f5da
cmp dword [0x734064], eax
je 0x40f5fb
cmp dword [0x73dd0c], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov word [esp + 0x28], 0x100
mov word [esp + 0x2a], 0x200
mov word [esp + 0x2c], ax
mov dword [esp + 0x18], 0x41fcc608
mov word [esp + 0x1c], 0x8496
mov word [esp + 0x1e], 0x4def
mov byte [esp + 0x20], 0xb4
mov byte [esp + 0x21], 0x3e
mov byte [esp + 0x22], 0x7d
mov byte [esp + 0x23], 0x9b
mov byte [esp + 0x24], 0xd6
mov byte [esp + 0x25], 0x75
mov byte [esp + 0x26], 0xa6
mov byte [esp + 0x27], 0xff
mov dword [0x734064], eax
jne 0x40f426
push eax
push 0x6a9588
call fcn.0040edf0
add esp, 8
test eax, eax
mov dword [0x73dd0c], eax
je 0x40f426
push 0x6a9578
push eax
call edi
mov dword [0x73dd10], eax
mov eax, dword [0x73dd0c]
push 0x6a9568
push eax
call edi
mov ecx, dword [0x73dd0c]
push 0x6a955c
push ecx
mov dword [0x73dd14], eax
call edi
mov dword [0x73dd18], eax
cmp dword [0x73dd10], 0
je 0x40f60b
cmp dword [0x73dd14], 0
je 0x40f60b
cmp dword [0x73dd18], 0
je 0x40f60b
cmp dword [0x73dd1c], 0
jne 0x40f480
push 0
push str.Ole32.dll
call fcn.0040edf0
add esp, 8
test eax, eax
mov dword [0x73dd1c], eax
je 0x40f480
push 0x6a9538
push eax
call edi
mov edx, eax
mov dword [0x73dd20], edx
jmp 0x40f486
mov edx, dword [0x73dd20]
xor eax, eax
test edx, edx
je 0x40f5ee
mov ecx, 0x13
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x27
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
push ecx
call edx
cmp eax, 0x27
jne 0x40f60b
lea edx, [esp + 0x28]
mov dword [esp + 0x10], edx
lea esp, [esp]
mov eax, dword [esp + 0x10]
mov ax, word [eax]
test ax, ax
je 0x40f5f4
movzx edx, ax
lea ecx, [esp + 0xc]
push ecx
or edx, 0x20019
push edx
push 0
push str.SOFTWARENVIDIA_CorporationGlobal
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
call dword [0x73dd10]
test eax, eax
jne 0x40f5ca
xor esi, esi
mov dword [esp + 8], esi
jmp 0x40f510
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0xa0]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x14]
push 0
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xb4]
push eax
push esi
push ecx
mov dword [esp + 0x34], 0x80
mov dword [esp + 0x6c], 4
call dword [0x73dd14]
add esi, 1
test eax, eax
jne 0x40f59c
lea edx, [esp + 0x50]
push edx
call fcn.00630f92
add esp, 4
cmp eax, dword [esp + 0x14]
jne 0x40f510
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00642be9
add esp, 8
test eax, eax
jne 0x40f510
xor edx, edx
cmp dword [esp + 0x48], edx
setne dl
or dword [esp + 8], edx
jmp 0x40f510
cmp eax, 0x103
jne 0x40f510
mov eax, dword [esp + 0xc]
push eax
call dword [0x73dd18]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
cmp dword [esp + 8], eax
setne al
mov dword [0x73de5c], eax
mov dword [esp + 8], eax
add dword [esp + 0x10], 2
cmp dword [esp + 8], 0
je 0x40f4c0
push str._Signature_override_detected..._n
call esi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esp + 8], 0
jne 0x40f5da
cmp dword [0x73de5c], 0
jne 0x40f5da
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret