Function at 0x41c438
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x3c]
xor eax, eax
push ebp
push 0x41d074
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x41e814]
mov eax, dword [eax]
mov byte [eax + 0x254], 1
xor edx, edx
push ebp
push 0x41d044
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x41cf03
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x11d]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x124]
lea edx, [ebp - 0x11d]
mov ecx, 0x105
call fcn.00403654
mov eax, dword [ebp - 0x124]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x41e814]
mov eax, dword [eax]
mov edx, dword [eax + 0x26c]
mov eax, dword [0x41e814]
mov eax, dword [eax]
mov eax, dword [eax + 0x258]
mov ecx, 0x41d08c
call fcn.0040dc30
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004036a4
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.004038a8
mov eax, dword [ebp - 0x124]
mov edx, 0x41d0ac
call fcn.004037b4
je 0x41c52c
lea eax, [ebp - 0x10]
mov edx, 0x41d0ac
call fcn.004036ac
mov eax, dword [0x41e814]
mov eax, dword [eax]
mov ebx, dword [eax + 0x74]
mov byte [ebx + 0x24], 1
mov eax, dword [0x41e814]
lea eax, [ebx + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.0040347c
mov eax, dword [0x41e814]
mov eax, dword [eax]
add eax, 0x27c
call fcn.00403428
mov edx, dword [0x41e814]
mov edx, dword [edx]
mov eax, dword [0x41e814]
mov eax, dword [eax]
mov eax, dword [eax + 0x74]
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x4190c8
mov edx, dword [0x41e814]
mov edx, 0x41d0b8
call fcn.00412e04
mov eax, dword [0x41e814]
mov eax, dword [eax]
cmp dword [eax + 0x27c], 0
jne 0x41c5a6
call fcn.00402fe0
call fcn.00402fe0
jmp 0x41d04e
mov eax, dword [ebp + 0xa0]
mov byte [eax], 1
mov eax, dword [ebp + 0xa0]
mov byte [eax + 1], 0
mov eax, dword [ebp - 4]
mov byte [eax], 1
mov eax, dword [ebp - 4]
mov byte [eax + 1], 1
mov eax, dword [ebp - 8]
mov byte [eax], 1
mov eax, dword [ebp - 8]
mov byte [eax + 1], 1
mov eax, dword [ebp + 0xa4]
mov byte [eax], 1
mov eax, dword [ebp + 0xa4]
mov byte [eax + 1], 1
mov eax, dword [ebp + 0x9c]
mov byte [eax], 1
mov eax, dword [ebp + 0x9c]
mov byte [eax + 1], 1
mov eax, dword [0x41e814]
mov eax, dword [eax]
mov ecx, dword [eax + 0x27c]
lea eax, [ebp - 0x124]
mov edx, dword [ebp - 0x10]
call fcn.004036f0
mov ecx, dword [ebp - 0x124]
mov dl, 1
mov eax, dword [0x41aca8]
call fcn.0041b35c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x41cee0
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
mov ecx, 0x41d0cc
mov edx, 0x41d0dc
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
push 0
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x41d0f8
mov edx, 0x41d10c
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp + 0x18]
call fcn.0040347c
lea edx, [ebp - 0x128]
xor eax, eax
call fcn.00402720
mov eax, dword [ebp - 0x128]
lea edx, [ebp - 0x124]
call fcn.0040644c
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.0040347c
push esi
lea edx, [ebp - 0x124]
mov eax, dword [esi]
call fcn.00405e8c
mov edx, dword [ebp - 0x124]
mov eax, 0x41d124
call fcn.00403930
mov ecx, eax
dec ecx
mov eax, dword [esi]
mov edx, 1
call fcn.004038a8
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x41d134
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.0040347c
push 0
mov ecx, 0x41d164
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edi, eax
mov ebx, edi
and ebx, 0xff
shr edi, 8
lea edx, [ebp - 0x128]
mov eax, edi
call fcn.00405fd4
mov ecx, dword [ebp - 0x128]
mov edx, dword [esi]
lea eax, [ebp - 0x124]
call fcn.004036f0
mov edx, dword [ebp - 0x124]
mov eax, 3
call fcn.0041c3cc
and eax, 0xff
cmp ebx, eax
je 0x41c75e
mov eax, dword [ebp + 0x38]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
jmp 0x41c778
mov dword [ebp - 0x12c], edi
fild dword [ebp - 0x12c]
fld xword [0x41d170]
fmulp st(1)
mov eax, dword [ebp + 0x38]
fstp qword [eax]
wait
push 0x41d184
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x41d1a4
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp + 0x34]
call fcn.0040347c
push 1
mov ecx, 0x41d1b8
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
mov eax, dword [ebp + 0x30]
sete byte [eax]
push 0
mov ecx, 0x41d1cc
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x2c]
mov dword [edx], eax
push 0x41d1e0
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x41d200
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp + 0x28]
call fcn.0040347c
push 0x41d214
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x41d22c
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp + 0x24]
call fcn.0040347c
push 0
mov ecx, 0x41d23c
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
test eax, eax
mov eax, dword [ebp + 0x20]
setne byte [eax]
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov edx, 0xc8
call fcn.004028a0
push 0
mov ecx, 0x41d250
mov edx, 0x41d260
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
test eax, eax
jl 0x41c8ac
inc eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov esi, dword [ebp + 0x10]
cmp ebx, 0x31
jg 0x41c8a3
push 0
lea edx, [ebp - 0x124]
mov eax, ebx
call fcn.00405fd4
mov ecx, dword [ebp - 0x124]
mov edx, 0x41d260
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 8]
mov dword [esi], eax
inc ebx
add esi, 4
dec dword [ebp - 0x18]
jne 0x41c87a
push 0
mov ecx, 0x41d280
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
push 1
mov ecx, 0x41d294
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41c8e2
je 0x41c8ee
jmp 0x41c8f8
mov eax, dword [ebp + 0x98]
mov byte [eax + 2], 0
jmp 0x41c8f8
mov eax, dword [ebp + 0x98]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41d2a0
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41c915
je 0x41c921
jmp 0x41c92b
mov eax, dword [ebp + 0x94]
mov byte [eax + 2], 0
jmp 0x41c92b
mov eax, dword [ebp + 0x94]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41d2b8
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41c948
je 0x41c954
jmp 0x41c95e
mov eax, dword [ebp + 0x90]
mov byte [eax + 2], 0
jmp 0x41c95e
mov eax, dword [ebp + 0x90]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41d2d8
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41c97b
je 0x41c987
jmp 0x41c991
mov eax, dword [ebp + 0x8c]
mov byte [eax + 2], 0
jmp 0x41c991
mov eax, dword [ebp + 0x8c]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41d2f4
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41c9ae
je 0x41c9ba
jmp 0x41c9c4
mov eax, dword [ebp + 0x88]
mov byte [eax + 2], 0
jmp 0x41c9c4
mov eax, dword [ebp + 0x88]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41d308
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41c9e1
je 0x41c9ed
jmp 0x41c9f7
mov eax, dword [ebp + 0x84]
mov byte [eax + 2], 0
jmp 0x41c9f7
mov eax, dword [ebp + 0x84]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41d31c
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41ca14
je 0x41ca20
jmp 0x41ca2a
mov eax, dword [ebp + 0x80]
mov byte [eax + 2], 0
jmp 0x41ca2a
mov eax, dword [ebp + 0x80]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41d334
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41ca47
je 0x41ca50
jmp 0x41ca74
mov eax, dword [ebp + 0x58]
mov byte [eax + 2], 0
jmp 0x41ca74
mov eax, dword [ebp + 0x84]
cmp byte [eax + 2], 0
jne 0x41ca6c
mov eax, dword [ebp + 0x88]
cmp byte [eax + 2], 0
je 0x41ca6c
xor eax, eax
jmp 0x41ca6e
mov al, 1
mov edx, dword [ebp + 0x58]
mov byte [edx + 2], al
push 1
mov ecx, 0x41d354
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41ca91
je 0x41ca9a
jmp 0x41caa1
mov eax, dword [ebp + 0x7c]
mov byte [eax + 2], 0
jmp 0x41caa1
mov eax, dword [ebp + 0x7c]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41d368
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41cabe
je 0x41cac7
jmp 0x41cace
mov eax, dword [ebp + 0x78]
mov byte [eax + 2], 0
jmp 0x41cace
mov eax, dword [ebp + 0x78]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41d37c
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
mov eax, dword [ebp + 8]
sete byte [eax]
push 0
mov ecx, 0x41d38c
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41cb06
je 0x41cb0f
jmp 0x41cb16
mov eax, dword [ebp + 0x74]
mov byte [eax + 2], 0
jmp 0x41cb16
mov eax, dword [ebp + 0x74]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41d3a0
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41cb33
je 0x41cb3c
jmp 0x41cb43
mov eax, dword [ebp + 0x70]
mov byte [eax + 2], 0
jmp 0x41cb43
mov eax, dword [ebp + 0x70]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41d3b0
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41cb60
je 0x41cb69
jmp 0x41cb70
mov eax, dword [ebp + 0x6c]
mov byte [eax + 2], 0
jmp 0x41cb70
mov eax, dword [ebp + 0x6c]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41d3c4
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41cb8d
je 0x41cb96
jmp 0x41cb9d
mov eax, dword [ebp + 0x68]
mov byte [eax + 2], 0
jmp 0x41cb9d
mov eax, dword [ebp + 0x68]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41d3d8
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41cbba
je 0x41cbc3
jmp 0x41cbca
mov eax, dword [ebp + 0x64]
mov byte [eax + 2], 0
jmp 0x41cbca
mov eax, dword [ebp + 0x64]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41d3ec
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41cbe7
je 0x41cbf0
jmp 0x41cbf7
mov eax, dword [ebp + 0x60]
mov byte [eax + 2], 0
jmp 0x41cbf7
mov eax, dword [ebp + 0x60]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41d400
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41cc14
je 0x41cc1d
jmp 0x41cc24
mov eax, dword [ebp + 0x5c]
mov byte [eax + 2], 0
jmp 0x41cc24
mov eax, dword [ebp + 0x5c]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41d418
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x54]
mov dword [edx], eax
push 0
mov ecx, 0x41d428
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x50]
mov dword [edx], eax
push 0x280
mov ecx, 0x41d434
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x4c]
mov dword [edx], eax
push 0x1e0
mov ecx, 0x41d444
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x48]
mov dword [edx], eax
push 2
mov ecx, 0x41d454
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x44]
mov dword [edx], eax
push 2
mov ecx, 0x41d468
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x40]
mov dword [edx], eax
push 0
mov ecx, 0x41d47c
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
push 2
mov ecx, 0x41d494
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41ccf6
je 0x41cd05
jmp 0x41cd14
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 8]
mov byte [eax + 2], 0
jmp 0x41cd1a
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 8]
mov byte [eax + 2], 1
jmp 0x41cd1a
mov eax, dword [ebp - 8]
mov byte [eax], 1
push 0
mov ecx, 0x41d4a4
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41cd37
je 0x41cd46
jmp 0x41cd55
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 2], 0
jmp 0x41cd5b
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 2], 1
jmp 0x41cd5b
mov eax, dword [ebp - 0xc]
mov byte [eax], 1
push 2
mov ecx, 0x41d4b8
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41cd78
je 0x41cd87
jmp 0x41cd96
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov byte [eax + 2], 1
jmp 0x41cd9c
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov byte [eax + 2], 0
jmp 0x41cd9c
mov eax, dword [ebp - 4]
mov byte [eax], 1
push 2
mov ecx, 0x41d4c8
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41cdb9
je 0x41cdce
jmp 0x41cde3
mov eax, dword [ebp + 0xa4]
mov byte [eax], 0
mov eax, dword [ebp + 0xa4]
mov byte [eax + 2], 0
jmp 0x41cdec
mov eax, dword [ebp + 0xa4]
mov byte [eax], 0
mov eax, dword [ebp + 0xa4]
mov byte [eax + 2], 1
jmp 0x41cdec
mov eax, dword [ebp + 0xa4]
mov byte [eax], 1
push 2
mov ecx, 0x41d4dc
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41ce09
je 0x41ce1e
jmp 0x41ce33
mov eax, dword [ebp + 0xa0]
mov byte [eax], 0
mov eax, dword [ebp + 0xa0]
mov byte [eax + 2], 0
jmp 0x41ce3c
mov eax, dword [ebp + 0xa0]
mov byte [eax], 0
mov eax, dword [ebp + 0xa0]
mov byte [eax + 2], 1
jmp 0x41ce3c
mov eax, dword [ebp + 0xa0]
mov byte [eax], 1
push 2
mov ecx, 0x41d4f4
mov edx, 0x41d150
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41ce59
je 0x41ce6e
jmp 0x41ce83
mov eax, dword [ebp + 0x9c]
mov byte [eax], 0
mov eax, dword [ebp + 0x9c]
mov byte [eax + 2], 0
jmp 0x41ce8c
mov eax, dword [ebp + 0x9c]
mov byte [eax], 0
mov eax, dword [ebp + 0x9c]
mov byte [eax + 2], 1
jmp 0x41ce8c
mov eax, dword [ebp + 0x9c]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cee7
mov eax, dword [ebp - 0x14]
call fcn.00402b00
mov eax, dword [0x41e814]
mov eax, dword [eax]
mov ecx, dword [eax + 0x27c]
lea eax, [ebp - 0x128]
mov edx, dword [ebp - 0x10]
call fcn.004036f0
mov eax, dword [ebp - 0x128]
call fcn.00403868
mov edx, eax
lea eax, [ebp - 0x124]
call fcn.004035dc
mov eax, dword [ebp - 0x124]
call fcn.004062c0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d07b
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.0040344c
lea eax, [ebp - 0x10]
call fcn.00403428
ret