Function at 0x40fe10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494267
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x4c206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x158], 0
lea ecx, [ebp - 0x12c]
push 4
push str.true
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0041ccc0
push ecx
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0
push eax
push 0
push 0
mov ecx, edi
call fcn.00413790
mov esi, 1
push ecx
lea eax, [ebp - 0x12c]
mov ecx, edi
push eax
push 0
push esi
call fcn.00413790
lea eax, [esi + esi]
mov esi, 1
test eax, eax
cmovne esi, eax
cmp esi, 0x80
jbe 0x40fe96
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x40fefe
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fef4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4108e0
push edx
push ecx
call fcn.00459719
add esp, 8
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00471be0
add esp, 0xc
lea eax, [ebp - 0x114]
push 0
push 0x2e
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x148]
call fcn.00411250
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x40ff58
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x40ff6e
call fcn.0041d700
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x4108e5
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x158], 1
lea esi, [eax + 0x10]
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x150], eax
mov edx, dword [eax - 0xc]
mov dword [ebp - 0x14c], edx
lea ebx, [edx + 0x17]
test ebx, ebx
js 0x4108ef
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x40ffcf
push ebx
lea ecx, [ebp - 0x154]
call fcn.00411860
mov esi, dword [ebp - 0x154]
mov edx, dword [ebp - 0x14c]
push edx
push dword [ebp - 0x150]
mov ecx, esi
call fcn.0041db60
mov ecx, dword [ebp - 0x14c]
mov edx, 0x17
push 0x17
push str.AliWorkbenchqnlog.log
lea ecx, [ecx + esi]
call fcn.0041db60
add esp, 0x10
cmp ebx, dword [esi - 8]
jg 0x4108ef
mov dword [esi - 0xc], ebx
or eax, 0xffffffff
mov byte [ebx + esi], 0
lea ebx, [esi - 0x10]
mov ecx, dword [ebp - 0x148]
add ecx, 0xfffffff0
mov dword [ebp - 0x14c], ecx
cmp ebx, ecx
je 0x410088
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x150], eax
jl 0x410076
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x410076
mov ecx, ebx
call fcn.0040fdb0
mov edx, dword [ebp - 0x150]
or ecx, 0xffffffff
mov dword [ebp - 0x15c], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41006b
mov esi, dword [ebp - 0x14c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x15c]
add eax, 0x10
mov dword [ebp - 0x148], eax
jmp 0x410085
push dword [esi - 0xc]
lea ecx, [ebp - 0x148]
push esi
call fcn.00411120
or eax, 0xffffffff
mov byte [ebp - 4], 1
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x41009e
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x148]
mov edx, eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4100c4
sub edx, esi
lea ecx, [ebp - 0x12c]
push edx
push eax
call fcn.0041ccc0
push ecx
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 3
push eax
push 8
push 0
mov ecx, edi
call fcn.00413790
mov esi, 1
push ecx
lea eax, [ebp - 0x12c]
mov ecx, edi
push eax
push 8
push esi
call fcn.00413790
lea eax, [esi + esi]
mov esi, 1
test eax, eax
cmovne esi, eax
cmp esi, 0x80
jbe 0x4100f6
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x41015b
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410151
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4108f9
push edx
push ecx
call fcn.00459719
add esp, 8
push 4
push str.true
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0041ccc0
push ecx
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 4
push eax
push 1
push 0
mov ecx, edi
call fcn.00413790
mov esi, 1
push ecx
lea eax, [ebp - 0x12c]
mov ecx, edi
push eax
push 1
push esi
call fcn.00413790
lea eax, [esi + esi]
mov esi, 1
test eax, eax
cmovne esi, eax
cmp esi, 0x80
jbe 0x4101a4
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x410209
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4101ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4108fe
push edx
push ecx
call fcn.00459719
add esp, 8
push 4
push str.true
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0041ccc0
push ecx
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 5
push eax
push 2
push 0
mov ecx, edi
call fcn.00413790
mov esi, 1
push ecx
lea eax, [ebp - 0x12c]
mov ecx, edi
push eax
push 2
push esi
call fcn.00413790
lea eax, [esi + esi]
mov esi, 1
test eax, eax
cmovne esi, eax
cmp esi, 0x80
jbe 0x410252
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4102b7
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4102ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410903
push edx
push ecx
call fcn.00459719
add esp, 8
push 1
push 0x4aaf98
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0041ccc0
push ecx
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 6
push eax
push 0x10
push 0
mov ecx, edi
call fcn.00413790
mov esi, 1
push ecx
lea eax, [ebp - 0x12c]
mov ecx, edi
push eax
push 0x10
push esi
call fcn.00413790
lea eax, [esi + esi]
mov esi, 1
test eax, eax
cmovne esi, eax
cmp esi, 0x80
jbe 0x410300
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x410365
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41035b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410908
push edx
push ecx
call fcn.00459719
add esp, 8
push 5
push str.false
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0041ccc0
push ecx
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 7
push eax
push 0x20
push 0
mov ecx, edi
call fcn.00413790
mov esi, 1
nop
push ecx
lea eax, [ebp - 0x12c]
mov ecx, edi
push eax
push 0x20
push esi
call fcn.00413790
lea eax, [esi + esi]
mov esi, 1
test eax, eax
cmovne esi, eax
cmp esi, 0x80
jbe 0x4103b0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x410415
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41040b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41090d
push edx
push ecx
call fcn.00459719
add esp, 8
push 1
push 0x4aaf9c
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0041ccc0
push ecx
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 8
push eax
push 0x40
push 0
mov ecx, edi
call fcn.00413790
mov esi, 1
nop
push ecx
lea eax, [ebp - 0x12c]
mov ecx, edi
push eax
push 0x40
push esi
call fcn.00413790
lea eax, [esi + esi]
mov esi, 1
test eax, eax
cmovne esi, eax
cmp esi, 0x80
jbe 0x410460
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4104c5
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4104bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410912
push edx
push ecx
call fcn.00459719
add esp, 8
push 0x20
push str._datetime__level____logger___log
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0041ccc0
push ecx
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 9
push eax
push 4
push 0
mov ecx, edi
call fcn.00413790
mov esi, 1
nop
push ecx
lea eax, [ebp - 0x12c]
mov ecx, edi
push eax
push 4
push esi
call fcn.00413790
lea eax, [esi + esi]
mov esi, 1
test eax, eax
cmovne esi, eax
cmp esi, 0x80
jbe 0x410510
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x410575
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41056b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410917
push edx
push ecx
call fcn.00459719
add esp, 8
push 0x3c
push str._datetime__level___logger____user__host____func____loc___log
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0041ccc0
push ecx
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0xa
push eax
push 4
push 1
mov ecx, edi
call fcn.00413790
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4105f7
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4105ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41091c
push edx
push ecx
call fcn.00459719
add esp, 8
push 0x1f
push str._datetime__level___logger___log
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0041ccc0
push ecx
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0xb
push eax
push 4
push 8
mov ecx, edi
call fcn.00413790
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x410679
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41066f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410921
push edx
push ecx
call fcn.00459719
add esp, 8
push 0x1f
push str._datetime__level___logger___log
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0041ccc0
push ecx
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0xc
push eax
push 4
push 0x10
mov ecx, edi
call fcn.00413790
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4106fb
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4106f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410926
push edx
push ecx
call fcn.00459719
add esp, 8
push 0x27
push str._datetime__level__vlevel___logger___log
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0041ccc0
push ecx
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0xd
push eax
push 4
push 0x20
mov ecx, edi
call fcn.00413790
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x41077d
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410773
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41092b
push edx
push ecx
call fcn.00459719
add esp, 8
push 0x22
push str._datetime__level______logger___log
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0041ccc0
push ecx
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0xe
push eax
push 4
push 0x40
mov ecx, edi
call fcn.00413790
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4107ff
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4107f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410930
push edx
push ecx
call fcn.00459719
add esp, 8
push 0x2e
push str._datetime__level___logger____func____loc___log
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
call fcn.0041ccc0
push ecx
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 0xf
push eax
push 4
push 0x80
mov ecx, edi
call fcn.00413790
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x410884
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41087a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410935
push edx
push ecx
call fcn.00459719
add esp, 8
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x134], 0
add edx, 0xfffffff0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4108c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004591b7
mov esp, ebp
pop ebp
ret
call fcn.00474c79
push 0x80004005
call fcn.0041dc00
push 0x80070057
call fcn.0041dc00
call fcn.00474c79
call fcn.00474c79
call fcn.00474c79
call fcn.00474c79
call fcn.00474c79
call fcn.00474c79
call fcn.00474c79
call fcn.00474c79
call fcn.00474c79
call fcn.00474c79
call fcn.00474c79
call fcn.00474c79
call fcn.00474c79
int3