Function at 0x408b30
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.00436fe0
add esp, 0xc
push 0x206
lea ecx, [esp + 0x456]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x45c], ax
call fcn.00436fe0
add esp, 0xc
mov eax, 0x4d4de0
lea esi, [esp + 0x10]
call fcn.00403290
cmp dword [0x4ff104], ebx
jne 0x408bd1
push 0x24d8
call fcn.0042d9bc
add esp, 4
cmp eax, ebx
je 0x408bcb
mov esi, eax
call fcn.00411420
mov dword [0x4ff104], eax
jmp 0x408bd1
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 0x408c04
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.00403dd0
add esp, 8
cmp dword [0x4ff104], ebx
jne 0x408c60
push 0x24d8
call fcn.0042d9bc
add esp, 4
cmp eax, ebx
je 0x408c5a
mov esi, eax
call fcn.00411420
mov dword [0x4ff104], eax
jmp 0x408c60
mov dword [0x4ff104], ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x408c7d
lea ecx, [esp + 0x450]
push ecx
push eax
call fcn.0040d130
mov eax, dword [0x4ff104]
cmp eax, ebx
jne 0x408ca7
push 0x24d8
call fcn.0042d9bc
add esp, 4
cmp eax, ebx
je 0x408ca0
mov esi, eax
call fcn.00411420
jmp 0x408ca2
xor eax, eax
mov dword [0x4ff104], eax
lea edx, [esp + 0x450]
push edx
lea ecx, [esp + 0x20]
push ecx
call fcn.0040dd80
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x48c]
cmp ecx, ebx
je 0x409071
call sym.Setup.exe_public:_bool___thiscall_DuiLib::COptionUI::IsSelected_void_const
test al, al
je 0x409071
push 0x206
lea ecx, [esp + 0x46]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x4c], ax
call fcn.00436fe0
add esp, 0xc
cmp dword [0x4ff104], ebx
jne 0x408d1f
push 0x24d8
call fcn.0042d9bc
add esp, 4
cmp eax, ebx
je 0x408d19
mov esi, eax
call fcn.00411420
mov dword [0x4ff104], eax
jmp 0x408d1f
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 0x409071
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 0x409071
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.00406a60
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x30]
call fcn.0040ece0
test al, al
je 0x408ded
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ebx, [esp + 0x1c]
call fcn.00403d10
call fcn.00406a60
cmp byte [eax + 0x24d0], 0
je 0x408de1
mov edx, ebx
push edx
mov edx, 0x4d5440
jmp 0x408df7
lea eax, [esp + 0x14]
push eax
mov edx, str._Trainer.lnk
jmp 0x408df7
lea ecx, [esp + 0x14]
push ecx
mov edx, str.NeoCell.lnk
call fcn.00403c60
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x408e44
mov esi, dword [esp + 0x2c]
mov edx, str._main
lea edi, [esp + 0x1c]
cmp dword [esi - 0xc], eax
jne 0x408e20
call fcn.00403380
jmp 0x408e70
call fcn.00403380
lea edx, [esp + 0x1c]
push edx
mov edx, str.__gameid
call fcn.00403c60
mov eax, dword [esi - 0xc]
push eax
push esi
lea ebx, [esp + 0x24]
call fcn.00403d10
jmp 0x408e70
js 0x408e61
push str._main
push esi
call fcn.0042f562
add esp, 8
test eax, eax
je 0x408e61
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x408e70
lea ecx, [esp + 0x1c]
push ecx
mov edx, str.__main
call fcn.00403c60
call fcn.00406a60
add eax, 0x820
lea esi, [esp + 0x30]
call fcn.00403290
mov esi, dword [esp + 0x30]
cmp dword [esi - 0xc], 0
jl 0x408eb7
push 0x4d54b4
push esi
call fcn.0042f562
add esp, 8
test eax, eax
je 0x408eb7
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x408eb7
lea edx, [esp + 0x1c]
push edx
mov edx, str.__abroadgame
call fcn.00403c60
mov eax, dword [0x4fb44c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fb44c
call edx
add eax, 0x10
mov dword [esp + 0x34], eax
call fcn.00406a60
add eax, 0x410
push eax
push str._s_resdesk.ico
lea edi, [esp + 0x3c]
call fcn.00403dd0
mov eax, dword [esp + 0x18]
mov esi, 1
add esp, 8
cmp dword [eax - 4], esi
jle 0x408f05
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00403650
mov edi, dword [esp + 0x14]
cmp dword [edi - 4], esi
jle 0x408f20
mov edx, dword [edi - 0xc]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00403650
mov edi, dword [esp + 0x14]
call fcn.00406a60
push edi
call fcn.00406a60
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
add eax, 0xc30
push eax
push esi
lea ecx, [esp + 0x4c]
call fcn.0040cf70
mov ecx, ebx
cmp dword [ecx - 4], 1
jle 0x408f5f
mov edx, ebx
mov eax, dword [edx - 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00403650
call fcn.00406a60
push str.NeoCell.lnk
call fcn.00406a60
mov ebx, dword [esp + 0x14]
add eax, 0xc30
push eax
push esi
mov edx, str._main
lea ecx, [esp + 0x4c]
call fcn.0040cf70
mov ecx, ebx
mov eax, dword [ecx - 8]
push eax
push ecx
call fcn.0042ded6
add esp, 8
test eax, eax
js 0x409094
mov ecx, ebx
cmp eax, dword [ecx - 8]
jg 0x409094
mov dword [ecx - 0xc], eax
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [edi - 8]
push eax
push edi
call fcn.0042ded6
add esp, 8
test eax, eax
js 0x409094
cmp eax, dword [edi - 8]
jg 0x409094
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408ff5
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 0x409015
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 0x409035
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 0x409055
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409071
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [0x4ff104]
test eax, eax
jne 0x4090a5
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x40909e
mov esi, eax
call fcn.00411420
jmp 0x4090a0
push 0x80070057
call fcn.00403050
xor eax, eax
mov dword [0x4ff104], eax
push eax
call fcn.0040e010
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x490]
test ecx, ecx
je 0x4098a9
call sym.Setup.exe_public:_bool___thiscall_DuiLib::COptionUI::IsSelected_void_const
test al, al
je 0x4098a9
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.00436fe0
add esp, 0xc
cmp dword [0x4ff104], ebx
jne 0x409131
push 0x24d8
call fcn.0042d9bc
add esp, 4
cmp eax, ebx
je 0x40912b
mov esi, eax
call fcn.00411420
mov dword [0x4ff104], eax
jmp 0x409131
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 0x4091d6
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 0x4091d6
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
jle 0x409188
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.00403dd0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 8]
add esp, 0xc
push eax
push esi
call fcn.0042ded6
add esp, 8
cmp eax, ebx
jl 0x409094
cmp eax, dword [esi - 8]
jg 0x409094
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 0x409216
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.00403dd0
mov eax, dword [esi - 8]
add esp, 0xc
push eax
push esi
call fcn.0042ded6
add esp, 8
cmp eax, ebx
jl 0x409094
cmp eax, dword [esi - 8]
jg 0x409094
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 0x4092c3
push 0x24d8
call fcn.0042d9bc
add esp, 4
cmp eax, ebx
je 0x4092bc
mov esi, eax
call fcn.00411420
jmp 0x4092be
xor eax, eax
mov dword [0x4ff104], eax
push ebx
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x3c]
call fcn.0040ece0
test al, al
je 0x40930c
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ebx, [esp + 0x2c]
call fcn.00403d10
call fcn.00406a60
cmp byte [eax + 0x24d0], 0
je 0x409300
mov edx, ebx
push edx
mov edx, 0x4d5440
jmp 0x409316
lea eax, [esp + 0x24]
push eax
mov edx, str._Trainer.lnk
jmp 0x409316
lea ecx, [esp + 0x24]
push ecx
mov edx, str.NeoCell.lnk
call fcn.00403c60
mov esi, dword [esp + 0x28]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0042ded6
add esp, 8
test eax, eax
js 0x409094
cmp eax, dword [esi - 8]
jg 0x409094
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 0x40938e
mov esi, dword [esp + 0x30]
cmp dword [esi - 0xc], edx
lea edi, [esp + 0x1c]
mov edx, str._main
jne 0x40936a
call fcn.00403380
jmp 0x4093ba
call fcn.00403380
lea eax, [esp + 0x1c]
push eax
mov edx, str.__gameid
call fcn.00403c60
mov ecx, dword [esi - 0xc]
push ecx
push esi
lea ebx, [esp + 0x24]
call fcn.00403d10
jmp 0x4093ba
js 0x4093ab
push str._main
push esi
call fcn.0042f562
add esp, 8
test eax, eax
je 0x4093ab
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4093ba
lea edx, [esp + 0x1c]
push edx
mov edx, str.__main
call fcn.00403c60
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 0x4093fa
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x4093f3
mov esi, eax
call fcn.00411420
jmp 0x4093f5
xor eax, eax
mov dword [0x4ff104], eax
add eax, 0x410
push eax
push str._s_resdesk.ico
lea edi, [esp + 0x34]
call fcn.00403dd0
mov ebx, dword [esp + 0x18]
mov esi, 1
add esp, 8
cmp dword [ebx - 4], esi
jle 0x409431
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 0x409448
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 0x40945f
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00403650
mov eax, dword [0x4ff104]
test eax, eax
jne 0x409489
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x409482
mov esi, eax
call fcn.00411420
jmp 0x409484
xor eax, eax
mov dword [0x4ff104], eax
mov edi, eax
test eax, eax
jne 0x4094b8
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x4094ae
mov esi, eax
call fcn.00411420
mov dword [0x4ff104], eax
jmp 0x4094b8
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.0040cf70
cmp dword [ebx - 4], 1
jle 0x4094f0
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 0x409508
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 0x409536
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x40952f
mov esi, eax
call fcn.00411420
mov esi, dword [esp + 0x24]
jmp 0x409531
xor eax, eax
mov dword [0x4ff104], eax
mov dword [esp + 0x20], eax
test eax, eax
jne 0x40956b
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x409561
mov esi, eax
call fcn.00411420
mov esi, dword [esp + 0x24]
mov dword [0x4ff104], eax
jmp 0x40956b
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.0040cf70
mov eax, dword [edi - 8]
push eax
push edi
call fcn.0042ded6
add esp, 8
test eax, eax
js 0x409094
cmp eax, dword [edi - 8]
jg 0x409094
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.0042ded6
add esp, 8
test eax, eax
js 0x409094
cmp eax, dword [esi - 8]
jg 0x409094
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.0042ded6
add esp, 8
test eax, eax
js 0x409094
cmp eax, dword [ebx - 8]
jg 0x409094
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.0042ded6
add esp, 8
test eax, eax
js 0x409094
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx - 8]
jg 0x409094
xor edx, edx
mov dword [ecx - 0xc], eax
mov word [ecx + eax*2], dx
cmp dword [ebx - 4], 1
jle 0x409656
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 0x409672
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 0x40968a
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 0x4096b8
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x4096b1
mov esi, eax
call fcn.00411420
mov esi, dword [esp + 0x20]
jmp 0x4096b3
xor eax, eax
mov dword [0x4ff104], eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4096e5
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x4096de
mov esi, eax
call fcn.00411420
mov esi, dword [esp + 0x20]
jmp 0x4096e0
xor eax, eax
mov dword [0x4ff104], eax
mov dword [esp + 0x38], eax
test eax, eax
jne 0x40971a
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x409710
mov esi, eax
call fcn.00411420
mov esi, dword [esp + 0x20]
mov dword [0x4ff104], eax
jmp 0x40971a
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.0040cf70
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0042ded6
add esp, 8
test eax, eax
js 0x409094
cmp eax, dword [esi - 8]
jg 0x409094
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.0042ded6
add esp, 8
test eax, eax
js 0x409094
cmp eax, dword [edi - 8]
jg 0x409094
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.0042ded6
add esp, 8
test eax, eax
js 0x409094
cmp eax, dword [ebx - 8]
jg 0x409094
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 0x4097cd
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 0x4097ed
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 0x40980d
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 0x40982d
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 0x40984d
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 0x40986d
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 0x40988d
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 0x4098a9
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 0x4098d3
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x4098cc
mov esi, eax
call fcn.00411420
jmp 0x4098ce
xor eax, eax
mov dword [0x4ff104], eax
mov edi, eax
test eax, eax
jne 0x4098fa
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x4098f3
mov esi, eax
call fcn.00411420
jmp 0x4098f5
xor eax, eax
mov dword [0x4ff104], eax
lea ecx, [edi + 0xe38]
push eax
call fcn.0040c9c0
mov ecx, dword [0x4ff104]
test ecx, ecx
jne 0x409934
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x40992c
mov esi, eax
call fcn.00411420
mov ecx, eax
jmp 0x40992e
xor ecx, ecx
mov dword [0x4ff104], ecx
mov dword [esp + 0x38], ecx
test ecx, ecx
jne 0x409960
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x409958
mov esi, eax
call fcn.00411420
mov ecx, eax
jmp 0x40995a
xor ecx, ecx
mov dword [0x4ff104], ecx
mov ebx, ecx
test ecx, ecx
jne 0x40998a
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x409982
mov esi, eax
call fcn.00411420
mov ecx, eax
jmp 0x409984
xor ecx, ecx
mov dword [0x4ff104], ecx
mov edi, ecx
test ecx, ecx
jne 0x4099b4
push 0x24d8
call fcn.0042d9bc
add esp, 4
test eax, eax
je 0x4099ac
mov esi, eax
call fcn.00411420
mov ecx, eax
jmp 0x4099ae
xor ecx, ecx
mov dword [0x4ff104], ecx
mov edx, dword [esp + 0x38]
add edx, 0xa28
push edx
add edi, 0x410
push edi
lea eax, [ebx + 0x820]
push ecx
call fcn.0040cce0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4099f2
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 0x409a12
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 0x409a32
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.0042cf77
mov esp, ebp
pop ebp
ret 4