Function at 0x408100
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431f29
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push esi
push edi
mov eax, dword [0x43ec2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.CEPSDNMON_:_GetAppListFromAppInfo_r_n
push 0x442e1c
call fcn.004013e0
add esp, 8
xor esi, esi
push 0x4372b0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x5c], esi
call fcn.00401bf0
mov dword [ebp - 4], esi
mov dword [ebp - 0x84], vtable.CArray_struct__TARGETINFOEX__struct__TARGETINFOEX__.0
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], esi
lea edi, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.0040ac70
mov dword [ebp - 0x98], vtable.CArray_struct__SOFTWARE_LIST__struct__SOFTWARE_LIST__.0
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], esi
lea edi, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.0040ad60
lea ecx, [ebp - 0xb4]
call fcn.0040e576
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 3
call fcn.0040e61d
mov edi, dword [ebp + 8]
mov ebx, 1
cmp dword [edi + 0x100], ebx
jne 0x4081ea
lea eax, [edi + 4]
push eax
call fcn.00405430
cmp eax, esi
jne 0x4081ea
mov dword [ebp - 0x5c], ebx
jmp 0x4091b6
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx - 8]
mov ecx, ebx
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x40820e
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.00401a40
mov edx, dword [ebp - 0x1c]
push esi
push 0x26
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00418b6b
add esp, 8
cmp eax, esi
jl 0x409283
mov ecx, dword [ebp - 0x1c]
cmp eax, dword [ecx - 8]
jg 0x409283
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp ebx, esi
je 0x4091b6
push str.EPSON_SoftwareDownload_Navigator
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.004068c0
add esp, 0xc
push 0x437228
push eax
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 4
call fcn.004068c0
add esp, 0xc
push str.E_UPWJ01.dll
push eax
lea eax, [ebp - 0x4c]
mov bl, 5
push eax
mov byte [ebp - 4], bl
call fcn.004068c0
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00401580
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4082c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4082e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40830a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov ebx, esp
push eax
call fcn.00401610
add eax, 0x10
mov dword [ebx], eax
lea eax, [edi + 0x28]
add esp, 4
mov dword [ebp - 0x9c], eax
call fcn.004072b0
cmp eax, esi
je 0x4091b6
lea ecx, [ebp - 0xb4]
push ecx
call fcn.0040bf50
mov eax, dword [ebp - 0xac]
push eax
push str.CEPSDNMON_:_GetAppListFromAppInfo_QueueCount____d__r_n
push 0x442e1c
mov dword [ebp - 0x4c], eax
call fcn.004013e0
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 8]
add esp, 0xc
push ebx
push str.CEPSDNMON_:_GetAppListFromAppInfo_DriverCount____d__r_n
push 0x442e1c
mov dword [ebp - 0x10], ebx
call fcn.004013e0
add esp, 0xc
cmp ebx, esi
mov dword [ebp - 0x54], esi
jle 0x408d0c
mov ebx, dword [ebp - 0x54]
test ebx, ebx
jl 0x408d42
mov edi, dword [ebp + 0xc]
cmp ebx, dword [edi + 8]
jge 0x408d42
mov eax, dword [edi + 4]
lea esi, [ebx*4]
add eax, esi
mov eax, dword [eax]
push eax
push str.CEPSDNMON_:_GetAppListFromAppInfo_Driver____s__r_n
push 0x442e1c
mov dword [ebp - 0xa0], esi
call fcn.004013e0
add esp, 8
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.PRSCPRAIOPRINKPRLFP
call fcn.00401bf0
mov byte [ebp - 4], 7
cmp ebx, dword [edi + 8]
jge 0x408d42
mov eax, dword [edi + 4]
add eax, esi
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [ebp - 0x58], esp
mov esi, esp
push eax
call fcn.00401610
mov edx, dword [ebp - 0x9c]
add esp, 4
lea ecx, [ebp - 0x20]
add eax, 0x10
push ecx
mov dword [esi], eax
push edx
mov byte [ebp - 4], 3
call fcn.00407340
xor ebx, ebx
mov dword [ebp - 0x38], vtable.CArray_struct__TARGETINFO__struct__TARGETINFO__.0
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
xor eax, eax
lea edi, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.0040b920
mov eax, dword [ebp - 0x20]
push ecx
add eax, 0xfffffff0
mov esi, edi
mov dword [ebp - 0x14], esp
mov edi, esp
push eax
call fcn.00401610
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00409570
mov eax, dword [ebp - 0x7c]
xor edi, edi
cmp dword [ebp - 0x30], ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x24], edi
jle 0x408cbf
xor esi, esi
cmp dword [ebp - 0x58], esi
jle 0x4084d0
mov ebx, dword [ebp - 0x80]
lea esp, [esp]
test edi, edi
jl 0x408d42
cmp edi, dword [ebp - 0x30]
jge 0x408d42
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + edi*8]
test esi, esi
jl 0x408d42
cmp esi, dword [ebp - 0x7c]
jge 0x408d42
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x408d38
mov ecx, dword [ebx]
push eax
push ecx
call fcn.00418d73
add esp, 8
test eax, eax
je 0x4084d0
inc esi
add ebx, 0x14
cmp esi, dword [ebp - 0x58]
jl 0x408480
cmp dword [ebp - 0x58], esi
jne 0x408cb2
lea esi, [ebp - 0x70]
call fcn.00409290
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x4c], 0
mov dword [ebp - 0x18], 0
jle 0x40873f
mov edi, dword [ebp - 0x18]
test edi, edi
jl 0x408d42
cmp edi, dword [ebp - 0xac]
jge 0x408d42
mov edx, dword [ebp - 0xb0]
mov esi, dword [edx + edi*4]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40853d
cmp eax, dword [esi]
jne 0x40853d
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x408578
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x408d47
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00418405
add esp, 0x10
add ebx, 0x10
mov dword [ebp - 0x14], ebx
push 0x4372b0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xb
call fcn.00401bf0
lea ebx, [ebp - 0x50]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040c450
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp + 0xc]
cmp ecx, dword [eax + 8]
jge 0x408d42
mov eax, dword [eax + 4]
add eax, dword [ebp - 0xa0]
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
setne cl
test ecx, ecx
je 0x408d38
mov edx, dword [ebp - 0x50]
push eax
push edx
call fcn.00418d73
add esp, 8
test eax, eax
je 0x408630
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4085fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40861e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, dword [ebp - 0x4c]
mov dword [ebp - 0x18], edi
jl 0x4084f9
jmp 0x40873c
mov eax, dword [ebp - 0x24]
test eax, eax
jl 0x408d42
cmp eax, dword [ebp - 0x30]
jge 0x408d42
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + eax*8]
push edx
push str.CEPSDNMON_:_GetAppListFromAppInfo_GetRegionInfo__KeyWord____s__r_n
push 0x442e1c
call fcn.004013e0
add esp, 0xc
cmp edi, dword [ebp - 0xac]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x68]
push edx
jge 0x408d42
mov eax, dword [ebp - 0xb0]
push ecx
mov ecx, dword [ebp - 0x18]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
mov dword [ebp - 0xb8], esp
mov edi, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4086b1
cmp eax, dword [esi]
jne 0x4086b1
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4086ec
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x408d47
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00418405
add esp, 0x10
add ebx, 0x10
mov dword [edi], ebx
call fcn.004064c0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408719
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40873c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x24]
test edi, edi
jl 0x408d42
cmp edi, dword [ebp - 0x30]
jge 0x408d42
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + edi*8]
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
lea esi, [eax - 0x10]
mov dword [ebp - 0x14], edx
cmp esi, edx
je 0x40880e
cmp dword [edx + 0xc], 0
jl 0x408801
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x408801
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40879f
cmp eax, dword [esi]
jne 0x40879f
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4087da
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x408d47
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00418405
add esp, 0x10
mov eax, dword [ebp - 0x14]
add eax, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4087f9
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0x10
mov dword [ebp - 0x70], ebx
jmp 0x40880e
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00401af0
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + edi*8 + 4]
mov edi, dword [ebp - 0x6c]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x4088c0
cmp dword [edi + 0xc], 0
jl 0x4088b3
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x4088b3
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x408857
cmp eax, dword [esi]
jne 0x408857
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x408892
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x408d47
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00418405
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4088ab
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [ebp - 0x6c], ebx
jmp 0x4088c0
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.00401af0
mov esi, dword [ebp - 0x7c]
test esi, esi
jl 0x408d42
mov eax, esi
inc eax
lea edi, [ebp - 0x84]
call fcn.0040b2a0
mov edx, dword [ebp - 0x80]
lea ecx, [esi + esi*4]
mov esi, dword [ebp - 0x70]
mov edi, dword [edx + ecx*4]
lea ebx, [edx + ecx*4]
add esi, 0xfffffff0
sub edi, 0x10
mov dword [ebp - 0x18], ebx
cmp esi, edi
je 0x40899d
cmp dword [edi + 0xc], 0
jl 0x40898e
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x40898e
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40892e
cmp eax, dword [esi]
jne 0x40892e
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x408969
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x408d47
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00418405
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408982
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x18]
add ebx, 0x10
mov dword [ecx], ebx
mov ebx, ecx
jmp 0x40899d
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.00401af0
mov esi, dword [ebp - 0x6c]
mov edi, dword [ebx + 4]
lea ecx, [ebx + 4]
add esi, 0xfffffff0
sub edi, 0x10
cmp esi, edi
je 0x408a5c
cmp dword [edi + 0xc], 0
jl 0x408a4f
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x408a4f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4089eb
cmp eax, dword [esi]
jne 0x4089eb
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x408a26
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x408d47
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00418405
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408a3f
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [ebp - 0x18]
add ebx, 0x10
add eax, 4
mov dword [eax], ebx
mov ebx, dword [ebp - 0x18]
jmp 0x408a5c
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax - 0xc]
push edx
push eax
call fcn.00401af0
mov edx, dword [ebp - 0x68]
mov edi, dword [ebx + 8]
lea ecx, [ebx + 8]
lea esi, [edx - 0x10]
sub edi, 0x10
cmp esi, edi
je 0x408b18
cmp dword [edi + 0xc], 0
jl 0x408b0e
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x408b0e
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x408aaa
cmp eax, dword [esi]
jne 0x408aaa
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x408ae5
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x408d47
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00418405
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408afe
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [ebp - 0x18]
add ebx, 0x10
add eax, 8
mov dword [eax], ebx
mov ebx, dword [ebp - 0x18]
jmp 0x408b18
mov eax, dword [edx - 0xc]
push eax
push edx
call fcn.00401af0
mov edx, dword [ebp - 0x64]
mov edi, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
lea esi, [edx - 0x10]
sub edi, 0x10
cmp esi, edi
je 0x408bd4
cmp dword [edi + 0xc], 0
jl 0x408bca
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x408bca
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x408b66
cmp eax, dword [esi]
jne 0x408b66
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x408ba1
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x408d47
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00418405
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408bba
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [ebp - 0x18]
add ebx, 0x10
add eax, 0xc
mov dword [eax], ebx
mov ebx, dword [ebp - 0x18]
jmp 0x408bd4
mov eax, dword [edx - 0xc]
push eax
push edx
call fcn.00401af0
mov edx, dword [ebp - 0x60]
mov edi, dword [ebx + 0x10]
lea ecx, [ebx + 0x10]
lea esi, [edx - 0x10]
sub edi, 0x10
mov dword [ebp - 0x14], ecx
cmp esi, edi
je 0x408c8d
cmp dword [edi + 0xc], 0
jl 0x408c83
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x408c83
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x408c25
cmp eax, dword [esi]
jne 0x408c25
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x408c60
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x408d47
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00418405
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408c79
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x14]
add ebx, 0x10
mov dword [ecx], ebx
jmp 0x408c8d
mov eax, dword [edx - 0xc]
push eax
push edx
call fcn.00401af0
mov edx, dword [ebp - 0x70]
push edx
push str.CEPSDNMON_:_GetAppListFromAppInfo_KeyWord____s__r_n
push 0x442e1c
call fcn.004013e0
add esp, 0xc
lea esi, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.00409340
mov edi, dword [ebp - 0x24]
inc edi
cmp edi, dword [ebp - 0x30]
mov dword [ebp - 0x24], edi
jl 0x40846f
mov byte [ebp - 4], 8
cmp dword [0x442e18], 0
lea ebx, [ebp - 0x38]
jne 0x408d4c
call fcn.0040ae50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408cf7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
inc eax
cmp eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
jl 0x408389
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp - 0x7c]
push ebx
push str.CEPSDNMON_:_GetAppListFromAppInfo_AppCount____d__r_n
push 0x442e1c
call fcn.004013e0
add esp, 0xc
cmp ebx, esi
mov dword [ebp + 0xc], esi
jle 0x409193
mov ecx, dword [ebp - 0x80]
add ecx, 8
mov dword [ebp - 0x20], ecx
jmp 0x408d83
push 0x80004005
call fcn.00401cd0
call fcn.0040d813
call fcn.004019f0
call fcn.0040ae50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4091b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4091b6
mov ebx, dword [ebp - 0x7c]
lea esi, [ebp - 0x48]
call fcn.004093e0
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xd
test eax, eax
jl 0x408d42
cmp eax, ebx
jge 0x408d42
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx - 8]
mov esi, dword [ebp - 0x48]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x408df6
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x408de9
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x408de9
push eax
call fcn.00401610
mov dword [ebp - 0x10], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x408dde
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
mov dword [ebp - 0x48], ecx
jmp 0x408df6
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.00401af0
mov eax, dword [ebx - 4]
push eax
call fcn.0041902f
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
add esp, 4
mov dword [ebp - 0x40], 0x270f
cmp ecx, esi
je 0x408e64
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x408e57
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x408e57
push ecx
call fcn.00401610
mov dword [ebp - 0x10], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x408e4c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
mov dword [ebp - 0x34], ecx
jmp 0x408e64
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00401af0
mov eax, dword [ebx + 4]
mov esi, dword [ebp - 0x30]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x408ebd
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x408eb0
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x408eb0
push ecx
call fcn.00401610
mov dword [ebp - 0x10], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x408ea5
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
mov dword [ebp - 0x30], ecx
jmp 0x408ebd
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00401af0
mov eax, dword [ebx + 8]
mov esi, dword [ebp - 0x2c]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x408f12
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x408f05
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x408f05
push ecx
call fcn.00401610
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x408efd
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x2c], ebx
jmp 0x408f12
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401af0
mov esi, dword [ebp - 0x90]
test esi, esi
jl 0x408d42
lea eax, [esi + 1]
lea edi, [ebp - 0x98]
call fcn.0040b5e0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x48]
lea ecx, [esi + esi*8]
mov esi, dword [edx + ecx*4]
lea edi, [edx + ecx*4]
add eax, 0xfffffff0
sub esi, 0x10
cmp eax, esi
je 0x408f94
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x408f85
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x408f85
push eax
call fcn.00401610
add esp, 4
mov dword [ebp - 0x10], eax
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x408f7b
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [edi], eax
jmp 0x408f94
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, edi
call fcn.00401af0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x3c]
lea ebx, [edi + 0xc]
mov dword [edi + 8], edx
mov esi, dword [ebx]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x408ff9
cmp dword [esi + 0xc], 0
jl 0x408fed
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x408fed
push eax
call fcn.00401610
mov dword [ebp - 0x10], eax
add esp, 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408fe3
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x408ff9
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00401af0
mov ecx, dword [ebp - 0x38]
mov esi, dword [edi + 0x10]
lea ebx, [edi + 0x10]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x409053
cmp dword [esi + 0xc], 0
jl 0x409047
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x409047
push eax
call fcn.00401610
mov dword [ebp - 0x10], eax
add esp, 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40903d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x409053
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00401af0
mov eax, dword [ebp - 0x34]
mov esi, dword [edi + 0x14]
lea ebx, [edi + 0x14]
add eax, 0xfffffff0
sub esi, 0x10
cmp eax, esi
je 0x4090b0
cmp dword [esi + 0xc], 0
jl 0x4090a1
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4090a1
push eax
call fcn.00401610
mov dword [ebp - 0x10], eax
add esp, 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409097
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x4090b0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.00401af0
mov eax, dword [ebp - 0x30]
mov esi, dword [edi + 0x18]
lea ebx, [edi + 0x18]
add eax, 0xfffffff0
sub esi, 0x10
cmp eax, esi
je 0x40910d
cmp dword [esi + 0xc], 0
jl 0x4090fe
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4090fe
push eax
call fcn.00401610
mov dword [ebp - 0x10], eax
add esp, 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4090f4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x40910d
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.00401af0
mov eax, dword [ebp - 0x2c]
mov esi, dword [edi + 0x1c]
lea ebx, [edi + 0x1c]
add eax, 0xfffffff0
sub esi, 0x10
cmp eax, esi
je 0x40916a
cmp dword [esi + 0xc], 0
jl 0x40915b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40915b
push eax
call fcn.00401610
mov dword [ebp - 0x10], eax
add esp, 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409151
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x40916a
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00401af0
mov edx, dword [ebp - 0x28]
lea esi, [ebp - 0x48]
mov dword [edi + 0x20], edx
mov byte [ebp - 4], 3
call fcn.004094b0
mov eax, dword [ebp + 0xc]
add dword [ebp - 0x20], 0x14
inc eax
cmp eax, dword [ebp - 0x7c]
mov dword [ebp + 0xc], eax
jl 0x408d80
mov edi, dword [ebp + 8]
push edi
lea ebx, [ebp - 0x98]
call fcn.00409960
test eax, eax
jne 0x4091b6
mov eax, ebx
push eax
add edi, 4
push edi
call fcn.004058b0
mov dword [ebp - 0x5c], 1
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x88]
test eax, eax
je 0x4091d4
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x88], 0
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 2
call fcn.0040e753
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x94]
test ebx, ebx
je 0x409216
mov edi, dword [ebp - 0x90]
test edi, edi
jle 0x40920d
mov esi, ebx
lea ecx, [ecx]
call fcn.004094b0
add esi, 0x24
sub edi, 1
jne 0x409200
push ebx
call fcn.0040d180
add esp, 4
mov byte [ebp - 4], 0
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x409246
mov edi, dword [ebp - 0x7c]
test edi, edi
jle 0x40923d
mov esi, ebx
lea ebx, [ebx]
call fcn.00409340
add esi, 0x14
sub edi, 1
jne 0x409230
push ebx
call fcn.0040d180
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40926c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00401cd0
int3