joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405d43
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x43eac0], 0x4c554e
mov edi, 0x400
mov ebp, 0x43eac0
je 0x405d8f
push 1
push 0
push esi
call fcn.00405c6d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x405eae
cmp eax, edi
jg 0x405eae
mov esi, 0x43eec0
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x405eae
cmp eax, edi
jg 0x405eae
push esi
push ebp
push str._s_s_r_n
push 0x43e6c0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x447734]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.004060f6
push 4
push 0xc0000000
push esi
call fcn.00405c6d
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x405eae
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405ea7
push edi
push esi
push ebp
call fcn.00405ce5
test eax, eax
je 0x405ea7
push str._Rename__r_n
push esi
call fcn.00405bd2
test eax, eax
jne 0x405e45
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x405e7a
add eax, 0xa
push 0x40a3d0
push eax
call fcn.00405bd2
mov ebp, eax
test ebp, ebp
je 0x405e76
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x405e67
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x405e61
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x405e7c
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x43e6c0
push eax
call fcn.00405c28
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00405d14
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x405eb3
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x405ed6
push dword [esp + 8]
push dword [esp + 8]
call fcn.00405d43
pop ecx
pop ecx
inc dword [0x4477d0]
ret 8

Function at 0x405fbb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
mov dword [ebp - 4], 0x2000
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405f5a
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x40602a
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 0xc]
push esi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and byte [esi + 0x1fff], 0
test edi, edi
pop edi
jne 0x40602a
cmp dword [ebp + 0xc], 1
je 0x40602d
cmp dword [ebp + 0xc], 2
je 0x40602d
and byte [esi], 0
pop esi
leave
ret 0x14
Function at 0x4063fe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406422
xor eax, eax
test eax, eax
je 0x406434
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406434
xor ecx, ecx
jmp 0x406437
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406523
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43f2c4], 0
push esi
jne 0x40655a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406534
mov dword [ecx*4 + 0x43f2c0], eax
inc ecx
cmp ecx, 0x100
jl 0x40652f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40658b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43f2c0]
xor eax, esi
inc ecx
dec edx
jne 0x40656d
pop edi
not eax
pop esi
ret 0xc

Function at 0x401a2d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401a3c
push esp
mov dword [ebp - 0x24], 0x401778
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401adb
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401abc
pop ebp
ret 0x10
Function at 0x405020
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x104
call fcn.00489cc0
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x405069
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x405069
mov ecx, dword [esp + 0x108]
lea eax, [esp + 0x10c]
push eax
push ecx
call fcn.0046c200
add eax, 0x40
push eax
call fcn.0048b3cc
add esp, 0xc
add esp, 0x104
ret
mov eax, dword [esp + 0x108]
lea edx, [esp + 0x10c]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.0048bd37
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4050ea
call fcn.00404f60
test eax, eax
je 0x4050ea
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
add esp, 0x104
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0x104
ret
Function at 0x463220
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 0x10

