Function at 0x412630
Capabilities:
Get memory capacity
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47cc96
mov eax, dword fs:[0]
push eax
sub esp, 0x3c4
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x378], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x384], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x380], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3a8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3a0], eax
lea eax, [ebp - 0x38c]
push eax
mov dword [ebp - 0x370], edi
call fcn.004554b0
push 0x100
lea eax, [ebp - 0x110]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00432c40
add esp, 0x10
lea eax, [ebp - 0x110]
push 0x80
push eax
call fcn.00430b60
push 0x100
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.00432c40
add esp, 0xc
mov dword [ebp - 0x388], 0
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x37c], 0
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41274d
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x412746
lea ecx, [ebp - 0x37c]
push ecx
lea ecx, [ebp - 0x36c]
push ecx
lea ecx, [ebp - 0x388]
push ecx
call eax
movzx eax, word [ebp - 0x37c]
mov dword [ebp - 0x37c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x36c]
mov esi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea eax, [ebp - 0x310]
push dword [ebp - 0x388]
push str._u._u
push 0x80
push eax
call esi
push 0x100
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00432c40
add esp, 0x20
mov dword [ebp - 0x390], 0
lea eax, [ebp - 0x36c]
mov dword [ebp - 0x388], 0
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x36c], 0
push eax
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x390]
push eax
call fcn.00412370
push dword [ebp - 0x36c]
lea eax, [ebp - 0x210]
push dword [ebp - 0x37c]
push dword [ebp - 0x388]
push dword [ebp - 0x390]
push str._u._u._u._u
push 0x7f
push eax
call esi
add esp, 0x1c
lea eax, [ebp - 0x39c]
push eax
call fcn.00417c50
push 0x40
lea eax, [ebp - 0x368]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00432c40
add esp, 0xc
mov dword [ebp - 0x368], 0x40
lea eax, [ebp - 0x368]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call fcn.0040b4c0
mov ecx, eax
test ecx, ecx
je 0x413c41
or esi, 0xffffffff
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x388], eax
push str.http:__zhushou.ludashi.com_game_Getloadernew_channel_num_ssubpid_sfrom_sversion_sexistsver_sosver_siever_sids_smid_smotion_sosbit_smemory_lld
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 2
call fcn.00406bc0
test al, al
jne 0x412885
push 0xa4
push str.http:__zhushou.ludashi.com_game_Getloadernew_channel_num_ssubpid_sfrom_sversion_sexistsver_sosver_siever_sids_smid_smotion_sosbit_smemory_lld
lea ecx, [ebp - 0x388]
call fcn.00416a50
push 8
push str.vdibit
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 3
call fcn.00405f70
test edi, edi
jne 0x4128a3
xor ecx, ecx
jmp 0x4128bf
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4128b0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x388]
call fcn.00405f70
call fcn.0040b4c0
mov ecx, eax
test ecx, ecx
je 0x413c41
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x37c], eax
lea eax, [ebp - 0x394]
mov byte [ebp - 4], 4
push eax
call fcn.0040ad60
mov edi, eax
mov dword [ebp - 0x36c], edi
cmp dword [0x4be080], 0
mov byte [ebp - 4], 5
je 0x412a01
push str.GetNativeSystemInfo
push 0x483fbc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4129f7
xorps xmm0, xmm0
mov dword [ebp - 0x3b0], 0
lea ecx, [ebp - 0x3d0]
push ecx
movups xmmword [ebp - 0x3d0], xmm0
movups xmmword [ebp - 0x3c0], xmm0
call eax
mov ax, word [ebp - 0x3d0]
cmp ax, 9
je 0x4129ed
cmp ax, 6
je 0x4129ed
cmp ax, 0xc
je 0x4129ed
push str.IsWow64Process2
push 0x484534
mov dword [ebp - 0x3ac], 0
mov dword [ebp - 0x3a4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4129de
lea eax, [ebp - 0x3a4]
push eax
lea eax, [ebp - 0x3ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x4129de
mov edi, dword [ebp - 0x36c]
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x3a4], cx
sete al
mov dword [0x4c2510], eax
jmp 0x4129f7
mov edi, dword [ebp - 0x36c]
xor eax, eax
mov dword [0x4c2510], eax
jmp 0x4129f7
mov dword [0x4c2510], 1
mov dword [0x4be080], 0
push dword [ebp - 0x35c]
cmp dword [0x4c2510], 0
mov ecx, 0x484f28
push dword [ebp - 0x360]
mov eax, 0x484f20
cmove eax, ecx
push eax
push dword [ebp - 0x39c]
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x3a0]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x310]
push eax
push dword [edi]
mov edi, dword [ebp - 0x388]
lea eax, [ebp - 0x37c]
push dword [ebp - 0x38c]
push dword [ebp - 0x3a8]
push dword [ebp - 0x380]
push dword [ebp - 0x384]
push edi
push 1
push eax
call fcn.0040d130
mov edx, dword [ebp - 0x394]
add esp, 0x40
mov dword [ebp - 0x390], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 4
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x412aa2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x390]
test eax, eax
jne 0x412c53
call fcn.0040b4c0
mov ecx, eax
test ecx, ecx
je 0x413c41
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x36c], eax
push 0xd4
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 6
call fcn.00406bc0
test al, al
jne 0x412b10
mov ecx, 0xd4
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412af0
sub ecx, edx
sar ecx, 1
push ecx
push 0xd4
lea ecx, [ebp - 0x36c]
call fcn.00416a50
mov esi, dword [ebp - 0x36c]
push 0x4846a4
push esi
call fcn.004405f1
xor ecx, ecx
mov byte [ebp - 4], 4
add esp, 8
lea edx, [esi - 0x10]
test eax, eax
sete cl
or esi, 0xffffffff
mov dword [ebp - 0x36c], ecx
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412b55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x36c]
test ecx, ecx
jne 0x412c53
call fcn.0040b420
mov ecx, eax
call fcn.0041b4f0
cmp eax, 3
je 0x412b7a
cmp eax, 4
je 0x412b7a
mov eax, dword [0x4c2554]
jmp 0x412b7c
xor eax, eax
push 0x484f30
push 0x484f38
push 0x484f40
push 1
push dword [0x4c24d8]
push eax
call fcn.0044f2f0
mov edx, dword [ebp - 0x37c]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
cmp eax, 6
mov eax, esi
jne 0x412c62
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412bc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x412bde
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x39c]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412bff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x39c]
push eax
call fcn.00417c50
push 0x40
lea eax, [ebp - 0x368]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00432c40
add esp, 0xc
mov dword [ebp - 0x368], 0x40
lea eax, [ebp - 0x368]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call fcn.0040b4c0
mov edi, dword [ebp - 0x370]
mov ecx, eax
test ecx, ecx
jne 0x412848
jmp 0x413c41
mov edx, dword [ebp - 0x37c]
mov eax, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412c74
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x412c8f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x39c]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412cb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38c]
mov eax, esi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412cd4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x390]
test edi, edi
je 0x413c1f
mov dword [ebp - 0x3a8], edi
push 5
lea eax, [ebp - 0x328]
mov dword [ebp - 4], 8
push str.errno
push eax
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], 0
mov dword [ebp - 0x318], 5
call fcn.004326c0
mov byte [ebp - 0x323], 0
push 0
lea eax, [ebp - 0x328]
mov byte [ebp - 4], 9
push eax
push edi
call fcn.0042a840
mov edx, dword [ebp - 0x314]
add esp, 0x18
mov byte [ebp - 4], 8
mov edi, eax
cmp edx, 0x10
jb 0x412d7a
mov ecx, dword [ebp - 0x328]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412d70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413c3c
push edx
push ecx
call fcn.0042c4b6
add esp, 8
test edi, edi
je 0x412dbc
mov edi, dword [ebp - 0x390]
lea eax, [ebp - 0x370]
push 0x48461f
push 0x484f74
push edi
push eax
call fcn.0040e7f0
mov edx, dword [ebp - 0x370]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x412db6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
jmp 0x413c17
push str.data
push dword [ebp - 0x390]
call fcn.004295a0
mov edi, eax
add esp, 8
test edi, edi
je 0x413c11
push 0x48461f
push str.min_memory
push edi
lea eax, [ebp - 0x36c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x374], xmm0
call fcn.0040e7f0
mov eax, dword [ebp - 0x36c]
cmp dword [eax - 0xc], 0
jne 0x412e0c
lea edx, [eax - 0x10]
jmp 0x412e34
lea ecx, [ebp - 0x374]
push ecx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
test eax, eax
jne 0x412e34
xorps xmm0, xmm0
movlpd qword [ebp - 0x374], xmm0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412e48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x378]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x374]
push 0x48461f
push str.min_diskfree
mov dword [ecx], eax
mov eax, dword [ebp - 0x370]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x36c]
push edi
push eax
movlpd qword [ebp - 0x374], xmm0
call fcn.0040e7f0
mov eax, dword [ebp - 0x36c]
cmp dword [eax - 0xc], 0
jne 0x412e92
lea edx, [eax - 0x10]
jmp 0x412eba
lea ecx, [ebp - 0x374]
push ecx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
test eax, eax
jne 0x412eba
xorps xmm0, xmm0
movlpd qword [ebp - 0x374], xmm0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412ece
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x374]
push 0x48461f
push str.custom_image_url
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x370]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x380]
push edi
push eax
call fcn.0040e7f0
mov ecx, dword [ebp - 0x378]
mov edx, dword [eax]
add ecx, 0x10
mov dword [ebp - 0x38c], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ecx]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x384], ecx
cmp eax, ecx
je 0x412f95
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x394], eax
jl 0x412f86
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x412f86
push dword [ebp - 0x370]
call fcn.00407840
mov dword [ebp - 0x370], eax
add esp, 4
mov eax, dword [ebp - 0x394]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412f73
mov eax, dword [ebp - 0x384]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x38c]
mov eax, dword [ebp - 0x370]
add eax, 0x10
mov dword [ecx], eax
jmp 0x412f95
push dword [edx - 0xc]
mov ecx, dword [ebp - 0x38c]
push edx
call fcn.00416a50
mov edx, dword [ebp - 0x380]
mov eax, esi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412fb6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x48461f
push str.custom_image_num
push edi
lea eax, [ebp - 0x36c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x374], xmm0
call fcn.0040e7f0
mov eax, dword [ebp - 0x36c]
cmp dword [eax - 0xc], 0
jne 0x412fe9
lea edx, [eax - 0x10]
jmp 0x413011
lea ecx, [ebp - 0x374]
push ecx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
test eax, eax
jne 0x413011
xorps xmm0, xmm0
movlpd qword [ebp - 0x374], xmm0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413025
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x374]
push 0x48461f
push str.down_hall_url
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x380]
push edi
push eax
call fcn.0040e7f0
mov ecx, dword [ebp - 0x378]
mov edx, dword [eax]
mov byte [ebp - 4], 0xb
mov ecx, dword [ecx + 0x18]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x384], ecx
cmp eax, ecx
je 0x4130df
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x394], eax
jl 0x4130cd
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x4130cd
push dword [ebp - 0x370]
call fcn.00407840
mov dword [ebp - 0x370], eax
add esp, 4
mov eax, dword [ebp - 0x394]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4130b9
mov eax, dword [ebp - 0x384]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x370]
add eax, 0x10
mov dword [edx + 0x18], eax
jmp 0x4130df
mov ecx, dword [ebp - 0x378]
push dword [edx - 0xc]
push edx
lea ecx, [ecx + 0x18]
call fcn.00416a50
mov edx, dword [ebp - 0x380]
mov eax, esi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413100
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x48461f
push str.down_hall_size
push edi
lea eax, [ebp - 0x36c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x374], xmm0
call fcn.0040e7f0
mov eax, dword [ebp - 0x36c]
cmp dword [eax - 0xc], 0
jne 0x413133
lea edx, [eax - 0x10]
jmp 0x41315b
lea ecx, [ebp - 0x374]
push ecx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
test eax, eax
jne 0x41315b
xorps xmm0, xmm0
movlpd qword [ebp - 0x374], xmm0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41316f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x374]
push 0x48461f
push str.down_hall_md5
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x370]
mov dword [ecx + 0x24], eax
lea eax, [ebp - 0x380]
push edi
push eax
call fcn.0040e7f0
mov ecx, dword [ebp - 0x378]
mov edx, dword [eax]
add ecx, 0x28
mov dword [ebp - 0x38c], ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ecx]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x384], ecx
cmp eax, ecx
je 0x413236
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x394], eax
jl 0x413227
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x413227
push dword [ebp - 0x370]
call fcn.00407840
mov dword [ebp - 0x370], eax
add esp, 4
mov eax, dword [ebp - 0x394]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413214
mov eax, dword [ebp - 0x384]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x38c]
mov eax, dword [ebp - 0x370]
add eax, 0x10
mov dword [ecx], eax
jmp 0x413236
push dword [edx - 0xc]
mov ecx, dword [ebp - 0x38c]
push edx
call fcn.00416a50
mov edx, dword [ebp - 0x380]
mov eax, esi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413257
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x48461f
push str.down_hall_version
push edi
lea eax, [ebp - 0x380]
push eax
call fcn.0040e7f0
mov ecx, dword [ebp - 0x378]
mov edx, dword [eax]
mov byte [ebp - 4], 0xd
mov ecx, dword [ecx + 0x2c]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x384], ecx
cmp eax, ecx
je 0x413302
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x394], eax
jl 0x4132f0
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x4132f0
push dword [ebp - 0x370]
call fcn.00407840
mov dword [ebp - 0x370], eax
add esp, 4
mov eax, dword [ebp - 0x394]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4132dc
mov eax, dword [ebp - 0x384]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x370]
add eax, 0x10
mov dword [edx + 0x2c], eax
jmp 0x413302
mov ecx, dword [ebp - 0x378]
push dword [edx - 0xc]
push edx
lea ecx, [ecx + 0x2c]
call fcn.00416a50
mov edx, dword [ebp - 0x380]
mov eax, esi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413323
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x48461f
push str.custom_hall_icon_url
push edi
lea eax, [ebp - 0x380]
push eax
call fcn.0040e7f0
mov ecx, dword [ebp - 0x378]
mov edx, dword [eax]
mov byte [ebp - 4], 0xe
mov ecx, dword [ecx + 0x30]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x384], ecx
cmp eax, ecx
je 0x4133ce
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x394], eax
jl 0x4133bc
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x4133bc
push dword [ebp - 0x370]
call fcn.00407840
mov dword [ebp - 0x370], eax
add esp, 4
mov eax, dword [ebp - 0x394]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4133a8
mov eax, dword [ebp - 0x384]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x370]
add eax, 0x10
mov dword [edx + 0x30], eax
jmp 0x4133ce
mov ecx, dword [ebp - 0x378]
push dword [edx - 0xc]
push edx
lea ecx, [ecx + 0x30]
call fcn.00416a50
mov edx, dword [ebp - 0x380]
mov eax, esi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4133ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x48461f
push str.custom_hall_icon_name
push edi
lea eax, [ebp - 0x380]
push eax
call fcn.0040e7f0
mov ecx, dword [ebp - 0x378]
mov edx, dword [eax]
mov byte [ebp - 4], 0xf
mov ecx, dword [ecx + 0x34]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x384], ecx
cmp eax, ecx
je 0x41349a
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x394], eax
jl 0x413488
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x413488
push dword [ebp - 0x370]
call fcn.00407840
mov dword [ebp - 0x370], eax
add esp, 4
mov eax, dword [ebp - 0x394]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413474
mov eax, dword [ebp - 0x384]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x370]
add eax, 0x10
mov dword [edx + 0x34], eax
jmp 0x41349a
mov ecx, dword [ebp - 0x378]
push dword [edx - 0xc]
push edx
lea ecx, [ecx + 0x34]
call fcn.00416a50
mov edx, dword [ebp - 0x380]
mov eax, esi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4134bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x48461f
push str.show_installer
push edi
lea eax, [ebp - 0x36c]
mov dword [ebp - 0x374], 1
push eax
mov dword [ebp - 0x370], 0
call fcn.0040e7f0
mov eax, dword [ebp - 0x36c]
cmp dword [eax - 0xc], 0
jne 0x4134f7
lea edx, [eax - 0x10]
jmp 0x413524
lea ecx, [ebp - 0x374]
push ecx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
test eax, eax
jne 0x413524
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413538
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x374]
push 0x48461f
push str.show_msgbox
mov dword [ecx + 0x38], eax
lea eax, [ebp - 0x36c]
push edi
push eax
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], 0
call fcn.0040e7f0
mov eax, dword [ebp - 0x36c]
cmp dword [eax - 0xc], 0
jne 0x413583
lea edx, [eax - 0x10]
jmp 0x4135b0
lea ecx, [ebp - 0x374]
push ecx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
test eax, eax
jne 0x4135b0
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4135c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x374]
push 0x48461f
push str.show_tray
mov dword [ecx + 0x3c], eax
lea eax, [ebp - 0x36c]
push edi
push eax
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], 0
call fcn.0040e7f0
mov eax, dword [ebp - 0x36c]
cmp dword [eax - 0xc], 0
jne 0x41360f
lea edx, [eax - 0x10]
jmp 0x41363c
lea ecx, [ebp - 0x374]
push ecx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
test eax, eax
jne 0x41363c
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413650
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x374]
push 0x48461f
push str.show_tips
mov dword [ecx + 0x40], eax
lea eax, [ebp - 0x36c]
push edi
push eax
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], 0
call fcn.0040e7f0
mov eax, dword [ebp - 0x36c]
cmp dword [eax - 0xc], 0
jne 0x41369b
lea edx, [eax - 0x10]
jmp 0x4136c8
lea ecx, [ebp - 0x374]
push ecx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
test eax, eax
jne 0x4136c8
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4136dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x374]
push 0x48461f
push str.auto_install
mov dword [ecx + 0x44], eax
lea eax, [ebp - 0x36c]
push edi
push eax
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], 0
call fcn.0040e7f0
mov eax, dword [ebp - 0x36c]
cmp dword [eax - 0xc], 0
jne 0x413727
lea edx, [eax - 0x10]
jmp 0x413754
lea ecx, [ebp - 0x374]
push ecx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
test eax, eax
jne 0x413754
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413768
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x374]
push 0x48461f
push str.create_desktop_hall
mov dword [ecx + 0x48], eax
lea eax, [ebp - 0x36c]
push edi
push eax
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], 0
call fcn.0040e7f0
mov eax, dword [ebp - 0x36c]
cmp dword [eax - 0xc], 0
jne 0x4137b3
lea edx, [eax - 0x10]
jmp 0x4137e0
lea ecx, [ebp - 0x374]
push ecx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
test eax, eax
jne 0x4137e0
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4137f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x374]
push 0x48461f
push str.create_startmenu_hall
mov dword [ecx + 0x4c], eax
lea eax, [ebp - 0x36c]
push edi
push eax
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], 0
call fcn.0040e7f0
mov eax, dword [ebp - 0x36c]
cmp dword [eax - 0xc], 0
jne 0x41383f
lea edx, [eax - 0x10]
jmp 0x41386c
lea ecx, [ebp - 0x374]
push ecx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
test eax, eax
jne 0x41386c
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413880
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x374]
push 0x48461f
push str.create_taskbar_hall
mov dword [ecx + 0x50], eax
lea eax, [ebp - 0x36c]
push edi
push eax
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], 0
call fcn.0040e7f0
mov eax, dword [ebp - 0x36c]
cmp dword [eax - 0xc], 0
jne 0x4138cb
lea edx, [eax - 0x10]
jmp 0x4138f8
lea ecx, [ebp - 0x374]
push ecx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
test eax, eax
jne 0x4138f8
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41390c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x374]
push 0x48461f
push str.create_autorun_item
mov dword [ecx + 0x54], eax
lea eax, [ebp - 0x36c]
push edi
push eax
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], 0
call fcn.0040e7f0
mov eax, dword [ebp - 0x36c]
cmp dword [eax - 0xc], 0
jne 0x413957
lea edx, [eax - 0x10]
jmp 0x413984
lea ecx, [ebp - 0x374]
push ecx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
test eax, eax
jne 0x413984
mov dword [ebp - 0x374], 1
mov dword [ebp - 0x370], eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413998
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x374]
push 0x48461f
push str.create_startmenu_uninst
mov dword [ecx + 0x60], eax
lea eax, [ebp - 0x36c]
push edi
push eax
mov dword [ebp - 0x398], 1
mov dword [ebp - 0x394], 0
call fcn.0040e7f0
mov eax, dword [ebp - 0x36c]
cmp dword [eax - 0xc], 0
jne 0x4139e3
lea edx, [eax - 0x10]
jmp 0x413a10
lea ecx, [ebp - 0x398]
push ecx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
test eax, eax
jne 0x413a10
mov dword [ebp - 0x398], 1
mov dword [ebp - 0x394], eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413a24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x398]
push 0
push 1
push str.create_control_uninst
push edi
mov dword [ecx + 0x58], eax
call fcn.0040e770
mov ecx, dword [ebp - 0x378]
push 0
push 1
push str.autostart_finsh
push edi
mov dword [ecx + 0x5c], eax
call fcn.0040e770
mov ecx, dword [ebp - 0x378]
push 0
push 0
push str.install_driver
push edi
mov dword [ecx + 0x64], eax
call fcn.0040e770
mov ecx, dword [ebp - 0x378]
push 0x485120
push str.show_hall_mode
push edi
mov dword [ecx + 0x7c], eax
lea eax, [ebp - 0x37c]
push eax
call fcn.0040e7f0
push str.hide
push dword [ebp - 0x37c]
mov byte [ebp - 4], 0x10
call fcn.004405f1
add esp, 8
test eax, eax
jne 0x413abc
mov eax, dword [ebp - 0x378]
mov dword [eax + 0x68], 1
jmp 0x413b05
push str.tray
push dword [ebp - 0x37c]
call fcn.004405f1
add esp, 8
test eax, eax
jne 0x413ae2
mov eax, dword [ebp - 0x378]
mov dword [eax + 0x68], 2
jmp 0x413b05
push str.full
push dword [ebp - 0x37c]
call fcn.004405f1
mov ecx, dword [ebp - 0x378]
add esp, 8
neg eax
sbb eax, eax
add eax, 3
mov dword [ecx + 0x68], eax
mov eax, dword [ebp - 0x3a0]
test eax, eax
je 0x413b92
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x413b92
push ecx
mov dword [ebp - 0x38c], esp
call fcn.0040b4c0
mov ecx, eax
test ecx, ecx
je 0x413c41
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x38c]
add eax, 0x10
mov dword [ecx], eax
push dword [ebp - 0x3a0]
mov byte [ebp - 4], 0x11
call fcn.00406bc0
test al, al
jne 0x413b83
mov ecx, dword [ebp - 0x3a0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413b62
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x3a0]
mov ecx, dword [ebp - 0x38c]
call fcn.00416a50
mov ecx, dword [ebp - 0x378]
mov byte [ebp - 4], 0x10
call fcn.0045ed30
push 0
push 1
push str.reinst
push edi
call fcn.0040e770
mov ecx, dword [ebp - 0x378]
push 0
push 1
push str.mini_rec
push edi
mov dword [ecx + 0x6c], eax
call fcn.0040e770
mov ecx, dword [ebp - 0x378]
push 0
push 1
push str.lock_rec
push edi
mov dword [ecx + 0x70], eax
call fcn.0040e770
mov ecx, dword [ebp - 0x378]
push 0
push 1
push str.info_rec
push edi
mov dword [ecx + 0x74], eax
call fcn.0040e770
mov ecx, dword [ebp - 0x378]
mov edx, dword [ebp - 0x37c]
mov byte [ebp - 4], 8
add edx, 0xfffffff0
mov dword [ecx + 0x78], eax
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x413c11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x390]
call fcn.00429530
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret 0x18
call fcn.0043463e
push 0x80004005
call fcn.004068b0
int3