Function at 0x4133e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x431008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x228], 0xf537
mov dword [ebp - 0x214], 0x7e0c
mov dword [ebp - 0x21c], 0x14ae5
mov dword [ebp - 0x210], 0xd03d
mov dword [ebp - 0x218], 0x1726a
call fcn.00412cf0
movzx eax, al
test eax, eax
jne 0x413437
jmp 0x413b3a
mov ecx, dword [ebp - 0x21c]
cmp ecx, dword [0x4319f0]
jb 0x413a05
mov eax, 0x57a9
cdq
idiv dword [ebp - 0x210]
sub edx, dword [ebp - 0x218]
mov dword [ebp - 0x214], edx
mov edx, dword [0x431ab0]
cmp edx, dword [ebp - 0x210]
jbe 0x4139dc
mov eax, dword [0x431984]
cmp eax, dword [ebp - 0x218]
je 0x4134c1
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x214]
push edx
push 0
call dword [sym.imp.UxTheme.dll_GetCurrentThemeName]
cmp dword [0x431a18], eax
ja 0x4134f1
mov eax, dword [ebp - 0x210]
cmp eax, dword [0x431984]
jne 0x4134f1
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
push 0x7283c
call dword [sym.imp.USER32.dll_AnimateWindow]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x210], eax
jmp 0x4139dc
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x218]
push eax
call fcn.00402010
add esp, 0xc
mov ecx, dword [ebp - 0x218]
sub ecx, 0x145aa
mov edx, 0xde69
shl edx, cl
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x214]
or edx, eax
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x210], 0x17537
mov edx, dword [ebp - 0x214]
imul edx, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x210]
sar edx, cl
mov dword [ebp - 0x21c], edx
mov eax, dword [0x431a54]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0xfffff2be
je 0x413596
cmp dword [ebp - 0x220], 0x5fa0
je 0x413712
cmp dword [ebp - 0x220], 0xd9e5
je 0x4137b5
jmp 0x413808
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.GDI32.dll_AddFontMemResourceEx]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x214]
cdq
idiv dword [ebp - 0x210]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
imul eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x214]
sub ecx, eax
sub ecx, dword [ebp - 0x210]
or ecx, dword [ebp - 0x214]
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp - 0x210]
cdq
idiv dword [ebp - 0x210]
imul edx, dword [ebp - 0x218]
imul edx, dword [ebp - 0x210]
add edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x210]
mov ecx, edx
sar eax, cl
mov dword [0x4319a4], eax
mov eax, dword [ebp - 0x21c]
cdq
idiv dword [ebp - 0x21c]
imul eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x214]
imul ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x214]
sar edx, cl
or eax, edx
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x218]
imul ecx, dword [ebp - 0x21c]
add ecx, dword [ebp - 0x21c]
imul eax, dword [ebp - 0x210], 0x1312e
cdq
idiv dword [ebp - 0x218]
add ecx, edx
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x21c]
imul edx, dword [ebp - 0x21c]
add edx, dword [ebp - 0x21c]
and edx, dword [ebp - 0x214]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx + eax - 0x2c19]
mov edx, 0x1071b
sar edx, cl
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x210]
sub eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x214]
imul ecx, dword [ebp - 0x218]
or ecx, dword [ebp - 0x210]
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x214]
mov dword [ebp - 0x210], edx
jmp 0x413956
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x21c]
cdq
idiv dword [ebp - 0x210]
mov ecx, eax
mov eax, dword [ebp - 0x21c]
cdq
mov esi, 0xd8a9
idiv esi
sub ecx, edx
add ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x214]
sub edx, dword [ebp - 0x214]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
mov dword [0x431a50], eax
mov ecx, dword [ebp - 0x21c]
push ecx
push 0xe3427
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll__lwrite]
mov dword [ebp - 0x210], eax
mov esi, dword [ebp - 0x218]
add esi, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x214]
cdq
idiv dword [ebp - 0x218]
cdq
idiv dword [ebp - 0x21c]
add edx, dword [ebp - 0x218]
mov ecx, edx
sar esi, cl
mov dword [ebp - 0x210], esi
mov eax, 0x115ec
cdq
idiv dword [ebp - 0x210]
cdq
idiv dword [ebp - 0x214]
mov eax, edx
cdq
idiv dword [ebp - 0x210]
mov dword [0x431a54], edx
mov eax, 0x5399
cdq
idiv dword [ebp - 0x214]
mov ecx, dword [ebp - 0x21c]
imul ecx, dword [ebp - 0x21c]
add eax, ecx
sub eax, dword [ebp - 0x214]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x210], 0xfffedc59
mov eax, dword [ebp - 0x210]
cdq
idiv dword [ebp - 0x214]
mov dword [ebp - 0x210], edx
push str.zombi_contrariness_perambulate
call fcn.004010e0
add esp, 4
mov edx, dword [ebp - 0x210]
add edx, dword [ebp - 0x218]
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 0x210]
cdq
mov ecx, 0xd1f6
idiv ecx
mov ecx, dword [ebp - 0x218]
sub ecx, edx
add ecx, dword [ebp - 0x21c]
sub ecx, dword [ebp - 0x214]
mov edx, dword [ebp - 0x218]
shl edx, cl
mov dword [ebp - 0x210], edx
imul eax, dword [ebp - 0x218], 0x14480
cdq
idiv dword [ebp - 0x218]
sub edx, 0x3044
mov eax, dword [ebp - 0x218]
add eax, dword [ebp - 0x21c]
or edx, eax
mov dword [ebp - 0x210], edx
mov eax, dword [ebp - 0x21c]
cdq
idiv dword [ebp - 0x218]
add edx, dword [ebp - 0x21c]
mov dword [ebp - 0x218], edx
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x210]
push edx
call fcn.00401190
add esp, 0x14
mov eax, dword [ebp - 0x210]
mov dword [0x4319a0], eax
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ebp - 0x21c]
push eax
call fcn.00401bc0
add esp, 0xc
mov eax, 0xb9e5
cdq
idiv dword [ebp - 0x210]
sub edx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x210]
imul ecx, dword [ebp - 0x21c]
imul ecx, dword [ebp - 0x21c]
add edx, ecx
mov dword [ebp - 0x210], edx
mov ecx, dword [ebp - 0x218]
or ecx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
cdq
idiv dword [ebp - 0x210]
add eax, dword [ebp - 0x21c]
or ecx, eax
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x210]
cmp edx, dword [0x4319f0]
ja 0x413535
mov eax, dword [ebp - 0x210]
cdq
idiv dword [ebp - 0x218]
imul eax, dword [ebp - 0x214]
add eax, dword [ebp - 0x218]
mov dword [ebp - 0x214], eax
mov eax, dword [0x431a54]
cmp eax, dword [ebp - 0x214]
jle 0x413535
mov ecx, dword [0x431a18]
cmp ecx, dword [ebp - 0x210]
jge 0x4134f1
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x210]
lea ecx, [eax + edx - 0x10633]
and ecx, 0xc920
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x210]
cmp edx, dword [0x431984]
jle 0x4134f1
mov eax, dword [ebp - 0x214]
cmp eax, dword [0x4319f0]
jb 0x413461
mov ecx, dword [0x4319f0]
cmp ecx, dword [ebp - 0x21c]
jne 0x413449
jmp 0x413437
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 4
push 0xa
push 0x431924
call fcn.0040bed0
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x20c]
call fcn.00401060
test eax, eax
je 0x413b35
call fcn.0040c880
push 4
push 0xe
push 0x431a34
call fcn.0040bed0
add esp, 0xc
push eax
push 1
push 0
call dword [0x4340b4]
mov dword [ebp - 0x224], eax
mov eax, dword [0x4319f0]
cmp eax, dword [ebp - 0x210]
ja 0x413b01
mov eax, dword [ebp - 0x218]
cdq
idiv dword [ebp - 0x210]
mov ecx, 0x4b6d
sub ecx, edx
mov dword [ebp - 0x21c], ecx
mov edx, dword [ebp - 0x214]
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x21c]
sub eax, dword [ebp - 0x21c]
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x21c]
add edx, 0x17988
mov ecx, dword [ebp - 0x218]
add ecx, dword [ebp - 0x218]
sar edx, cl
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x218]
imul edx, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x21c]
sar edx, cl
and edx, 0x145c4
or eax, edx
mov dword [ebp - 0x214], eax
jmp 0x413a64
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x413b10
jmp 0x413b3a
call fcn.0040ee70
cmp eax, 1
jne 0x413b21
call fcn.0040ee70
jmp 0x413b26
call fcn.00410ce0
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x413b3a
call fcn.00410ce0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414551
mov esp, ebp
pop ebp
ret