Function at 0x1002806f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10028135
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0x4793
mov dword [ebp - 0x28], 0x10009a18
cmp dword [ebp - 0x20], 0x4a4b
jle 0x100280f5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
and dword [ebp - 0xc], 0
jmp 0x100280b5
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x46c1
jge 0x100280f5
and dword [ebp - 0x10], 0
jmp 0x100280cb
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x4e5c
jge 0x100280f3
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x10]
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
mov ecx, 0x1008fbf8
call fcn.100229ff
jmp 0x100280c4
jmp 0x100280ae
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x20], 0x4453
jge 0x10028111
mov edx, dword [ebp - 0x28]
mov ecx, 0x1008fbf8
call fcn.1002574f
push dword [ebp - 0x2c]
push 0
push 0x3957
push 0x6123
push 0xeb3
push dword [ebp - 0x30]
call fcn.1002ec56
add esp, 0x18
jmp 0x10028269
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x1002821e
mov dword [ebp - 0x24], 0x5a2b
mov dword [ebp - 0x3c], 0x10009a48
cmp dword [ebp - 0x24], 0x5cc1
jle 0x100281f4
and dword [ebp - 0x1c], 0
jmp 0x1002817d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x8a2
jge 0x100281f4
and dword [ebp - 0x14], 0
jmp 0x10028193
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2e3d
jge 0x100281f2
and dword [ebp - 0x18], 0
jmp 0x100281a9
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6a6c
jge 0x100281f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
shl eax, cl
or eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.100128ee
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.100229df
push eax
call fcn.10074e83
pop ecx
lea ecx, [ebp - 0x78]
call fcn.100229d5
jmp 0x100281a2
jmp 0x1002818c
jmp 0x10028176
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002820a
push 0
push 0
call dword [sym.imp.GDI32.dll_GetBrushOrgEx]
cmp dword [ebp - 0x24], 0x57f5
jge 0x1002821c
push dword [ebp - 0x3c]
call fcn.10074e83
pop ecx
jmp 0x10028269
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1002824c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jge 0x10028269
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.10022db7
mov dword [eax], 0xf6af1124
jmp 0x10028241
mov esp, ebp
pop ebp
ret