Function at 0x408b10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x654
mov eax, dword [0x4fa2a0]
xor eax, esp
mov dword [esp + 0x650], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x206
xor ebx, ebx
lea edx, [esp + 0x24e]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x2c], eax
mov word [esp + 0x254], cx
call fcn.00436f70
add esp, 0xc
push 0x206
lea ecx, [esp + 0x456]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x45c], ax
call fcn.00436f70
add esp, 0xc
mov eax, 0x4d4de0
lea esi, [esp + 0x10]
call fcn.00403290
cmp dword [0x4ff104], ebx
jne 0x408bb1
push 0x24d4
call fcn.0042d9ac
add esp, 4
cmp eax, ebx
je 0x408bab
mov esi, eax
call fcn.00411390
mov dword [0x4ff104], eax
jmp 0x408bb1
mov dword [0x4ff104], ebx
lea edx, [esp + 0x18]
push edx
push ebx
push ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x408be4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x248]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [0x4fb44c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fb44c
call edx
add eax, 0x10
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x248]
push eax
push str._sNeoCell.lnk
lea edi, [esp + 0x44]
call fcn.00403de0
add esp, 8
cmp dword [0x4ff104], ebx
jne 0x408c40
push 0x24d4
call fcn.0042d9ac
add esp, 4
cmp eax, ebx
je 0x408c3a
mov esi, eax
call fcn.00411390
mov dword [0x4ff104], eax
jmp 0x408c40
mov dword [0x4ff104], ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x408c5d
lea ecx, [esp + 0x450]
push ecx
push eax
call fcn.0040d0c0
mov eax, dword [0x4ff104]
cmp eax, ebx
jne 0x408c87
push 0x24d4
call fcn.0042d9ac
add esp, 4
cmp eax, ebx
je 0x408c80
mov esi, eax
call fcn.00411390
jmp 0x408c82
xor eax, eax
mov dword [0x4ff104], eax
lea edx, [esp + 0x450]
push edx
lea ecx, [esp + 0x20]
push ecx
call fcn.0040dd10
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x48c]
cmp ecx, ebx
je 0x409051
call sym.Setup.exe_public:_bool___thiscall_DuiLib::COptionUI::IsSelected_void_const
test al, al
je 0x409051
push 0x206
lea ecx, [esp + 0x46]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x4c], ax
call fcn.00436f70
add esp, 0xc
cmp dword [0x4ff104], ebx
jne 0x408cff
push 0x24d4
call fcn.0042d9ac
add esp, 4
cmp eax, ebx
je 0x408cf9
mov esi, eax
call fcn.00411390
mov dword [0x4ff104], eax
jmp 0x408cff
mov dword [0x4ff104], ebx
lea edx, [esp + 0x18]
push edx
push ebx
push ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x409051
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edx, dword [esp + 0x18]
push edx
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp esi, ebx
je 0x409051
mov eax, dword [0x4fb44c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fb44c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x4fb44c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fb44c
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [0x4fb44c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fb44c
call edx
add eax, 0x10
push ebx
mov dword [esp + 0x30], eax
call fcn.00406a80
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x30]
call fcn.0040ec70
test al, al
je 0x408dcd
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ebx, [esp + 0x1c]
call fcn.00403d20
call fcn.00406a80
cmp byte [eax + 0x24d0], 0
je 0x408dc1
mov edx, ebx
push edx
mov edx, 0x4d5440
jmp 0x408dd7
lea eax, [esp + 0x14]
push eax
mov edx, str._Trainer.lnk
jmp 0x408dd7
lea ecx, [esp + 0x14]
push ecx
mov edx, str.NeoCell.lnk
call fcn.00403c70
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x408e24
mov esi, dword [esp + 0x2c]
mov edx, str._main
lea edi, [esp + 0x1c]
cmp dword [esi - 0xc], eax
jne 0x408e00
call fcn.00403380
jmp 0x408e50
call fcn.00403380
lea edx, [esp + 0x1c]
push edx
mov edx, str.__gameid
call fcn.00403c70
mov eax, dword [esi - 0xc]
push eax
push esi
lea ebx, [esp + 0x24]
call fcn.00403d20
jmp 0x408e50
js 0x408e41
push str._main
push esi
call fcn.0042f555
add esp, 8
test eax, eax
je 0x408e41
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x408e50
lea ecx, [esp + 0x1c]
push ecx
mov edx, str.__main
call fcn.00403c70
call fcn.00406a80
add eax, 0x820
lea esi, [esp + 0x30]
call fcn.00403290
mov esi, dword [esp + 0x30]
cmp dword [esi - 0xc], 0
jl 0x408e97
push 0x4d54b4
push esi
call fcn.0042f555
add esp, 8
test eax, eax
je 0x408e97
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x408e97
lea edx, [esp + 0x1c]
push edx
mov edx, str.__abroadgame
call fcn.00403c70
mov eax, dword [0x4fb44c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fb44c
call edx
add eax, 0x10
mov dword [esp + 0x34], eax
call fcn.00406a80
add eax, 0x410
push eax
push str._s_resdesk.ico
lea edi, [esp + 0x3c]
call fcn.00403de0
mov eax, dword [esp + 0x18]
mov edi, 1
add esp, 8
cmp dword [eax - 4], edi
jle 0x408ee5
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00403650
mov esi, dword [esp + 0x14]
cmp dword [esi - 4], edi
jle 0x408f00
mov edx, dword [esi - 0xc]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00403650
mov esi, dword [esp + 0x14]
call fcn.00406a80
push esi
call fcn.00406a80
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
add eax, 0xc30
push eax
push edi
lea ecx, [esp + 0x4c]
call fcn.0040cf00
mov ecx, ebx
cmp dword [ecx - 4], 1
jle 0x408f3f
mov edx, ebx
mov eax, dword [edx - 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00403650
call fcn.00406a80
push str.NeoCell.lnk
call fcn.00406a80
mov ebx, dword [esp + 0x14]
add eax, 0xc30
push eax
push edi
mov edx, str._main
lea ecx, [esp + 0x4c]
call fcn.0040cf00
mov ecx, ebx
mov eax, dword [ecx - 8]
push eax
push ecx
call fcn.0042dec6
add esp, 8
test eax, eax
js 0x409074
mov ecx, ebx
cmp eax, dword [ecx - 8]
jg 0x409074
mov dword [ecx - 0xc], eax
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0042dec6
add esp, 8
test eax, eax
js 0x409074
cmp eax, dword [esi - 8]
jg 0x409074
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408fd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408ff5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409015
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409035
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409051
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4ff104]
test eax, eax
jne 0x409085
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x40907e
mov esi, eax
call fcn.00411390
jmp 0x409080
push 0x80070057
call fcn.00403050
xor eax, eax
mov dword [0x4ff104], eax
push eax
call fcn.0040dfa0
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x490]
test ecx, ecx
je 0x409889
call sym.Setup.exe_public:_bool___thiscall_DuiLib::COptionUI::IsSelected_void_const
test al, al
je 0x409889
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [0x4fb44c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4fb44c
call eax
push 0x206
lea edx, [esp + 0x46]
add eax, 0x10
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x20], eax
mov word [esp + 0x4c], cx
call fcn.00436f70
add esp, 0xc
cmp dword [0x4ff104], ebx
jne 0x409111
push 0x24d4
call fcn.0042d9ac
add esp, 4
cmp eax, ebx
je 0x40910b
mov esi, eax
call fcn.00411390
mov dword [0x4ff104], eax
jmp 0x409111
mov dword [0x4ff104], ebx
lea eax, [esp + 0x18]
push eax
push 0x17
push ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4091b6
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp esi, ebx
je 0x4091b6
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
jle 0x409168
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00403650
mov eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x44]
push eax
push str._s_s
lea edi, [esp + 0x20]
call fcn.00403de0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 8]
add esp, 0xc
push eax
push esi
call fcn.0042dec6
add esp, 8
cmp eax, ebx
jl 0x409074
cmp eax, dword [esi - 8]
jg 0x409074
mov edx, dword [esp + 0x14]
push edx
xor ecx, ecx
mov dword [esi - 0xc], eax
push ebx
mov word [esi + eax*2], cx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [0x4fb44c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fb44c
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, 0x4d4de0
lea esi, [esp + 0x18]
call fcn.00403290
mov esi, dword [esp + 0x18]
cmp dword [esi - 4], 1
jle 0x4091f6
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403650
mov esi, dword [esp + 0x18]
push esi
lea edx, [esp + 0x44]
push edx
push str._s_s
lea edi, [esp + 0x34]
call fcn.00403de0
mov eax, dword [esi - 8]
add esp, 0xc
push eax
push esi
call fcn.0042dec6
add esp, 8
cmp eax, ebx
jl 0x409074
cmp eax, dword [esi - 8]
jg 0x409074
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov edx, dword [0x4fb44c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4fb44c
call eax
mov edx, dword [0x4fb44c]
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4fb44c
call eax
mov edx, dword [0x4fb44c]
add eax, 0x10
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4fb44c
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov eax, dword [0x4ff104]
cmp eax, ebx
jne 0x4092a3
push 0x24d4
call fcn.0042d9ac
add esp, 4
cmp eax, ebx
je 0x40929c
mov esi, eax
call fcn.00411390
jmp 0x40929e
xor eax, eax
mov dword [0x4ff104], eax
push ebx
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x3c]
call fcn.0040ec70
test al, al
je 0x4092ec
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ebx, [esp + 0x2c]
call fcn.00403d20
call fcn.00406a80
cmp byte [eax + 0x24d0], 0
je 0x4092e0
mov edx, ebx
push edx
mov edx, 0x4d5440
jmp 0x4092f6
lea eax, [esp + 0x24]
push eax
mov edx, str._Trainer.lnk
jmp 0x4092f6
lea ecx, [esp + 0x24]
push ecx
mov edx, str.NeoCell.lnk
call fcn.00403c70
mov esi, dword [esp + 0x28]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0042dec6
add esp, 8
test eax, eax
js 0x409074
cmp eax, dword [esi - 8]
jg 0x409074
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x40936e
mov esi, dword [esp + 0x30]
cmp dword [esi - 0xc], edx
lea edi, [esp + 0x1c]
mov edx, str._main
jne 0x40934a
call fcn.00403380
jmp 0x40939a
call fcn.00403380
lea eax, [esp + 0x1c]
push eax
mov edx, str.__gameid
call fcn.00403c70
mov ecx, dword [esi - 0xc]
push ecx
push esi
lea ebx, [esp + 0x24]
call fcn.00403d20
jmp 0x40939a
js 0x40938b
push str._main
push esi
call fcn.0042f555
add esp, 8
test eax, eax
je 0x40938b
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x40939a
lea edx, [esp + 0x1c]
push edx
mov edx, str.__main
call fcn.00403c70
mov eax, dword [0x4fb44c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fb44c
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
mov eax, dword [0x4ff104]
test eax, eax
jne 0x4093da
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x4093d3
mov esi, eax
call fcn.00411390
jmp 0x4093d5
xor eax, eax
mov dword [0x4ff104], eax
add eax, 0x410
push eax
push str._s_resdesk.ico
lea edi, [esp + 0x34]
call fcn.00403de0
mov ebx, dword [esp + 0x18]
mov esi, 1
add esp, 8
cmp dword [ebx - 4], esi
jle 0x409411
mov eax, dword [ebx - 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00403650
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
cmp dword [eax - 4], esi
jle 0x409428
mov edx, dword [eax - 0xc]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00403650
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], esi
jle 0x40943f
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00403650
mov eax, dword [0x4ff104]
test eax, eax
jne 0x409469
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x409462
mov esi, eax
call fcn.00411390
jmp 0x409464
xor eax, eax
mov dword [0x4ff104], eax
mov edi, eax
test eax, eax
jne 0x409498
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x40948e
mov esi, eax
call fcn.00411390
mov dword [0x4ff104], eax
jmp 0x409498
mov dword [0x4ff104], 0
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push esi
add edi, 0xc30
push edi
mov edi, dword [esp + 0x1c]
push eax
mov ecx, edi
call fcn.0040cf00
cmp dword [ebx - 4], 1
jle 0x4094d0
mov ecx, dword [ebx - 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00403650
mov ebx, dword [esp + 0x10]
cmp dword [edi - 4], 1
jle 0x4094e8
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00403650
mov edi, dword [esp + 0x14]
mov eax, dword [0x4ff104]
test eax, eax
jne 0x409516
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x40950f
mov esi, eax
call fcn.00411390
mov esi, dword [esp + 0x24]
jmp 0x409511
xor eax, eax
mov dword [0x4ff104], eax
mov dword [esp + 0x20], eax
test eax, eax
jne 0x40954b
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x409541
mov esi, eax
call fcn.00411390
mov esi, dword [esp + 0x24]
mov dword [0x4ff104], eax
jmp 0x40954b
mov dword [0x4ff104], 0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
push str.NeoCell.lnk
add edx, 0xc30
push edx
push eax
mov edx, str._main
mov ecx, edi
call fcn.0040cf00
mov eax, dword [edi - 8]
push eax
push edi
call fcn.0042dec6
add esp, 8
test eax, eax
js 0x409074
cmp eax, dword [edi - 8]
jg 0x409074
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0042dec6
add esp, 8
test eax, eax
js 0x409074
cmp eax, dword [esi - 8]
jg 0x409074
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.0042dec6
add esp, 8
test eax, eax
js 0x409074
cmp eax, dword [ebx - 8]
jg 0x409074
mov dword [ebx - 0xc], eax
xor ecx, ecx
mov word [ebx + eax*2], cx
mov eax, str.UninstallNeoCell.lnk
lea esi, [esp + 0x20]
call fcn.00403290
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 8]
push eax
push ecx
call fcn.0042dec6
add esp, 8
test eax, eax
js 0x409074
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx - 8]
jg 0x409074
xor edx, edx
mov dword [ecx - 0xc], eax
mov word [ecx + eax*2], dx
cmp dword [ebx - 4], 1
jle 0x409636
mov eax, dword [ebx - 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00403650
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
cmp dword [esi - 4], 1
jle 0x409652
mov edx, dword [esi - 0xc]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00403650
mov esi, dword [esp + 0x20]
cmp dword [edi - 4], 1
jle 0x40966a
mov ecx, dword [edi - 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00403650
mov edi, dword [esp + 0x14]
mov eax, dword [0x4ff104]
test eax, eax
jne 0x409698
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x409691
mov esi, eax
call fcn.00411390
mov esi, dword [esp + 0x20]
jmp 0x409693
xor eax, eax
mov dword [0x4ff104], eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4096c5
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x4096be
mov esi, eax
call fcn.00411390
mov esi, dword [esp + 0x20]
jmp 0x4096c0
xor eax, eax
mov dword [0x4ff104], eax
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4096fa
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x4096f0
mov esi, eax
call fcn.00411390
mov esi, dword [esp + 0x20]
mov dword [0x4ff104], eax
jmp 0x4096fa
mov dword [0x4ff104], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
push esi
add eax, 0xe38
add ecx, 0xe38
push eax
push ecx
mov edx, 0x4d4b10
mov ecx, edi
call fcn.0040cf00
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0042dec6
add esp, 8
test eax, eax
js 0x409074
cmp eax, dword [esi - 8]
jg 0x409074
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov eax, dword [edi - 8]
push eax
push edi
call fcn.0042dec6
add esp, 8
test eax, eax
js 0x409074
cmp eax, dword [edi - 8]
jg 0x409074
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.0042dec6
add esp, 8
test eax, eax
js 0x409074
cmp eax, dword [ebx - 8]
jg 0x409074
xor edx, edx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], dx
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40980d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40982d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40984d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40986d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409889
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4ff104]
test eax, eax
jne 0x4098b3
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x4098ac
mov esi, eax
call fcn.00411390
jmp 0x4098ae
xor eax, eax
mov dword [0x4ff104], eax
mov edi, eax
test eax, eax
jne 0x4098da
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x4098d3
mov esi, eax
call fcn.00411390
jmp 0x4098d5
xor eax, eax
mov dword [0x4ff104], eax
lea ecx, [edi + 0xe38]
push eax
call fcn.0040c9e0
mov eax, dword [0x4ff104]
test eax, eax
jne 0x40993d
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x40992a
mov esi, eax
call fcn.00411390
mov dword [0x4ff104], eax
test eax, eax
jne 0x40993d
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x409936
mov esi, eax
call fcn.00411390
jmp 0x409938
mov dword [0x4ff104], 0
jmp 0x409910
xor eax, eax
mov dword [0x4ff104], eax
mov ebx, eax
test eax, eax
jne 0x409964
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x40995d
mov esi, eax
call fcn.00411390
jmp 0x40995f
xor eax, eax
mov dword [0x4ff104], eax
mov edi, eax
test eax, eax
jne 0x409993
push 0x24d4
call fcn.0042d9ac
add esp, 4
test eax, eax
je 0x409989
mov esi, eax
call fcn.00411390
mov dword [0x4ff104], eax
jmp 0x409993
mov dword [0x4ff104], 0
lea ecx, [esp + 0x38]
push ecx
push str.SoftwareNeoCell
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4099c2
add edi, 0x410
lea eax, [ebx + 0x820]
push edi
lea ebx, [esp + 0x3c]
call fcn.0040cd00
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4099e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409a02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409a22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x65c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042cf67
mov esp, ebp
pop ebp
ret 4