Function at 0x41b50c
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 0x41c0d7
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 0x41c0a7
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x41bf66
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, 0x41c0f0
call fcn.0040daa4
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, 0x41c110
call fcn.004037b4
je 0x41b600
lea eax, [ebp - 0x10]
mov edx, 0x41c110
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], 0x418a90
mov edx, dword [0x41d814]
mov edx, 0x41c11c
call fcn.00412c78
mov eax, dword [0x41d814]
mov eax, dword [eax]
cmp dword [eax + 0x250], 0
jne 0x41b67a
call fcn.00402fe0
call fcn.00402fe0
jmp 0x41c0b1
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 [0x419d90]
call fcn.0041a444
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x41bf43
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
mov ecx, 0x41c130
mov edx, 0x41c140
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, 0x41c15c
mov edx, 0x41c170
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.004063f4
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.0040347c
push esi
lea edx, [ebp - 0x124]
mov eax, dword [esi]
call fcn.00405e34
mov edx, dword [ebp - 0x124]
mov eax, 0x41c188
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, 0x41c198
mov edx, 0x41c1b4
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, 0x41c1c8
mov edx, 0x41c1b4
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.00405f7c
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.0041b4a0
and eax, 0xff
cmp ebx, eax
je 0x41b832
mov eax, dword [ebp + 0x34]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
jmp 0x41b84c
mov dword [ebp - 0x12c], edi
fild dword [ebp - 0x12c]
fld xword [0x41c1d4]
fmulp st(1)
mov eax, dword [ebp + 0x34]
fstp qword [eax]
wait
push 0x41c1e8
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x41c208
mov edx, 0x41c1b4
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, 0x41c21c
mov edx, 0x41c1b4
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, 0x41c230
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp + 0x28]
mov dword [edx], eax
push 0x41c244
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x41c264
mov edx, 0x41c1b4
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 0x41c278
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x41c290
mov edx, 0x41c1b4
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, 0x41c2a0
mov edx, 0x41c1b4
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, 0x41c2b4
mov edx, 0x41c2c4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
test eax, eax
jl 0x41b980
inc eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov esi, dword [ebp + 0xc]
cmp ebx, 0x31
jg 0x41b977
push 0
lea edx, [ebp - 0x124]
mov eax, ebx
call fcn.00405f7c
mov ecx, dword [ebp - 0x124]
mov edx, 0x41c2c4
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 0x41b94e
push 0
mov ecx, 0x41c2e4
mov edx, 0x41c1b4
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, 0x41c2f8
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41b9b6
je 0x41b9c2
jmp 0x41b9cc
mov eax, dword [ebp + 0x90]
mov byte [eax + 2], 0
jmp 0x41b9cc
mov eax, dword [ebp + 0x90]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41c304
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41b9e9
je 0x41b9f5
jmp 0x41b9ff
mov eax, dword [ebp + 0x8c]
mov byte [eax + 2], 0
jmp 0x41b9ff
mov eax, dword [ebp + 0x8c]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c31c
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41ba1c
je 0x41ba28
jmp 0x41ba32
mov eax, dword [ebp + 0x88]
mov byte [eax + 2], 0
jmp 0x41ba32
mov eax, dword [ebp + 0x88]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41c33c
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41ba4f
je 0x41ba5b
jmp 0x41ba65
mov eax, dword [ebp + 0x84]
mov byte [eax + 2], 0
jmp 0x41ba65
mov eax, dword [ebp + 0x84]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c358
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41ba82
je 0x41ba8e
jmp 0x41ba98
mov eax, dword [ebp + 0x80]
mov byte [eax + 2], 0
jmp 0x41ba98
mov eax, dword [ebp + 0x80]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c36c
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bab5
je 0x41babe
jmp 0x41bac5
mov eax, dword [ebp + 0x7c]
mov byte [eax + 2], 0
jmp 0x41bac5
mov eax, dword [ebp + 0x7c]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41c380
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bae2
je 0x41baeb
jmp 0x41baf2
mov eax, dword [ebp + 0x78]
mov byte [eax + 2], 0
jmp 0x41baf2
mov eax, dword [ebp + 0x78]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41c398
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bb0f
je 0x41bb18
jmp 0x41bb1f
mov eax, dword [ebp + 0x74]
mov byte [eax + 2], 0
jmp 0x41bb1f
mov eax, dword [ebp + 0x74]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41c3ac
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bb3c
je 0x41bb45
jmp 0x41bb4c
mov eax, dword [ebp + 0x70]
mov byte [eax + 2], 0
jmp 0x41bb4c
mov eax, dword [ebp + 0x70]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c3c0
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bb69
je 0x41bb72
jmp 0x41bb79
mov eax, dword [ebp + 0x6c]
mov byte [eax + 2], 0
jmp 0x41bb79
mov eax, dword [ebp + 0x6c]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c3d4
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bb96
je 0x41bb9f
jmp 0x41bba6
mov eax, dword [ebp + 0x68]
mov byte [eax + 2], 0
jmp 0x41bba6
mov eax, dword [ebp + 0x68]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c3e4
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bbc3
je 0x41bbcc
jmp 0x41bbd3
mov eax, dword [ebp + 0x64]
mov byte [eax + 2], 0
jmp 0x41bbd3
mov eax, dword [ebp + 0x64]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c3f8
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bbf0
je 0x41bbf9
jmp 0x41bc00
mov eax, dword [ebp + 0x60]
mov byte [eax + 2], 0
jmp 0x41bc00
mov eax, dword [ebp + 0x60]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c40c
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bc1d
je 0x41bc26
jmp 0x41bc2d
mov eax, dword [ebp + 0x5c]
mov byte [eax + 2], 0
jmp 0x41bc2d
mov eax, dword [ebp + 0x5c]
mov byte [eax + 2], 1
push 1
mov ecx, 0x41c420
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bc4a
je 0x41bc53
jmp 0x41bc5a
mov eax, dword [ebp + 0x58]
mov byte [eax + 2], 0
jmp 0x41bc5a
mov eax, dword [ebp + 0x58]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c434
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bc77
je 0x41bc80
jmp 0x41bc87
mov eax, dword [ebp + 0x54]
mov byte [eax + 2], 0
jmp 0x41bc87
mov eax, dword [ebp + 0x54]
mov byte [eax + 2], 1
push 0
mov ecx, 0x41c44c
mov edx, 0x41c1b4
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, 0x41c45c
mov edx, 0x41c1b4
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, 0x41c468
mov edx, 0x41c1b4
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, 0x41c478
mov edx, 0x41c1b4
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, 0x41c488
mov edx, 0x41c1b4
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, 0x41c49c
mov edx, 0x41c1b4
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, 0x41c4b0
mov edx, 0x41c1b4
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, 0x41c4c8
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bd59
je 0x41bd68
jmp 0x41bd77
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 8]
mov byte [eax + 2], 0
jmp 0x41bd7d
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 8]
mov byte [eax + 2], 1
jmp 0x41bd7d
mov eax, dword [ebp - 8]
mov byte [eax], 1
push 0
mov ecx, 0x41c4d8
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bd9a
je 0x41bda9
jmp 0x41bdb8
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 2], 0
jmp 0x41bdbe
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 2], 1
jmp 0x41bdbe
mov eax, dword [ebp - 0xc]
mov byte [eax], 1
push 2
mov ecx, 0x41c4ec
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bddb
je 0x41bdea
jmp 0x41bdf9
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov byte [eax + 2], 1
jmp 0x41bdff
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov byte [eax + 2], 0
jmp 0x41bdff
mov eax, dword [ebp - 4]
mov byte [eax], 1
push 2
mov ecx, 0x41c4fc
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41be1c
je 0x41be31
jmp 0x41be46
mov eax, dword [ebp + 0x9c]
mov byte [eax], 0
mov eax, dword [ebp + 0x9c]
mov byte [eax + 2], 0
jmp 0x41be4f
mov eax, dword [ebp + 0x9c]
mov byte [eax], 0
mov eax, dword [ebp + 0x9c]
mov byte [eax + 2], 1
jmp 0x41be4f
mov eax, dword [ebp + 0x9c]
mov byte [eax], 1
push 2
mov ecx, 0x41c510
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41be6c
je 0x41be81
jmp 0x41be96
mov eax, dword [ebp + 0x98]
mov byte [eax], 0
mov eax, dword [ebp + 0x98]
mov byte [eax + 2], 0
jmp 0x41be9f
mov eax, dword [ebp + 0x98]
mov byte [eax], 0
mov eax, dword [ebp + 0x98]
mov byte [eax + 2], 1
jmp 0x41be9f
mov eax, dword [ebp + 0x98]
mov byte [eax], 1
push 2
mov ecx, 0x41c528
mov edx, 0x41c1b4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
sub eax, 1
jb 0x41bebc
je 0x41bed1
jmp 0x41bee6
mov eax, dword [ebp + 0x94]
mov byte [eax], 0
mov eax, dword [ebp + 0x94]
mov byte [eax + 2], 0
jmp 0x41beef
mov eax, dword [ebp + 0x94]
mov byte [eax], 0
mov eax, dword [ebp + 0x94]
mov byte [eax + 2], 1
jmp 0x41beef
mov eax, dword [ebp + 0x94]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41bf4a
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.00406268
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c0de
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.0040344c
lea eax, [ebp - 0x10]
call fcn.00403428
ret