Function at 0x41b7d0
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 + 0x38]
xor eax, eax
push ebp
push 0x41c39b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x41d814]
mov eax, dword [eax]
mov byte [eax + 0x228], 1
xor edx, edx
push ebp
push 0x41c36b
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x41c22a
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 [0x41d814]
mov eax, dword [eax]
mov edx, dword [eax + 0x240]
mov eax, dword [0x41d814]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
mov ecx, 0x41c3b4
call fcn.0040dac4
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, 0x41c3d4
call fcn.004037b4
je 0x41b8c4
lea eax, [ebp - 0x10]
mov edx, 0x41c3d4
call fcn.004036ac
mov eax, dword [0x41d814]
mov eax, dword [eax]
mov ebx, dword [eax + 0x74]
mov byte [ebx + 0x24], 1
mov eax, dword [0x41d814]
lea eax, [ebx + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.0040347c
mov eax, dword [0x41d814]
mov eax, dword [eax]
add eax, 0x250
call fcn.00403428
mov edx, dword [0x41d814]
mov edx, dword [edx]
mov eax, dword [0x41d814]
mov eax, dword [eax]
mov eax, dword [eax + 0x74]
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x418c80
mov edx, dword [0x41d814]
mov edx, 0x41c3e0
call fcn.00412c98
mov eax, dword [0x41d814]
mov eax, dword [eax]
cmp dword [eax + 0x250], 0
jne 0x41b93e
call fcn.00402fe0
call fcn.00402fe0
jmp 0x41c375
mov eax, dword [ebp + 0x98]
mov byte [eax], 1
mov eax, dword [ebp + 0x98]
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 + 0x9c]
mov byte [eax], 1
mov eax, dword [ebp + 0x9c]
mov byte [eax + 1], 1
mov eax, dword [ebp + 0x94]
mov byte [eax], 1
mov eax, dword [ebp + 0x94]
mov byte [eax + 1], 1
mov eax, dword [0x41d814]
mov eax, dword [eax]
mov ecx, dword [eax + 0x250]
lea eax, [ebp - 0x124]
mov edx, dword [ebp - 0x10]
call fcn.004036f0
mov ecx, dword [ebp - 0x124]
mov dl, 1
mov eax, dword [0x41a054]
call fcn.0041a708
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x41c207
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
mov ecx, 0x41c3f4
mov edx, 0x41c404
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 8]
mov dword [edx], eax
push 0
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x41c420
mov edx, 0x41c434
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp + 0x14]
call fcn.0040347c
lea edx, [ebp - 0x128]
xor eax, eax
call fcn.00402720
mov eax, dword [ebp - 0x128]
lea edx, [ebp - 0x124]
call fcn.00406414
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.0040347c
push esi
lea edx, [ebp - 0x124]
mov eax, dword [esi]
call fcn.00405e54
mov edx, dword [ebp - 0x124]
mov eax, 0x41c44c
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, 0x41c45c
mov edx, 0x41c478
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, 0x41c48c
mov edx, 0x41c478
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.00405f9c
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.0041b764
and eax, 0xff
cmp ebx, eax
je 0x41baf6
mov eax, dword [ebp + 0x34]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
jmp 0x41bb10
mov dword [ebp - 0x12c], edi
fild dword [ebp - 0x12c]
fld xword [0x41c498]
fmulp st(1)
mov eax, dword [ebp + 0x34]
fstp qword [eax]
wait
push 0x41c4ac
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x41c4cc
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp + 0x30]
call fcn.0040347c
push 1
mov ecx, 0x41c4e0
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
mov eax, dword [ebp + 0x2c]
sete byte [eax]
push 0
mov ecx, 0x41c4f4
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x28]
mov dword [edx], eax
push 0x41c508
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x41c528
mov edx, 0x41c478
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 0x41c53c
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x41c554
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp + 0x20]
call fcn.0040347c
push 0
mov ecx, 0x41c564
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
test eax, eax
mov eax, dword [ebp + 0x1c]
setne byte [eax]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, 0xc8
call fcn.004028a0
push 0
mov ecx, 0x41c578
mov edx, 0x41c588
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
test eax, eax
jl 0x41bc44
inc eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov esi, dword [ebp + 0xc]
cmp ebx, 0x31
jg 0x41bc3b
push 0
lea edx, [ebp - 0x124]
mov eax, ebx
call fcn.00405f9c
mov ecx, dword [ebp - 0x124]
mov edx, 0x41c588
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 0x41bc12
push 0
mov ecx, 0x41c5a8
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
push 1
mov ecx, 0x41c5bc
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bc7a
je 0x41bc86
jmp 0x41bc90
mov eax, dword [ebp + 0x90]
mov byte [eax + 2], 0
jmp 0x41bc90
mov eax, dword [ebp + 0x90]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41c5c8
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bcad
je 0x41bcb9
jmp 0x41bcc3
mov eax, dword [ebp + 0x8c]
mov byte [eax + 2], 0
jmp 0x41bcc3
mov eax, dword [ebp + 0x8c]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c5e0
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bce0
je 0x41bcec
jmp 0x41bcf6
mov eax, dword [ebp + 0x88]
mov byte [eax + 2], 0
jmp 0x41bcf6
mov eax, dword [ebp + 0x88]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41c600
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bd13
je 0x41bd1f
jmp 0x41bd29
mov eax, dword [ebp + 0x84]
mov byte [eax + 2], 0
jmp 0x41bd29
mov eax, dword [ebp + 0x84]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c61c
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bd46
je 0x41bd52
jmp 0x41bd5c
mov eax, dword [ebp + 0x80]
mov byte [eax + 2], 0
jmp 0x41bd5c
mov eax, dword [ebp + 0x80]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c630
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bd79
je 0x41bd82
jmp 0x41bd89
mov eax, dword [ebp + 0x7c]
mov byte [eax + 2], 0
jmp 0x41bd89
mov eax, dword [ebp + 0x7c]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41c644
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bda6
je 0x41bdaf
jmp 0x41bdb6
mov eax, dword [ebp + 0x78]
mov byte [eax + 2], 0
jmp 0x41bdb6
mov eax, dword [ebp + 0x78]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41c65c
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bdd3
je 0x41bddc
jmp 0x41bde3
mov eax, dword [ebp + 0x74]
mov byte [eax + 2], 0
jmp 0x41bde3
mov eax, dword [ebp + 0x74]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41c670
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41be00
je 0x41be09
jmp 0x41be10
mov eax, dword [ebp + 0x70]
mov byte [eax + 2], 0
jmp 0x41be10
mov eax, dword [ebp + 0x70]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c684
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41be2d
je 0x41be36
jmp 0x41be3d
mov eax, dword [ebp + 0x6c]
mov byte [eax + 2], 0
jmp 0x41be3d
mov eax, dword [ebp + 0x6c]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c698
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41be5a
je 0x41be63
jmp 0x41be6a
mov eax, dword [ebp + 0x68]
mov byte [eax + 2], 0
jmp 0x41be6a
mov eax, dword [ebp + 0x68]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c6a8
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41be87
je 0x41be90
jmp 0x41be97
mov eax, dword [ebp + 0x64]
mov byte [eax + 2], 0
jmp 0x41be97
mov eax, dword [ebp + 0x64]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c6bc
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41beb4
je 0x41bebd
jmp 0x41bec4
mov eax, dword [ebp + 0x60]
mov byte [eax + 2], 0
jmp 0x41bec4
mov eax, dword [ebp + 0x60]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c6d0
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bee1
je 0x41beea
jmp 0x41bef1
mov eax, dword [ebp + 0x5c]
mov byte [eax + 2], 0
jmp 0x41bef1
mov eax, dword [ebp + 0x5c]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41c6e4
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bf0e
je 0x41bf17
jmp 0x41bf1e
mov eax, dword [ebp + 0x58]
mov byte [eax + 2], 0
jmp 0x41bf1e
mov eax, dword [ebp + 0x58]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c6f8
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bf3b
je 0x41bf44
jmp 0x41bf4b
mov eax, dword [ebp + 0x54]
mov byte [eax + 2], 0
jmp 0x41bf4b
mov eax, dword [ebp + 0x54]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c710
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x50]
mov dword [edx], eax
push 0
mov ecx, 0x41c720
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x4c]
mov dword [edx], eax
push 0x280
mov ecx, 0x41c72c
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x48]
mov dword [edx], eax
push 0x1e0
mov ecx, 0x41c73c
mov edx, 0x41c478
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, 0x41c74c
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x40]
mov dword [edx], eax
push 2
mov ecx, 0x41c760
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x3c]
mov dword [edx], eax
push 0
mov ecx, 0x41c774
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
push 2
mov ecx, 0x41c78c
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41c01d
je 0x41c02c
jmp 0x41c03b
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 8]
mov byte [eax + 2], 0
jmp 0x41c041
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 8]
mov byte [eax + 2], 1
jmp 0x41c041
mov eax, dword [ebp - 8]
mov byte [eax], 1
push 0
mov ecx, 0x41c79c
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41c05e
je 0x41c06d
jmp 0x41c07c
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 2], 0
jmp 0x41c082
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 2], 1
jmp 0x41c082
mov eax, dword [ebp - 0xc]
mov byte [eax], 1
push 2
mov ecx, 0x41c7b0
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41c09f
je 0x41c0ae
jmp 0x41c0bd
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov byte [eax + 2], 1
jmp 0x41c0c3
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov byte [eax + 2], 0
jmp 0x41c0c3
mov eax, dword [ebp - 4]
mov byte [eax], 1
push 2
mov ecx, 0x41c7c0
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41c0e0
je 0x41c0f5
jmp 0x41c10a
mov eax, dword [ebp + 0x9c]
mov byte [eax], 0
mov eax, dword [ebp + 0x9c]
mov byte [eax + 2], 0
jmp 0x41c113
mov eax, dword [ebp + 0x9c]
mov byte [eax], 0
mov eax, dword [ebp + 0x9c]
mov byte [eax + 2], 1
jmp 0x41c113
mov eax, dword [ebp + 0x9c]
mov byte [eax], 1
push 2
mov ecx, 0x41c7d4
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41c130
je 0x41c145
jmp 0x41c15a
mov eax, dword [ebp + 0x98]
mov byte [eax], 0
mov eax, dword [ebp + 0x98]
mov byte [eax + 2], 0
jmp 0x41c163
mov eax, dword [ebp + 0x98]
mov byte [eax], 0
mov eax, dword [ebp + 0x98]
mov byte [eax + 2], 1
jmp 0x41c163
mov eax, dword [ebp + 0x98]
mov byte [eax], 1
push 2
mov ecx, 0x41c7ec
mov edx, 0x41c478
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41c180
je 0x41c195
jmp 0x41c1aa
mov eax, dword [ebp + 0x94]
mov byte [eax], 0
mov eax, dword [ebp + 0x94]
mov byte [eax + 2], 0
jmp 0x41c1b3
mov eax, dword [ebp + 0x94]
mov byte [eax], 0
mov eax, dword [ebp + 0x94]
mov byte [eax + 2], 1
jmp 0x41c1b3
mov eax, dword [ebp + 0x94]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c20e
mov eax, dword [ebp - 0x14]
call fcn.00402b00
mov eax, dword [0x41d814]
mov eax, dword [eax]
mov ecx, dword [eax + 0x250]
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.00406288
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c3a2
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.0040344c
lea eax, [ebp - 0x10]
call fcn.00403428
ret