Function at 0x463ac0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 1
push 2
xor bl, bl
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp + 8]
mov esi, eax
xorps xmm0, xmm0
mov eax, 2
movups xmmword [ebp - 0x34], xmm0
push 0x25
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x34], ax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [ebp - 0x32], ax
lea eax, [ebp - 0x34]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x463b4b
xor eax, eax
xorps xmm0, xmm0
push eax
mov word [ebp - 0x24], ax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x24]
push 0x20
push eax
push esi
movups xmmword [ebp - 0x22], xmm0
movq qword [ebp - 0x12], xmm0
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 4
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
Function at 0x4653d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x51e8dc]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
test eax, eax
je 0x46540c
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
push 0x4c
call fcn.004897e6
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x4654a6
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [ecx + 4], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], eax
mov dword [ecx], vtable.CIEWin_class_CAuthWin__class_ATL::CWinTraits_105382016__0__.0
mov dword [ecx + 0xc], vtable.CIEWin_class_CAuthWin__class_ATL::CWinTraits_105382016__0__.1.0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 8], 0
cmp word [0x513100], 0
jne 0x465488
and dword [0x5130c4], 0xfffffffc
mov dword [ecx], vtable.CAuthWin.0
mov dword [ecx + 0xc], vtable.CAuthWin.1.0
mov byte [ecx + 0x44], 0
mov dword [0x51e8dc], ecx
mov dword [ecx + 0x48], 0
cmp dword [ebp + 8], 0
je 0x4654ce
mov ecx, dword [0x51e8dc]
push ebx
call fcn.00464b00
test al, al
jne 0x4654ce
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
mov esi, dword [0x51e8dc]
push dword [ebp - 0x18]
movaps xmm0, xmmword [0x4e1140]
movups xmmword [ebp - 0x14], xmm0
lea eax, [esi + 0x2c]
push eax
push 0x5130c0
push 0x51e8b0
push 0x5228b0
call fcn.004646e0
add esp, 0x14
movzx eax, ax
lea ecx, [esi + 0xc]
push 0
push eax
push 0
push 0
push 0x6480080
push str.AuthWin
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.00464b90
mov eax, dword [0x51e8dc]
push 5
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0
je 0x4653f7
mov ecx, dword [0x51e8dc]
call fcn.00465330
mov eax, dword [0x51e8dc]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, dword [eax + 0x48]
pop ebx
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
Function at 0x466030
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x54]
test eax, eax
je 0x46606c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x466210
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x54], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4664c0
Capabilities:
Connect socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db896
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x51cca4]
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 + 0xc]
lea ecx, [ebp - 0x1e4]
mov edi, dword [ebp + 8]
push ecx
push eax
call fcn.004663c0
add esp, 8
lea eax, [ebp - 0x1d8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x466591
push 3
push 1
push 0x20
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x466598
push 0x4e17b0
lea ecx, [ebp - 0x28]
call fcn.00460690
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x46657c
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x466554
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00464490
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x46656c
mov eax, dword [edi]
jmp 0x46656e
mov eax, edi
mov byte [eax], 0
mov ecx, edi
lea eax, [ebp - 0x28]
push eax
call fcn.00463e40
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x466591
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00464490
xor eax, eax
jmp 0x4666aa
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 0x1dc]
push 4
push eax
push closesocket
push 3
push ebx
mov dword [ebp - 0x1dc], 1
call esi
push 4
lea eax, [ebp - 0x1dc]
push eax
push 2
push 3
push ebx
call esi
movups xmm0, xmmword [0x4e1790]
mov eax, 0x20
mov dword [ebp - 0x2e], 0
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x46], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x42], eax
lea eax, [ebp - 0x48]
push 0x1e
push eax
push ebx
movups xmmword [ebp - 0x3e], xmm0
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x466694
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x2742
jne 0x466636
push str.Fail_to_connect__50_._Bluetooth_adapter_not_detected.
push edi
call fcn.004645f0
add esp, 8
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x4666aa
cmp eax, 0x274c
jne 0x466658
cmp dword [0x51f2b8], 0x10
mov eax, 0x51f2a4
cmovae eax, dword [0x51f2a4]
push eax
push str.Fail_to_connect_to__s__60_._Bluetooth_not_detected_on_your_phone.
jmp 0x466680
cmp eax, 0x2741
jne 0x466678
push str.Fail_to_connect_to_your_phone__49_._Please_make_sure_Bluetooth_mode_is_activated.
push edi
call fcn.004645f0
add esp, 8
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x4666aa
call esi
push eax
push str.Fail_to_connect_to_Bluetooth_device__err_d.
push edi
call fcn.004645f0
add esp, 0xc
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x4666aa
cmp byte [ebp + 0x10], 0
je 0x4666a8
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 1
jmp 0x4666aa
mov eax, ebx
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.00489c7b
mov esp, ebp
pop ebp
ret
Function at 0x467240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dba3f
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x51cca4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push str.onDeviceSelected
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x467340
mov eax, dword [ebp + 0x10]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov eax, dword [eax + 8]
test eax, eax
jne 0x4672d5
xor esi, esi
mov dword [ebp + 0x10], esi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], 0
mov eax, dword [eax + 8]
test eax, eax
jne 0x4672eb
xor edi, edi
mov dword [ebp + 8], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.004897e6
add esp, 4
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x467301
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp + 0x10]
push ecx
mov ecx, eax
call fcn.004667b0
mov ebx, eax
jmp 0x467303
push eax
call edi
mov esi, eax
mov dword [ebp + 0x10], esi
test esi, esi
jne 0x467293
push 0x8007000e
call fcn.00461260
push eax
call edi
mov edi, eax
mov dword [ebp + 8], edi
test edi, edi
jne 0x4672a9
push 0x8007000e
call fcn.00461260
xor ebx, ebx
lea eax, [ebx + 4]
mov byte [ebx + 0xc], 1
push eax
push 0
push ebx
push 0x464130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx + 8], eax
call edi
push esi
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push str.startDiscover
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x4673ab
push 0x10
call fcn.004897e6
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x467378
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi], vtable.BtDiscoverThread.0
jmp 0x46737a
xor esi, esi
lea eax, [esi + 4]
mov byte [esi + 0xc], 1
push eax
push 0
push esi
push 0x464130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push str.stopDiscover
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x4673db
mov dword [0x51e8ec], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push str.connectNow
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x467401
push eax
push 1
push 0x87f4
push dword [0x51f1dc]
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4681f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x4e1c00]
mov eax, dword [0x51e8e8]
push esi
push edi
movups xmmword [ebp - 0x14], xmm0
test eax, eax
jne 0x468304
push 0x44
call fcn.004897e6
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
test edi, edi
je 0x4682a7
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], eax
mov dword [edi], vtable.CIEWin_class_CBtWin__class_ATL::CWinTraits_105382016__0__.0
mov dword [edi + 0xc], vtable.CIEWin_class_CBtWin__class_ATL::CWinTraits_105382016__0__.1.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 8], 0
cmp word [0x5131d0], 0
jne 0x468292
and dword [0x513194], 0xfffffffc
mov dword [edi], vtable.CBtWin.0
mov dword [edi + 0xc], vtable.CBtWin.1.0
mov dword [0x51e8e8], edi
jmp 0x4682a9
xor edi, edi
push dword [ebp - 0x18]
lea eax, [edi + 0x2c]
push eax
push 0x513190
push 0x51e8b0
push 0x5228b0
call fcn.004646e0
add esp, 0x14
movzx eax, ax
lea ecx, [edi + 0xc]
push 0
push eax
push 0
push 0
push 0x6480080
push str.BtWin
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.00464b90
push 5
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
Function at 0x4699a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x318], 0
push eax
push 0x20019
push 0
push str.SoftwarePdaNetAndroid
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x469a2d
lea eax, [ebp - 0x314]
mov dword [ebp - 0x310], 4
push eax
lea eax, [ebp - 0x318]
mov dword [ebp - 0x314], 4
push eax
lea eax, [ebp - 0x310]
push eax
push 0
push 0x4e6834
push dword [ebp - 0x30c]
call ebx
push dword [ebp - 0x30c]
call esi
cmp dword [ebp - 0x318], 0
jne 0x469b9d
call fcn.0046a070
test eax, eax
je 0x469b9d
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.PnHelp2.exe
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x100
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.0048e7f0
add esp, 0xc
lea eax, [ebp - 0x30c]
push eax
push 0x20019
push 0
push str.SoftwarePdaNetAndroid
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x469b9d
lea eax, [ebp - 0x310]
mov dword [ebp - 0x314], 1
push eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x310], 0x1000
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x30c]
call ebx
push dword [ebp - 0x30c]
test eax, eax
mov ecx, 1
mov ebx, 0
cmove ebx, ecx
call esi
test ebx, ebx
je 0x469b9d
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x308]
push str.setName___s_
push eax
call fcn.004646a0
push 1
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x108]
push 0x2710
push eax
call fcn.0046b5f0
add esp, 0x1c
cmp eax, 1
jne 0x469b9d
push 0
mov dword [ebp - 0x310], eax
lea eax, [ebp - 0x30c]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarePdaNetAndroid
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x469b9d
push 4
lea eax, [ebp - 0x310]
push eax
push 4
push 0
push 0x4e6834
push dword [ebp - 0x30c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x30c]
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
Function at 0x469d40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x469d68
mov eax, dword [0x51f0f0]
test eax, eax
jne 0x469f6d
push 0x94
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.0048e7f0
add esp, 0xc
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x469db4
mov dword [0x51f0f0], 0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x88]
sub eax, 1
je 0x469f06
sub eax, 1
jne 0x469d99
mov eax, dword [ebp - 0x94]
cmp eax, 4
jbe 0x469d99
cmp eax, 5
jne 0x469e3b
cmp dword [ebp - 0x90], 0
jne 0x469dff
mov dword [0x51f0f0], 4
mov eax, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x469d99
lea ecx, [ebp - 0x84]
mov eax, ecx
sub esi, eax
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x469e10
mov dword [0x51f0f0], 5
mov eax, 5
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x469d99
mov eax, dword [ebp - 0x90]
test eax, eax
jne 0x469e6c
mov dword [0x51f0f0], 6
mov eax, 6
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x469e8f
mov dword [0x51f0f0], 7
mov eax, 7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x469d99
push 1
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 8
push eax
push str.CurrentMajorVersionNumber
call fcn.00469f80
add esp, 0x10
test eax, eax
je 0x469ee8
cmp dword [ebp - 0x9c], 0xa
jb 0x469ee8
mov dword [0x51f0f0], 9
mov eax, 9
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
mov dword [0x51f0f0], 8
mov eax, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x94]
cmp eax, 4
ja 0x469f5e
jne 0x469f40
mov eax, dword [ebp - 0x90]
cmp eax, 0x5a
jae 0x469f5e
test eax, eax
je 0x469f40
mov dword [0x51f0f0], 2
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
mov dword [0x51f0f0], 1
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
mov dword [0x51f0f0], 3
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00489c7b
mov esp, ebp
pop ebp
ret