Function at 0x433870
Capabilities:
Check if file exists
Hide graphical window
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7637
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x52965c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x360], 0x4f673c
movups xmmword [ebp - 0x35c], xmm0
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0
mov edi, dword [0x52dda8]
add edi, 0x10
mov dword [ebp - 4], 0
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x52ddfc]
mov ebx, eax
push 4
mov ecx, dword [esi + 8]
inc ecx
push ecx
push dword [esi]
call fcn.0048fd9a
add esp, 0xc
test eax, eax
je 0x43393f
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.0048fd9a
add esp, 0xc
test eax, eax
je 0x43393f
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [esi]
add ecx, edx
je 0x433930
mov dword [ecx], ebx
mov eax, dword [esi + 4]
add eax, edx
je 0x43393c
lea ecx, [ebp - 0x360]
mov dword [eax], ecx
inc dword [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x31c]
call fcn.00435960
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub esp, 0x28
mov dword [ebp - 0x324], eax
mov ecx, esp
mov dword [ebp - 0x328], esp
mov dword [ecx + 0x24], 0
push 0
push 0
push str.start_inst
mov byte [ebp - 4], 2
call fcn.00421cb0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0041e240
push dword [ebp - 0x324]
lea eax, [ebp - 0x2fc]
push eax
push 0x5291c8
push 0x528074
push 0x52e58c
call fcn.00416830
add esp, 0x14
movzx eax, ax
lea ecx, [ebp - 0x31c]
push 0
push eax
push 0
push 0
push SysReAllocString
push 0
push 0
push 0
call fcn.00416dd0
test eax, eax
jne 0x4339db
xor edi, edi
jmp 0x433c78
call fcn.0042e7a0
mov ecx, eax
call fcn.0042b070
cmp dword [eax], 0
jne 0x433a35
push dword [ebp + 0xc]
push dword [ebp - 0x318]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x318]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x318]
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [ebp - 0x318]
call esi
call fcn.0042e7a0
mov ecx, eax
call fcn.0042b070
mov edx, str.Create_Main_Wnd_and_show
mov ecx, str.Silent_mode
cmp dword [eax], 0
cmove ecx, edx
push ecx
call fcn.00435160
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00474bb0
add esp, 0x10
mov dword [ebp - 0x328], 1
lea eax, [ebp - 0x320]
mov dword [ebp - 0x320], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x328]
push eax
push str.Setup_Path
push str.SOFTWARELudashi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x433acf
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [0x52919c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [0x52919c], ecx
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, 1
xor esi, esi
nop dword [eax]
test ebx, ebx
je 0x433b10
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x344]
push eax
call edi
test eax, eax
jne 0x433b10
mov eax, dword [ebp - 0x360]
lea ecx, [ebp - 0x360]
push esi
call dword [eax + 4]
inc esi
test eax, eax
jne 0x433ae4
xor ebx, ebx
push 0
push 0
push 0
lea eax, [ebp - 0x344]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x433ae0
test eax, eax
je 0x433ba6
lea eax, [ebp - 0x344]
push eax
mov eax, dword [ebp - 0x360]
lea ecx, [ebp - 0x360]
call dword [eax]
test eax, eax
jne 0x433b5f
lea eax, [ebp - 0x344]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x344]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x340]
cmp eax, 0x118
ja 0x433b7a
je 0x433b96
cmp eax, 0xf
je 0x433b96
cmp eax, 0xa0
jmp 0x433b7f
cmp eax, 0x200
je 0x433b96
mov ecx, 1
xor eax, eax
test ecx, ecx
mov ebx, ecx
cmove eax, esi
mov esi, eax
jmp 0x433ae0
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x433ae0
cmp dword [0x52919c], 0
mov edi, dword [ebp - 0x33c]
je 0x433bd3
push 2
push 0x4f4a80
push 1
push 0x4f6744
push str.SOFTWARELudashi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x433ce5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x320], eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebp - 0x324]
mul ecx
lea eax, [ebp - 0x320]
shr edx, 6
push edx
push str.ex3end:_ld
push eax
call fcn.004046e0
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x324], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x320]
push 0
push esi
push str.end_inst
mov byte [ebp - 4], 4
call fcn.00421cb0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0041e240
mov ecx, 0x52ddc8
call fcn.00433740
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x433c78
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x31c]
call fcn.00435b10
mov eax, dword [ebp - 0x350]
test eax, eax
je 0x433ca0
push eax
call fcn.0048faa8
add esp, 4
mov dword [ebp - 0x350], 0
mov ecx, dword [ebp - 0x35c]
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0
test ecx, ecx
je 0x433cc7
push ecx
call fcn.0048faa8
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045e5d8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004043b0
int3