Function at 0x404c60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43595b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x44b004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
lea eax, [ebp + 8]
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push ecx
cmovae eax, dword [ebp + 8]
push eax
push str._DevAct__SendActivateRequestForNonGDPRCase__s___s_
call fcn.00404620
add esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x180]
push 0x168
push 0
push eax
call fcn.00417ec0
add esp, 0xc
lea eax, [ebp - 0x180]
push eax
call fcn.00415040
add esp, 4
mov dword [ebp - 0x1ac], eax
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0xf
mov byte [ebp - 0x19c], 0
push 0x36
push str.https:__vip.asus.com_OnlineRegister_ProductActReg.aspx
call fcn.0040c450
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae eax, dword [ebp + 8]
push eax
push str._DevAct__SendActivateRequestForNonGDPRCase___SSN:__s
call fcn.00404620
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp - 0x1a4]
lea ecx, [ebp + 8]
mov dword [ebp - 0x1a4], 0
cmovae ecx, dword [ebp + 8]
mov edx, str.ap29_re_
push eax
call fcn.00401ca0
mov esi, dword [ebp - 0x1a4]
add esp, 0xc
mov edi, eax
mov dword [ebp - 0x1a8], edi
lea esi, [esi*2 + 1]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
push 0
push eax
mov dword [ebp - 0x1b0], eax
call fcn.00417ec0
xor ebx, ebx
add esp, 0xc
cmp dword [ebp - 0x1a4], ebx
jle 0x404df6
nop dword [eax]
movzx eax, byte [ebx + edi]
push eax
lea eax, [ebp - 0x184]
push str._02X
push eax
call fcn.00415000
lea edx, [ebp - 0x184]
add esp, 0xc
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x404dc1
mov edi, dword [ebp - 0x1b0]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404dd1
mov ecx, edx
inc ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x1a8]
cmp ebx, dword [ebp - 0x1a4]
jl 0x404da0
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp - 0x1a4]
lea ecx, [ebp + 8]
mov dword [ebp - 0x1a4], 0
cmovae ecx, dword [ebp + 8]
mov edx, str.ap29_re_
push eax
call fcn.00401ca0
mov esi, dword [ebp - 0x1a4]
add esp, 4
mov dword [ebp - 0x1b0], eax
lea esi, [esi*2 + 1]
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x1a8], edi
call fcn.00417ec0
xor ebx, ebx
add esp, 0xc
cmp dword [ebp - 0x1a4], ebx
jle 0x404ec6
nop
mov eax, dword [ebp - 0x1b0]
movzx eax, byte [ebx + eax]
push eax
lea eax, [ebp - 0x184]
push str._02X
push eax
call fcn.00415000
lea edx, [ebp - 0x184]
add esp, 0xc
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x404e97
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404ea1
mov ecx, edx
inc ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x1a8]
cmp ebx, dword [ebp - 0x1a4]
jl 0x404e70
push dword [ebp - 0x1b0]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
je 0x405708
mov edx, dword [ebp - 0x188]
mov eax, edx
mov ecx, dword [ebp - 0x18c]
sub eax, ecx
push 5
push str._asn
cmp eax, 5
jb 0x404f2a
cmp edx, 0x10
lea esi, [ebp - 0x19c]
lea eax, [ecx + 5]
cmovae esi, dword [ebp - 0x19c]
add esi, ecx
mov dword [ebp - 0x18c], eax
push esi
call fcn.004185f0
add esp, 0xc
mov byte [esi + 5], 0
jmp 0x404f44
mov byte [ebp - 0x1b0], 0
lea ecx, [ebp - 0x19c]
push dword [ebp - 0x1b0]
push 5
call fcn.00412730
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x404f47
mov edx, dword [ebp - 0x188]
sub edi, ecx
mov ecx, dword [ebp - 0x18c]
mov eax, edx
mov ebx, dword [ebp - 0x1a8]
sub eax, ecx
push edi
push ebx
cmp edi, eax
ja 0x404f96
cmp edx, 0x10
lea esi, [ebp - 0x19c]
lea eax, [ecx + edi]
cmovae esi, dword [ebp - 0x19c]
add esi, ecx
mov dword [ebp - 0x18c], eax
push esi
call fcn.004185f0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x404faf
mov byte [ebp - 0x1b0], 0
lea ecx, [ebp - 0x19c]
push dword [ebp - 0x1b0]
push edi
call fcn.00412730
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x1ac]
test eax, eax
jle 0x405187
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], 0
push eax
mov edx, str.ap29_re_
lea ecx, [ebp - 0x180]
call fcn.00401ca0
mov esi, dword [ebp - 0x1a8]
add esp, 4
mov dword [ebp - 0x1b0], eax
lea esi, [esi*2 + 1]
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x1a4], edi
call fcn.00417ec0
xor ebx, ebx
add esp, 0xc
cmp dword [ebp - 0x1a8], ebx
jle 0x405086
mov eax, dword [ebp - 0x1b0]
movzx eax, byte [ebx + eax]
push eax
lea eax, [ebp - 0x184]
push str._02X
push eax
call fcn.00415000
lea edx, [ebp - 0x184]
add esp, 0xc
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x405057
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405061
mov ecx, edx
inc ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x1a4]
cmp ebx, dword [ebp - 0x1a8]
jl 0x405030
push dword [ebp - 0x1b0]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
je 0x405730
mov edx, dword [ebp - 0x188]
mov eax, edx
mov ecx, dword [ebp - 0x18c]
sub eax, ecx
push 7
push str.ama_1
cmp eax, 7
jb 0x4050ea
cmp edx, 0x10
lea esi, [ebp - 0x19c]
lea eax, [ecx + 7]
cmovae esi, dword [ebp - 0x19c]
add esi, ecx
mov dword [ebp - 0x18c], eax
push esi
call fcn.004185f0
add esp, 0xc
mov byte [esi + 7], 0
jmp 0x405104
mov byte [ebp - 0x1b0], 0
lea ecx, [ebp - 0x19c]
push dword [ebp - 0x1b0]
push 7
call fcn.00412730
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x405107
mov edx, dword [ebp - 0x188]
sub edi, ecx
mov ecx, dword [ebp - 0x18c]
mov eax, edx
mov ebx, dword [ebp - 0x1a4]
sub eax, ecx
push edi
push ebx
cmp edi, eax
ja 0x405156
cmp edx, 0x10
lea esi, [ebp - 0x19c]
lea eax, [ecx + edi]
cmovae esi, dword [ebp - 0x19c]
add esi, ecx
mov dword [ebp - 0x18c], eax
push esi
call fcn.004185f0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x40516f
mov byte [ebp - 0x1b0], 0
lea ecx, [ebp - 0x19c]
push dword [ebp - 0x1b0]
push edi
call fcn.00412730
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x1ac]
cmp eax, 1
jle 0x405342
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], 0
push eax
mov edx, str.ap29_re_
lea ecx, [ebp - 0x16e]
call fcn.00401ca0
mov esi, dword [ebp - 0x1a8]
add esp, 4
mov dword [ebp - 0x1ac], eax
lea esi, [esi*2 + 1]
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x1a4], edi
call fcn.00417ec0
xor ebx, ebx
add esp, 0xc
cmp dword [ebp - 0x1a8], ebx
jle 0x405247
mov eax, dword [ebp - 0x1ac]
movzx eax, byte [ebx + eax]
push eax
lea eax, [ebp - 0x184]
push str._02X
push eax
call fcn.00415000
lea edx, [ebp - 0x184]
add esp, 0xc
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x405218
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405222
mov ecx, edx
inc ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x1a4]
cmp ebx, dword [ebp - 0x1a8]
jl 0x4051f1
push dword [ebp - 0x1ac]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
je 0x405758
mov edx, dword [ebp - 0x188]
mov eax, edx
mov ecx, dword [ebp - 0x18c]
sub eax, ecx
push 7
push str.ama_2
cmp eax, 7
jb 0x4052ab
cmp edx, 0x10
lea esi, [ebp - 0x19c]
lea eax, [ecx + 7]
cmovae esi, dword [ebp - 0x19c]
add esi, ecx
mov dword [ebp - 0x18c], eax
push esi
call fcn.004185f0
add esp, 0xc
mov byte [esi + 7], 0
jmp 0x4052c5
mov byte [ebp - 0x1ac], 0
lea ecx, [ebp - 0x19c]
push dword [ebp - 0x1ac]
push 7
call fcn.00412730
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4052c8
mov edx, dword [ebp - 0x188]
sub edi, ecx
mov ecx, dword [ebp - 0x18c]
mov eax, edx
mov ebx, dword [ebp - 0x1a4]
sub eax, ecx
push edi
push ebx
cmp edi, eax
ja 0x405317
cmp edx, 0x10
lea esi, [ebp - 0x19c]
lea eax, [ecx + edi]
cmovae esi, dword [ebp - 0x19c]
add esi, ecx
mov dword [ebp - 0x18c], eax
push esi
call fcn.004185f0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x405330
mov byte [ebp - 0x1ac], 0
lea ecx, [ebp - 0x19c]
push dword [ebp - 0x1ac]
push edi
call fcn.00412730
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp - 0x1a8]
lea ecx, [ebp + 0x20]
mov dword [ebp - 0x1a8], 0
cmovae ecx, dword [ebp + 0x20]
mov edx, str.ap29_re_
push eax
call fcn.00401ca0
mov esi, dword [ebp - 0x1a8]
add esp, 4
mov dword [ebp - 0x1ac], eax
lea esi, [esi*2 + 1]
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x1a4], edi
call fcn.00417ec0
xor ebx, ebx
add esp, 0xc
cmp dword [ebp - 0x1a8], ebx
jle 0x405406
nop dword [eax + eax]
mov eax, dword [ebp - 0x1ac]
movzx eax, byte [ebx + eax]
push eax
lea eax, [ebp - 0x184]
push str._02X
push eax
call fcn.00415000
lea edx, [ebp - 0x184]
add esp, 0xc
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4053d7
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4053e1
mov ecx, edx
inc ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x1a4]
cmp ebx, dword [ebp - 0x1a8]
jl 0x4053b0
push dword [ebp - 0x1ac]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
je 0x405780
mov edx, dword [ebp - 0x188]
mov eax, edx
mov ecx, dword [ebp - 0x18c]
sub eax, ecx
push 5
push str.uid
cmp eax, 5
jb 0x40546a
cmp edx, 0x10
lea esi, [ebp - 0x19c]
lea eax, [ecx + 5]
cmovae esi, dword [ebp - 0x19c]
add esi, ecx
mov dword [ebp - 0x18c], eax
push esi
call fcn.004185f0
add esp, 0xc
mov byte [esi + 5], 0
jmp 0x405484
mov byte [ebp - 0x1ac], 0
lea ecx, [ebp - 0x19c]
push dword [ebp - 0x1ac]
push 5
call fcn.00412730
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x405487
mov edx, dword [ebp - 0x188]
sub edi, ecx
mov ecx, dword [ebp - 0x18c]
mov eax, edx
mov ebx, dword [ebp - 0x1a4]
sub eax, ecx
push edi
push ebx
cmp edi, eax
ja 0x4054d6
cmp edx, 0x10
lea esi, [ebp - 0x19c]
lea eax, [ecx + edi]
cmovae esi, dword [ebp - 0x19c]
add esi, ecx
mov dword [ebp - 0x18c], eax
push esi
call fcn.004185f0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x4054ef
mov byte [ebp - 0x1ac], 0
lea ecx, [ebp - 0x19c]
push dword [ebp - 0x1ac]
push edi
call fcn.00412730
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x188], 0x10
lea eax, [ebp - 0x19c]
lea ecx, [ebp - 0x120]
cmovae eax, dword [ebp - 0x19c]
push eax
call fcn.0040a010
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [0x44cf3c], eax
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
sete bl
cmp eax, ecx
je 0x40554a
push eax
call fcn.0041d53d
add esp, 4
test bl, bl
jne 0x4057a8
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x1a0], 0
push eax
push 0
push 0
push 0x404b30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x44cf34]
test eax, eax
je 0x4057d0
push eax
push str._DevAct__SendActivateRequestForNonGDPRCase___server_response:__ws
call fcn.00404620
mov eax, dword [0x44cf34]
add esp, 8
mov ecx, str.SUCCESS
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4055ca
test dx, dx
je 0x4055c6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4055ca
add eax, 4
add ecx, 4
test dx, dx
jne 0x4055a4
xor eax, eax
jmp 0x4055cf
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x188]
test eax, eax
sete bl
cmp edx, 0x10
jb 0x40560e
mov ecx, dword [ebp - 0x19c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405604
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057f8
push edx
push ecx
call fcn.00415293
add esp, 8
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0xf
mov byte [ebp - 0x19c], 0
jmp 0x40563e
mov eax, dword [0x44cf3c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x40565a
push eax
call esi
mov dword [0x44cf3c], 0
mov eax, dword [0x44cf34]
test eax, eax
je 0x405670
push eax
call esi
mov dword [0x44cf34], 0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4056a4
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40569a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057fd
push edx
push ecx
call fcn.00415293
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4056ea
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4056e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057fd
push edx
push ecx
call fcn.00415293
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041525a
mov esp, ebp
pop ebp
ret
push str._DevAct__SendActivateRequestForNonGDPRCase___fail_to_encrypt_SSN
call fcn.00404620
add esp, 4
mov dword [ebp - 0x1b8], 0
lea eax, [ebp - 0x1b8]
push 0x449224
push eax
call fcn.00417e47
push str._DevAct__SendActivateRequestForNonGDPRCase___fail_to_encrypt_MAC1
call fcn.00404620
add esp, 4
mov dword [ebp - 0x1bc], 0
lea eax, [ebp - 0x1bc]
push 0x449224
push eax
call fcn.00417e47
push str._DevAct__SendActivateRequestForNonGDPRCase___fail_to_encrypt_MAC2
call fcn.00404620
add esp, 4
mov dword [ebp - 0x1c0], 0
lea eax, [ebp - 0x1c0]
push 0x449224
push eax
call fcn.00417e47
push str._DevAct__SendActivateRequestForNonGDPRCase___fail_to_encrypt_UUID
call fcn.00404620
add esp, 4
mov dword [ebp - 0x1c4], 0
lea eax, [ebp - 0x1c4]
push 0x449224
push eax
call fcn.00417e47
push str._DevAct__SendActivateRequestForNonGDPRCase___fail_to_convert_ansi_url_string_to_unicode_url_string
call fcn.00404620
add esp, 4
mov dword [ebp - 0x1c8], 0
lea eax, [ebp - 0x1c8]
push 0x449224
push eax
call fcn.00417e47
push str._DevAct__SendActivateRequestForNonGDPRCase___unable_to_connect_to_server
call fcn.00404620
add esp, 4
mov dword [ebp - 0x1cc], 0
lea eax, [ebp - 0x1cc]
push 0x449224
push eax
call fcn.00417e47
call fcn.0041d76b
call fcn.0041d76b
int3