Function at 0x437680
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e0b50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x334
mov eax, dword [esp + 0x348]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push eax
push 0xbdf
mov dword [esp + 0x40], ebp
call fcn.004b3d6e
mov ecx, dword [0x52506c]
lea edi, [ebp + 0x60]
mov dword [esp + 0x34c], 0
mov dword [edi], ecx
mov edx, dword [0x52506c]
mov dword [ebp + 0x64], edx
mov eax, dword [0x52506c]
mov dword [ebp + 0x68], eax
mov ecx, dword [0x52506c]
lea esi, [ebp + 0x6c]
mov dword [esi], ecx
mov edx, dword [0x52506c]
mov dword [ebp + 0x70], edx
mov eax, dword [0x52506c]
lea ebx, [ebp + 0x74]
mov dword [ebx], eax
mov ecx, dword [0x52506c]
mov dword [ebp + 0x78], ecx
push 0x533538
mov ecx, edi
mov byte [esp + 0x350], 7
mov dword [ebp], method.CPrintingDialog.virtual_0
call fcn.004b27df
push 0x533538
lea ecx, [ebp + 0x64]
call fcn.004b27df
push 0x533538
lea ecx, [ebp + 0x68]
call fcn.004b27df
push 0x533538
mov ecx, esi
call fcn.004b27df
push 0x533538
lea ecx, [ebp + 0x70]
call fcn.004b27df
push 0x533538
mov ecx, ebx
call fcn.004b27df
push 0x533538
lea ecx, [ebp + 0x78]
call fcn.004b27df
mov edx, dword [esp + 0x354]
lea eax, [esp + 0xd0]
push eax
mov dword [ebp + 0x5c], edx
call fcn.00473f72
mov ecx, dword [ebp + 0x5c]
mov eax, dword [ecx + 0x9e4]
push eax
lea eax, [ebp + 0x64]
push 0x516fa0
push eax
call fcn.004acb0b
mov edx, dword [ebp + 0x5c]
add esp, 0xc
mov eax, dword [edx + 0x9e8]
push eax
push str._08X
push edi
call fcn.004acb0b
mov eax, dword [esp + 0x21e]
add esp, 0xc
and eax, 0xff
mov ecx, dword [esp + 0x210]
mov edx, dword [esp + 0x211]
and ecx, 0xff
push eax
and edx, 0xff
push ecx
push edx
lea eax, [ebp + 0x68]
push str.HA_Id:__2d_Device_Id:_2d_Lun:_2d
push eax
call fcn.004acb0b
add esp, 0x14
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push str.Windows_9x
lea ecx, [esp + 0x14]
call fcn.004b26c4
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x34c], 8
test eax, eax
jne 0x43782f
push str.Win32s
lea ecx, [esp + 0x14]
call fcn.004b27df
cmp dword [esp + 0x4c], 2
jne 0x437844
push str.Windows_NT
lea ecx, [esp + 0x14]
call fcn.004b27df
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x50]
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push str._s_version__d._d___d__s_
push esi
call fcn.004acb0b
add esp, 0x1c
lea ecx, [esp + 0x1c]
call fcn.00435150
lea eax, [esp + 0x23c]
push 0x104
push eax
mov byte [esp + 0x354], 9
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.wnaspi32.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x23c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x23c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.004351a0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.00437a50
lea edx, [esp + 0x14]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x350], 0xa
call fcn.00424dc0
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x350], 0xb
call fcn.00437a80
lea ecx, [esp + 0x18]
push 0x51b0a8
lea edx, [esp + 0x38]
push ecx
push edx
mov byte [esp + 0x358], 0xc
call fcn.004b28eb
lea ecx, [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
mov byte [esp + 0x358], 0xd
call fcn.004b2885
mov byte [esp + 0x34c], 0xe
push 0x5169c4
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004b28eb
lea ecx, [esp + 0x14]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
mov byte [esp + 0x358], 0xf
call fcn.004b2885
push eax
lea ecx, [ebp + 0x78]
mov byte [esp + 0x350], 0x10
call fcn.004b278f
lea ecx, [esp + 0x30]
mov byte [esp + 0x34c], 0xf
call fcn.004b2656
lea ecx, [esp + 0x2c]
mov byte [esp + 0x34c], 0xe
call fcn.004b2656
lea ecx, [esp + 0x28]
mov byte [esp + 0x34c], 0xd
call fcn.004b2656
lea ecx, [esp + 0x34]
mov byte [esp + 0x34c], 0xc
call fcn.004b2656
lea eax, [esp + 0xd0]
mov ecx, ebx
push eax
call fcn.004b27df
lea ecx, [esp + 0x24]
mov byte [esp + 0x34c], 0xb
call fcn.004b2656
lea ecx, [esp + 0x14]
mov byte [esp + 0x34c], 0xa
call fcn.004b2656
lea ecx, [esp + 0x18]
mov byte [esp + 0x34c], 9
call fcn.004b2656
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34c], 8
call fcn.00435160
lea ecx, [esp + 0x10]
mov byte [esp + 0x34c], 7
call fcn.004b2656
mov ecx, dword [esp + 0x344]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x340
ret 8