Function at 0x40d450
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d4ef
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x485370]
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 eax, dword [0x4881b0]
mov ecx, dword [0x4881ac]
push eax
push ecx
lea edx, [ebp - 0x238]
push edx
call fcn.0040fd50
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xc
call fcn.004507d8
xor esi, esi
add esp, 4
cmp eax, esi
je 0x40d4c3
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
jmp 0x40d4c5
xor eax, eax
push str.http:__www.yjxitong.com_yiji_softcon_xitong.txt
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, eax
call fcn.0040be20
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x22c]
cmp dword [eax - 0xc], esi
jne 0x40d510
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d509
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40df6c
mov edi, str.__line_
shr edi, 0x10
mov esi, str._line_
xor ebx, ebx
shr esi, 0x10
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x244], esi
mov edi, edi
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 1
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 2
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
push ecx
inc ebx
mov dword [ebp - 0x23c], ebx
mov ebx, esp
mov ecx, section..data
mov dword [ebp - 0x220], esp
mov dword [ebp - 0x21c], ebx
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 3
test edi, edi
jne 0x40d5ba
mov ecx, str.__line_
movzx edi, cx
call fcn.00404bb0
test eax, eax
je 0x40d5ca
push eax
mov eax, edi
mov edi, ebx
call fcn.00404d60
jmp 0x40d5ca
push str.__line_
push ebx
mov ebx, 7
call fcn.00404f80
mov byte [ebp - 4], 4
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
push ecx
mov ebx, esp
mov ecx, section..data
mov dword [ebp - 0x21c], esp
mov dword [ebp - 0x224], ebx
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 5
test esi, esi
jne 0x40d617
mov ecx, str._line_
movzx edi, cx
call fcn.00404bb0
test eax, eax
je 0x40d627
push eax
mov eax, edi
mov edi, ebx
call fcn.00404d60
jmp 0x40d627
push str._line_
push ebx
mov ebx, 6
call fcn.00404f80
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x22c]
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x224], esp
mov esi, esp
call eax
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x40d660
cmp eax, dword [edi - 0x10]
jne 0x40d660
lea ebx, [edi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40d698
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x40def3
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.004515de
add esp, 0x10
lea ecx, [ebp - 0x230]
add ebx, 0x10
push ecx
mov ecx, dword [ebp - 0x23c]
mov dword [esi], ebx
mov byte [ebp - 4], 2
call fcn.004116d0
mov edi, dword [ebp - 0x230]
add esp, 0x10
cmp dword [edi - 0xc], 0
je 0x40def8
lea esi, [ebp - 0x268]
call fcn.0040df90
mov byte [ebp - 4], 7
mov ebx, dword [ebp - 0x268]
lea esi, [edi - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x40d738
cmp dword [ebx + 0xc], 0
jl 0x40d728
mov edx, dword [esi]
cmp edx, dword [ebx]
jne 0x40d728
mov eax, esi
call fcn.00404b40
mov dword [ebp - 0x21c], eax
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d717
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0x10
mov dword [ebp - 0x268], ecx
jmp 0x40d738
mov ebx, dword [edi - 0xc]
push edi
lea edx, [ebp - 0x268]
push edx
call fcn.00404f80
cmp dword [edi - 0xc], 0
jg 0x40d743
or eax, 0xffffffff
jmp 0x40d75b
push 0x7c
push edi
call fcn.00452bcb
add esp, 8
test eax, eax
jne 0x40d757
or eax, 0xffffffff
jmp 0x40d75b
sub eax, edi
sar eax, 1
lea ecx, [ebp - 0x248]
lea edx, [ebp - 0x230]
call fcn.004070a0
mov byte [ebp - 4], 8
mov ecx, dword [eax]
mov edi, dword [ebp - 0x264]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x40d7d3
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x40d7c3
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x40d7c3
call fcn.00404b40
mov dword [ebp - 0x21c], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x40d7b2
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0x10
mov dword [ebp - 0x264], ecx
jmp 0x40d7d3
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [ebp - 0x264]
push edx
call fcn.00404f80
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d7f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
push ecx
mov ebx, esp
mov ecx, section..data
mov dword [ebp - 0x224], esp
mov dword [ebp - 0x220], ebx
call eax
add eax, 0x10
mov dword [ebx], eax
mov eax, 0x47b3f8
shr eax, 0x10
mov byte [ebp - 4], 9
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0x40d850
mov ecx, 0x47b3f8
movzx edi, cx
call fcn.00404bb0
test eax, eax
je 0x40d860
push eax
mov eax, edi
mov edi, ebx
call fcn.00404d60
jmp 0x40d860
push 0x47b3f8
push ebx
mov ebx, 1
call fcn.00404f80
mov byte [ebp - 4], 0xa
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
push ecx
mov ebx, esp
mov ecx, section..data
mov dword [ebp - 0x220], esp
mov dword [ebp - 0x228], ebx
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x21c], 0
jne 0x40d8b2
mov ecx, 0x47b3f8
movzx edi, cx
call fcn.00404bb0
test eax, eax
je 0x40d8c2
push eax
mov eax, edi
mov edi, ebx
call fcn.00404d60
jmp 0x40d8c2
push 0x47b3f8
push ebx
mov ebx, 1
call fcn.00404f80
mov byte [ebp - 4], 0xc
push ecx
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x228], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40d8f2
cmp eax, dword [esi]
jne 0x40d8f2
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40d92d
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40def3
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004515de
add esp, 0x10
lea edx, [ebp - 0x260]
add edi, 0x10
mov dword [ebx], edi
push edx
mov ecx, 1
mov byte [ebp - 4], 7
call fcn.004116d0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
add esp, 0xc
mov ebx, esp
mov ecx, section..data
mov dword [ebp - 0x228], esp
mov dword [ebp - 0x224], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x21c], 0
jne 0x40d996
mov eax, 0x47b3f8
movzx edi, ax
call fcn.00404bb0
test eax, eax
je 0x40d9a6
push eax
mov eax, edi
mov edi, ebx
call fcn.00404d60
jmp 0x40d9a6
push 0x47b3f8
push ebx
mov ebx, 1
call fcn.00404f80
mov byte [ebp - 4], 0xe
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
push ecx
mov ebx, esp
mov ecx, section..data
mov dword [ebp - 0x224], esp
mov dword [ebp - 0x220], ebx
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x21c], 0
jne 0x40d9f8
mov ecx, 0x47b3f8
movzx edi, cx
call fcn.00404bb0
test eax, eax
je 0x40da08
push eax
mov eax, edi
mov edi, ebx
call fcn.00404d60
jmp 0x40da08
push 0x47b3f8
push ebx
mov ebx, 1
call fcn.00404f80
mov byte [ebp - 4], 0x10
push ecx
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x220], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40da38
cmp eax, dword [esi]
jne 0x40da38
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40da73
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40def3
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004515de
add esp, 0x10
lea edx, [ebp - 0x25c]
add edi, 0x10
mov dword [ebx], edi
push edx
mov ecx, 2
mov byte [ebp - 4], 7
call fcn.004116d0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
add esp, 0xc
mov ebx, esp
mov ecx, section..data
mov dword [ebp - 0x220], 3
mov dword [ebp - 0x228], esp
mov dword [ebp - 0x224], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x21c], 0
jne 0x40dae6
mov eax, 0x47b3f8
movzx edi, ax
call fcn.00404bb0
test eax, eax
je 0x40daf6
push eax
mov eax, edi
mov edi, ebx
call fcn.00404d60
jmp 0x40daf6
push 0x47b3f8
push ebx
mov ebx, 1
call fcn.00404f80
mov byte [ebp - 4], 0x12
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
push ecx
mov ebx, esp
mov ecx, section..data
mov dword [ebp - 0x224], esp
mov dword [ebp - 0x234], ebx
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x21c], 0
jne 0x40db48
mov ecx, 0x47b3f8
movzx edi, cx
call fcn.00404bb0
test eax, eax
je 0x40db58
push eax
mov eax, edi
mov edi, ebx
call fcn.00404d60
jmp 0x40db58
push 0x47b3f8
push ebx
mov ebx, 1
call fcn.00404f80
mov byte [ebp - 4], 0x14
push ecx
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x234], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40db88
cmp eax, dword [esi]
jne 0x40db88
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40dbc3
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40def3
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004515de
add esp, 0x10
mov ecx, dword [ebp - 0x220]
lea edx, [ebp - 0x254]
add edi, 0x10
mov dword [ebx], edi
push edx
mov byte [ebp - 4], 7
call fcn.004116d0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
add esp, 0xc
mov ebx, esp
mov ecx, section..data
mov dword [ebp - 0x220], 4
mov dword [ebp - 0x234], esp
mov dword [ebp - 0x228], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x21c], 0
jne 0x40dc37
mov eax, 0x47b3f8
movzx edi, ax
call fcn.00404bb0
test eax, eax
je 0x40dc47
push eax
mov eax, edi
mov edi, ebx
call fcn.00404d60
jmp 0x40dc47
push 0x47b3f8
push ebx
mov ebx, 1
call fcn.00404f80
mov byte [ebp - 4], 0x16
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
push ecx
mov ebx, esp
mov ecx, section..data
mov dword [ebp - 0x228], esp
mov dword [ebp - 0x224], ebx
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x21c], 0
jne 0x40dc99
mov ecx, 0x47b3f8
movzx edi, cx
call fcn.00404bb0
test eax, eax
je 0x40dca9
push eax
mov eax, edi
mov edi, ebx
call fcn.00404d60
jmp 0x40dca9
push 0x47b3f8
push ebx
mov ebx, 1
call fcn.00404f80
mov byte [ebp - 4], 0x18
push ecx
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x224], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40dcd9
cmp eax, dword [esi]
jne 0x40dcd9
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40dd14
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40def3
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004515de
add esp, 0x10
mov ecx, dword [ebp - 0x220]
lea edx, [ebp - 0x258]
add edi, 0x10
mov dword [ebx], edi
push edx
mov byte [ebp - 4], 7
call fcn.004116d0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
add esp, 0xc
mov ebx, esp
mov ecx, section..data
mov dword [ebp - 0x220], 5
mov dword [ebp - 0x234], esp
mov dword [ebp - 0x228], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x21c], 0
jne 0x40dd88
mov eax, 0x47b3f8
movzx edi, ax
call fcn.00404bb0
test eax, eax
je 0x40dd98
push eax
mov eax, edi
mov edi, ebx
call fcn.00404d60
jmp 0x40dd98
push 0x47b3f8
push ebx
mov ebx, 1
call fcn.00404f80
mov byte [ebp - 4], 0x1a
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
push ecx
mov ebx, esp
mov ecx, section..data
mov dword [ebp - 0x228], esp
mov dword [ebp - 0x224], ebx
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0x21c], 0
jne 0x40ddea
mov ecx, 0x47b3f8
movzx edi, cx
call fcn.00404bb0
test eax, eax
je 0x40ddfa
push eax
mov eax, edi
mov edi, ebx
call fcn.00404d60
jmp 0x40ddfa
push 0x47b3f8
push ebx
mov ebx, 1
call fcn.00404f80
mov byte [ebp - 4], 0x1c
push ecx
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x224], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40de2a
cmp eax, dword [esi]
jne 0x40de2a
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40de65
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40def3
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004515de
add esp, 0x10
mov ecx, dword [ebp - 0x220]
lea edx, [ebp - 0x250]
add edi, 0x10
mov dword [ebx], edi
push edx
mov byte [ebp - 4], 7
call fcn.004116d0
add esp, 0x10
lea ecx, [ebp - 0x268]
call fcn.0040fbb0
lea eax, [ebp - 0x268]
call fcn.0040a0d0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40deb6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dedc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x23c]
mov esi, dword [ebp - 0x244]
mov edi, dword [ebp - 0x238]
jmp 0x40d530
call fcn.00410240
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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.004501c4
mov esp, ebp
pop ebp
ret