Function at 0x4214d0
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d11e0
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x653510]
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
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x43c], eax
mov dword [0x65a264], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], 8
push eax
mov dword [ebp - 0x42c], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.004362b0
push 0x5ea5d4
push 0
call fcn.00546878
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x5ea5d8
call fcn.00426190
add esp, 8
mov ecx, 0x65a294
push 0
push dword [0x65a264]
push 0
call fcn.0041baf0
lea ecx, [ebp - 0x440]
call fcn.0040a2d0
mov dword [ebp - 4], 0
call fcn.00420a80
mov ecx, eax
call fcn.00460cf0
mov eax, dword [0x65a304]
test al, 1
jne 0x4215da
or eax, 1
mov dword [0x65a304], eax
mov ecx, 0x65a300
mov byte [ebp - 4], 1
call fcn.0042d700
push 0x5e4270
call fcn.004652a4
add esp, 4
mov byte [ebp - 4], 0
mov ecx, 0x65a300
call fcn.0042d750
push esi
call fcn.0041a040
mov ecx, eax
call fcn.00416700
push esi
push str.lpstrCmdLine_s
call fcn.00426190
add esp, 8
call fcn.004362b0
mov edi, eax
lea eax, [ebp - 0x420]
push eax
push str.DLL_NETUL
push 0xcc
push dword [0x65a264]
mov ecx, dword [edi]
push edi
call dword [ecx + 8]
test eax, eax
jne 0x421639
push str.InitCloudConfig_failed.
call fcn.00426190
add esp, 4
jmp 0x4216d5
push str.InitCloudConfig_success.
call fcn.00426190
mov esi, esp
mov dword [ebp - 0x42c], esp
mov dword [ebp - 0x428], esi
call fcn.00408750
mov ecx, eax
test ecx, ecx
je 0x421e67
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00407b20
test al, al
jne 0x4216ae
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421690
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00408f10
mov byte [ebp - 4], 3
call fcn.0041a040
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00416620
mov esi, dword [edi]
call fcn.0041a040
mov ecx, eax
call fcn.00418850
push eax
push edi
call dword [esi + 0x50]
call fcn.0041a040
mov ecx, eax
call fcn.00418850
push eax
call fcn.0042d120
push ebx
call fcn.0047b070
mov ecx, dword [0x65a1c8]
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor bl, bl
test ecx, ecx
jne 0x42175d
push 0x650d28
call edi
cmp dword [0x65a1c8], 0
jne 0x42174c
push 0x90
call fcn.0042e690
add esp, 4
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x421736
mov ecx, eax
call fcn.00414b40
jmp 0x421738
xor eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x65a1c8], eax
push 0x650d28
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x65a1c8]
call fcn.00417ed0
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test al, al
je 0x42180e
lea eax, [ebp - 0x424]
mov dword [ebp - 0x428], 4
push eax
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x424], 0x104
push eax
lea eax, [ebp - 0x428]
push eax
push str.em_lds
push str.SOFTWAREADBlockMaster
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp dword [ebp - 0x42c], 1
je 0x42180e
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x428], 1
push 0
push eax
mov dword [ebp - 0x42c], 0x104
call fcn.00526470
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x428]
push eax
push str.Setup_Path
push str.SOFTWAREADBlockMaster
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x42180e
mov bl, 1
jmp 0x421920
mov ecx, dword [0x65a1c8]
test ecx, ecx
jne 0x421873
push 0x650d28
call edi
cmp dword [0x65a1c8], 0
jne 0x421862
push 0x90
call fcn.0042e690
add esp, 4
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x42184c
mov ecx, eax
call fcn.00414b40
jmp 0x42184e
xor eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x65a1c8], eax
push 0x650d28
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x65a1c8]
call fcn.00417ed0
test al, al
jne 0x421920
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x428], 4
push eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x42c], 0x104
push eax
lea eax, [ebp - 0x428]
push eax
push str.em_lds
push str.SOFTWAREADBlockMaster
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp dword [ebp - 0x424], 1
jne 0x421920
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x428], 1
push 0
push eax
mov dword [ebp - 0x42c], 0x104
call fcn.00526470
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x428]
push eax
push str.Setup_Path
push str.SOFTWAREADBlockMaster
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call fcn.00408750
mov ecx, eax
test ecx, ecx
je 0x421e71
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x434], eax
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 6
push eax
call fcn.004200c0
add esp, 4
test eax, eax
jle 0x421b58
test bl, bl
jne 0x421b56
call fcn.0041a040
mov ecx, eax
call fcn.00416410
push eax
call fcn.00420b10
mov ecx, eax
call fcn.0040c400
push str.installpkg
call fcn.00420b10
mov ecx, eax
call fcn.0040c410
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00526470
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x65a264]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call fcn.00420b10
mov ecx, eax
call fcn.0040c370
call fcn.0041a040
mov ecx, eax
call fcn.00417ed0
or esi, 0xffffffff
test al, al
je 0x421a5d
call fcn.00408750
mov ecx, eax
test ecx, ecx
je 0x421e7b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
push str.in_adbk
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 8
call fcn.00407b20
test al, al
jne 0x421a25
push 7
push str.in_adbk
lea ecx, [ebp - 0x424]
call fcn.00408f10
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 9
push eax
call fcn.00420b10
mov ecx, eax
call fcn.0040c360
mov edx, dword [ebp - 0x424]
mov eax, esi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421a5d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x42c], esp
mov dword [eax + 0x24], 0
mov ecx, dword [0x65a2fc]
mov byte [ebp - 4], 0xa
test ecx, ecx
jne 0x421ad5
push 0x651134
call edi
cmp dword [0x65a2fc], 0
jne 0x421ac4
push 0x20
call fcn.0042e690
add esp, 4
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x421aae
mov ecx, eax
call fcn.0040b150
jmp 0x421ab0
xor eax, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x42c]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x65a2fc], eax
push 0x651134
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x65a2fc]
push 0
push 0
push 0x5ea698
mov byte [ebp - 4], 6
call fcn.0040c050
call fcn.00420e70
mov edi, eax
test edi, edi
je 0x421b27
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xbb8
call ebx
mov edx, dword [ebp - 0x434]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x421cbb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x421cbb
call fcn.004210e0
test eax, eax
jne 0x421b38
lea edi, [eax + 0xe]
jmp 0x421c96
push dword [ebp + 0x14]
push dword [ebp - 0x43c]
push dword [ebp - 0x438]
call fcn.00423420
add esp, 0xc
mov edi, eax
jmp 0x421c96
test eax, eax
jns 0x421b68
push 0
push 0x5ea620
push 0
call fcn.0042d130
call fcn.0041a040
mov ecx, eax
call fcn.004184a0
mov esi, eax
lea eax, [ebp - 0x424]
push eax
call fcn.0041a040
mov ecx, eax
call fcn.00416430
mov byte [ebp - 4], 7
test esi, esi
jne 0x421c6d
call fcn.004362b0
lea ecx, [ebp - 0x434]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x58]
call fcn.004362b0
push ecx
mov ecx, esp
mov esi, eax
push 0x5ea63c
lea eax, [ebp - 0x434]
push eax
push ecx
call fcn.0041f650
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x424]
cmp dword [eax - 4], 1
jle 0x421bee
push dword [eax - 0xc]
lea ecx, [ebp - 0x424]
call fcn.004086a0
mov eax, dword [ebp - 0x424]
push eax
push str.RunApp_cmdLine:__s
call fcn.00426190
add esp, 8
call fcn.004362b0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
je 0x421c3a
call fcn.004362b0
mov ecx, dword [ebp - 0x424]
mov esi, eax
cmp dword [ecx - 4], 1
jle 0x421c32
push dword [ecx - 0xc]
lea ecx, [ebp - 0x424]
call fcn.004086a0
mov ecx, dword [ebp - 0x424]
push ecx
push str.ADBlockMaster64.exe
jmp 0x421c67
call fcn.004362b0
mov ecx, dword [ebp - 0x424]
mov esi, eax
cmp dword [ecx - 4], 1
jle 0x421c61
push dword [ecx - 0xc]
lea ecx, [ebp - 0x424]
call fcn.004086a0
mov ecx, dword [ebp - 0x424]
push ecx
push 0x5e7dac
mov eax, dword [esi]
push esi
call dword [eax + 0x3c]
mov edx, dword [ebp - 0x424]
or esi, 0xffffffff
mov edi, 0x10
mov byte [ebp - 4], 6
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421c96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x434]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x421cb5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x65a304]
test al, 1
jne 0x421ceb
or eax, 1
mov dword [0x65a304], eax
mov ecx, 0x65a300
mov byte [ebp - 4], 0xc
call fcn.0042d700
push 0x5e4270
call fcn.004652a4
add esp, 4
mov byte [ebp - 4], 0
mov ecx, 0x65a300
call fcn.0042db90
call fcn.00420a80
mov ecx, eax
call fcn.00460e60
call fcn.00436be0
mov ecx, 0x65a2d0
call fcn.0040b020
push 0x5dc
call ebx
mov ebx, dword [0x65a260]
add ebx, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x65a2cc]
test esi, esi
je 0x421d79
cmp dword [esi + 4], 0
jle 0x421d47
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x65a2cc]
test esi, esi
je 0x421d79
mov eax, dword [esi]
test eax, eax
je 0x421d60
push eax
call fcn.0054350b
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00464ea9
add esp, 8
push ebx
mov dword [0x65a2cc], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x65a2c8]
test esi, esi
je 0x421dd2
mov eax, dword [esi]
test eax, eax
je 0x421da9
push eax
call fcn.0054350b
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x421dc0
push eax
call fcn.0054350b
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.00464ea9
add esp, 8
mov esi, dword [0x65a2c0]
test esi, esi
je 0x421e04
cmp dword [esi], 0
je 0x421e04
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x421dee
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x421de1
mov esi, dword [0x650f98]
mov ecx, dword [0x650f9c]
cmp esi, ecx
jae 0x421e2e
mov eax, dword [esi]
test eax, eax
je 0x421e27
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x650f9c]
add esi, 4
cmp esi, ecx
jb 0x421e14
mov ecx, 0x65a294
call fcn.004239b0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x440]
call fcn.0040a310
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.00464e98
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407b00
push 0x80004005
call fcn.00407b00
push 0x80004005
call fcn.00407b00
int3