Function at 0x402d79
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae019
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x402f43
lea eax, [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x402ef3
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x38], 0x545d
mov dword [ebp - 0x40], str.knntjoj_jgy_pubfjiahq
cmp dword [ebp - 0x38], 0x56bd
jle 0x402e88
and dword [ebp - 0x30], 0
jmp 0x402e10
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x638
jge 0x402e88
and dword [ebp - 0x20], 0
jmp 0x402e26
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x579d
jge 0x402e86
and dword [ebp - 0x2c], 0
jmp 0x402e3c
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x41af
jge 0x402e84
mov eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
lea ecx, [ebp - 0xa8]
call fcn.004018f3
pop ecx
pop ecx
mov ecx, eax
call fcn.0042fa1f
push eax
call fcn.00498447
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.0042fa15
jmp 0x402e35
jmp 0x402e1f
jmp 0x402e09
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x84], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0x53d4
jge 0x402ea7
push dword [ebp - 0x40]
call fcn.00498447
pop ecx
jmp 0x402ec3
or dword [ebp - 4], 0xffffffff
jmp 0x402ecd
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x34]
sub eax, dword [ecx]
mov ecx, 0xf219a6f
sub ecx, eax
mov eax, dword [ebp - 0x84]
mov dword [eax], ecx
jmp 0x402f3e
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x402f21
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 3
jge 0x402f3e
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x4c]
call fcn.0042fc2d
mov dword [eax], 0xfff9
jmp 0x402f16
jmp 0x40308a
lea eax, [ebp + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x402f7f
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x402f7a
push 0xf0e
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x40308a
mov dword [ebp - 0x3c], 0x3f94
mov dword [ebp - 0x74], str.zhliel_oupptnhbw_tjpyrpg_tstzlr_sqdqoukn_hnkuwzg_lupnxyuw_nomdjvy_utsvwudyp_glvcyjopn_boz_kpkjf_gxpd_cgwjyg
cmp dword [ebp - 0x3c], 0x3fe1
jle 0x40303a
push 0xcdd
call dword [sym.imp.GDI32.dll_GetBkColor]
and dword [ebp - 0x1c], 0
jmp 0x402fb2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3438
jge 0x40303a
and dword [ebp - 0x28], 0
jmp 0x402fc8
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x35ba
jge 0x403035
and dword [ebp - 0x18], 0
jmp 0x402fde
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6966
jge 0x403033
and dword [ebp - 0x24], 0
jmp 0x402ff4
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5e37
jge 0x403031
mov eax, dword [ebp - 0x28]
cdq
idiv dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub eax, edx
xor eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
mov ecx, 0xabbe58
call fcn.0042fa2a
jmp 0x402fed
jmp 0x402fd7
jmp 0x402fc1
jmp 0x402fab
push 0
push 0x115e
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0x3c5d
jge 0x403064
mov edx, dword [ebp - 0x74]
mov ecx, 0xabbe58
call fcn.004313d0
jmp 0x403080
or dword [ebp - 4], 0xffffffff
jmp 0x40308a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret