joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ef70
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x234
mov eax, dword [0x4e5a68]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x244]
push 0x103
xor esi, esi
lea eax, [esp + 0x13d]
push esi
push eax
mov byte [esp + 0x144], 0
call fcn.00432df0
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x160]
push ecx
push edi
mov dword [esp + 0x40], 0x104
mov dword [esp + 0x3c], esi
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x41f070
jbe 0x41f070
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea ebx, [ebx]
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
push ecx
push esi
push edi
mov dword [esp + 0x38], 0xff
call ebp
test eax, eax
jne 0x41f066
mov al, byte [esp + 0x3c]
cmp al, 0x4d
jne 0x41f052
cmp byte [esp + 0x3e], 0x62
jne 0x41f066
cmp byte [esp + 0x42], 0x20
jne 0x41f066
cmp byte [esp + 0x43], 0x53
jmp 0x41f062
cmp al, 0x54
jne 0x41f066
cmp byte [esp + 0x3e], 0x74
jne 0x41f066
cmp byte [esp + 0x41], 0x72
jne 0x41f066
mov bl, 1
add esi, 1
cmp esi, dword [esp + 0x10]
jb 0x41f010
pop ebp
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.0043236c
add esp, 0x234
ret

Function at 0x41f780
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push 0
je 0x41f7f6
lea eax, [esp + 0x10]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarePdaNetAndroid
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41f7d9
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
push eax
push esi
push 1
push 0
push str.WifiState
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
mov ecx, dword [0x4f1298]
push 1
push eax
push 0x8836
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop esi
ret 8
mov edx, dword [esp + 0xc]
mov eax, dword [0x4f1298]
push edx
push 0x8836
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop esi
ret 8
Function at 0x41fc10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bc9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x4e5a68]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor edx, edx
mov dword [esp + 8], edx
xor eax, eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov word [esp + 0x1a], ax
mov eax, dword [ecx + 0x30]
test eax, eax
mov dword [esp + 0x54], edx
mov word [esp + 0xc], dx
je 0x41fd8e
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
mov edx, dword [esp + 8]
jl 0x41fd8e
test edx, edx
je 0x41fd8e
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x41fcee
push eax
lea ecx, [esp + 0x20]
call fcn.00402980
mov ecx, dword [esp + 0x68]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call fcn.00402980
mov edx, dword [esp + 0x64]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 2
call fcn.00402980
mov edx, dword [esp + 0x60]
lea eax, [esp + 0xc]
push eax
push 3
lea ecx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 0
call fcn.00401480
push 0x402970
push 3
push 0x10
lea eax, [esp + 0x28]
push eax
call fcn.004325ec
jmp 0x41fd42
mov eax, dword [esp + 0x68]
test eax, eax
je 0x41fd11
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0xc]
push ecx
push eax
mov eax, dword [esp + 0x68]
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.004033c0
jmp 0x41fd42
mov eax, dword [esp + 0x64]
test eax, eax
je 0x41fd2f
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.004013e0
jmp 0x41fd42
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x10]
call fcn.00401310
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi], edx
mov edx, dword [esp + 0x18]
mov dword [esi + 4], eax
mov eax, dword [esp + 8]
test eax, eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esp + 0x54], 0xffffffff
je 0x41fdc1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x50
ret 0x14
test edx, edx
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esp + 0x54], 0xffffffff
je 0x41fdc1
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push edx
call ecx
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x50
ret 0x14
Function at 0x420f40
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4bcb38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4e5a68]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.00420810
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x420fa0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00420900
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.00420810
cmp dword [esp + 0x28], 8
jb 0x420feb
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00431ad1
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret

Function at 0x421000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bcb73
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e5a68]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi], vtable.CIEWin_class_CWlanWin__class_ATL::CWinTraits_105382016__0__.1.0
mov dword [esi + 0xc], vtable.CIEWin_class_CWlanWin__class_ATL::CWinTraits_105382016__0__.0
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 8], edi
cmp word [0x4e5428], di
jne 0x42106b
and dword [0x4e53ec], 0xfffffffc
lea ecx, [esi + 0x54]
mov dword [esi], vtable.CWlanWin.1.0
mov dword [esi + 0xc], vtable.CWlanWin.0
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
mov dword [esp + 0x18], edi
mov word [ecx + 4], di
mov dword [0x4f1294], esi
push edi
push 0x4c1130
mov byte [esp + 0x20], 1
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
call fcn.00420a00
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x421e70
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4bcccb
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4e5a68]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
cmp dword [0x4f1294], 0
jne 0x421ec5
push 0x7c
call fcn.004321b4
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x20], 0
je 0x421ebd
mov ecx, eax
call fcn.00421000
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x28]
test eax, eax
je 0x421ed2
mov dword [0x4f1298], eax
mov eax, dword [0x4f1294]
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x1f7
mov dword [esp + 0x14], 0x189
cmp dword [eax + 0x10], 0
jne 0x421f32
push 0
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
push 0
push 0
push str.WlanWin
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [0x4f1294]
mov dword [esp + 0x40], esp
push 0
add ecx, 0xc
call fcn.00420e00
mov edx, dword [0x4f1294]
mov eax, dword [edx + 0x10]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4f1294]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
add esp, 0x20
ret
Function at 0x4269b0
Capabilities:
Get mac address on windows

Disassembly:
push ecx
push ebx
push edi
push 0xf00
xor ebx, ebx
mov dword [esp + 0xc], 0xf00
call fcn.00431acc
mov edi, eax
add esp, 4
lea eax, [esp + 8]
push eax
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4269fc
push edi
call fcn.00432b0f
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00431acc
add esp, 8
lea edx, [esp + 8]
mov edi, eax
push edx
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x426a5e
test edi, edi
push esi
mov esi, edi
je 0x426a5d
jmp 0x426a10
lea eax, [esi + 0x10c]
push str.PdaNet_Broadband_Adapter
push eax
call fcn.004346e0
add esp, 8
test eax, eax
jne 0x426a3e
mov esi, dword [esi]
test esi, esi
jne 0x426a10
pop esi
push edi
call fcn.00432b0f
add esp, 4
pop edi
mov eax, ebx
pop ebx
pop ecx
ret
mov ecx, dword [esi + 0x194]
mov dword [0x4e5560], ecx
mov dx, word [esi + 0x198]
mov word [0x4e5564], dx
mov ebx, 1
pop esi
push edi
call fcn.00432b0f
add esp, 4
pop edi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x427cc0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
movzx eax, word [esp + 8]
push esi
xor esi, esi
test eax, eax
jle 0x427cf8
mov ecx, dword [esp + 8]
lea edx, [eax - 1]
shr edx, 1
add ecx, 1
add edx, 1
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor eax, eax
mov ah, byte [ecx - 1]
add ecx, 2
movzx eax, ax
xor eax, edi
add esi, eax
sub edx, 1
jne 0x427ce0
pop edi
mov eax, esi
shr eax, 0x10
je 0x427d0c
nop
movzx esi, si
add esi, eax
mov eax, esi
shr eax, 0x10
jne 0x427d00
mov eax, esi
not eax
pop esi
ret

Function at 0x4285a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x204
mov eax, dword [0x4e5a68]
xor eax, esp
mov dword [esp + 0x200], eax
push esi
push edi
mov edi, dword [esp + 0x210]
call dword [0x4e59b4]
push 0x104
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 8]
push 0x5c
push ecx
call fcn.00434e74
push 6
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x118]
push str._Spdanet_d.txt
push eax
call fcn.00432b54
lea ecx, [esp + 0x120]
push 0x4c1218
push ecx
call fcn.004332ee
mov esi, eax
add esp, 0x20
test esi, esi
je 0x42863e
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x428620
push esi
sub eax, edx
push eax
push 1
push edi
call fcn.00434474
push esi
call fcn.00432edc
add esp, 0x14
mov ecx, dword [esp + 0x208]
pop edi
pop esi
xor ecx, esp
call fcn.0043236c
add esp, 0x204
ret

Function at 0x428680
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x404
mov eax, dword [0x4e5a68]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [esp + 0x408], 6
jl 0x428741
cmp dword [0x4f1b18], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x4286b9
call esi
mov dword [0x4f1b18], eax
call esi
mov ecx, eax
sub ecx, dword [0x4f1b18]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
push edx
lea edx, [esp + 8]
push 0x4c4274
push edx
call fcn.00432b54
lea eax, [esp + 0x10]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4286e7
sub eax, edx
mov edx, eax
lea eax, [esp + 4]
lea esi, [eax + 1]
jmp 0x428700
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x428700
lea ecx, [esp + 0x414]
push ecx
mov ecx, dword [esp + 0x414]
push ecx
mov ecx, 0x3ff
sub ecx, edx
sub eax, esi
push ecx
lea edx, [esp + eax + 0x10]
push edx
call fcn.00432d99
add esp, 0x10
test eax, eax
pop esi
je 0x428741
lea eax, [esp]
push eax
call fcn.004285a0
add esp, 4
mov ecx, dword [esp + 0x400]
xor ecx, esp
xor al, al
call fcn.0043236c
add esp, 0x404
ret

Function at 0x428e70
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
movzx ecx, word [edx + 4]
test cx, cx
push esi
mov esi, dword [edx]
mov eax, 0xffff
je 0x428ead
movzx edx, byte [esi]
xor edx, eax
movzx ax, ah
and edx, 0xff
xor ax, word [edx*2 + 0x4e5610]
add ecx, 0xffff
add esi, 1
test cx, cx
movzx eax, ax
jne 0x428e85
not eax
pop esi
ret
Function at 0x42afb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dl, byte [esp + 0x20]
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 4], eax
movzx eax, word [esi + 4]
push edi
push eax
mov dword [esp + 0x10], ecx
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], dl
call dword [sym.imp.WS2_32.dll_htons]
mov edi, dword [esi + 4]
mov word [esp + 0x12], ax
xor eax, eax
xor ecx, ecx
test edi, edi
jbe 0x42b00d
mov esi, dword [esi]
push ebx
movzx ebx, byte [esi + ecx + 1]
xor edx, edx
mov dh, byte [esi + ecx]
add ecx, 2
movzx edx, dx
xor edx, ebx
add eax, edx
cmp ecx, edi
jb 0x42aff4
pop ebx
xor ecx, ecx
nop
movzx esi, byte [esp + ecx + 9]
xor edx, edx
mov dh, byte [esp + ecx + 8]
add ecx, 2
movzx edx, dx
xor edx, esi
add eax, edx
cmp ecx, 0xc
jb 0x42b010
mov ecx, eax
shr ecx, 0x10
pop edi
pop esi
je 0x42b03f
movzx eax, ax
add eax, ecx
mov ecx, eax
shr ecx, 0x10
jne 0x42b033
not eax
add esp, 0xc
ret

Function at 0x42d3e0
Capabilities:
Access peb ldr_data
Create thread
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4bd25b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x4e5a68]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
mov dword [esp + 0x10], edx
push eax
lea edx, [esp + 0x18]
push edx
call fcn.0042ce50
cmp dword [0x4f2328], 0
jne 0x42d479
push 0x14
call fcn.004321b4
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x28], 0
je 0x42d45a
mov ecx, eax
call fcn.0042b460
mov esi, eax
jmp 0x42d45c
xor esi, esi
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x401e40
push 0
push 0
mov byte [esi + 0xc], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8
Function at 0x42d650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bd29e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e5a68]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax]
lea edi, [ebx + 0x38]
mov esi, edi
mov dword [esp + 0x38], 2
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
lea ecx, [ecx]
test esi, esi
mov ebp, dword [edi + 4]
je 0x42d6ab
cmp esi, edi
je 0x42d6b0
call fcn.00433e3c
cmp dword [esp + 0x20], ebp
je 0x42d6ec
test esi, esi
jne 0x42d6bf
call fcn.00433e3c
mov eax, dword [esp + 0x20]
cmp eax, dword [esi + 4]
jne 0x42d6cd
call fcn.00433e3c
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x10]
push edx
call fcn.00432b0f
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.004299e0
mov esi, dword [esp + 0x1c]
jmp 0x42d6a0
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax]
lea esi, [ebx + 0x48]
mov ebp, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
mov edi, edi
test ebp, ebp
mov eax, dword [esi + 4]
mov dword [esp + 0x28], eax
je 0x42d70f
cmp ebp, esi
je 0x42d714
call fcn.00433e3c
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x20], ecx
je 0x42d754
test ebp, ebp
jne 0x42d727
call fcn.00433e3c
mov edx, dword [esp + 0x20]
cmp edx, dword [ebp + 4]
jne 0x42d735
call fcn.00433e3c
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.00432b0f
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.004299e0
mov ebp, dword [esp + 0x1c]
jmp 0x42d700
lea ecx, [ebx + 0x58]
call fcn.00429ad0
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
lea edx, [esp + 0x34]
push edx
mov ecx, esi
mov byte [esp + 0x4c], 1
call fcn.0042a6d0
mov eax, dword [esi + 4]
push eax
call fcn.00431ad1
add esp, 4
xor ebp, ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push edi
push ecx
push edi
lea eax, [esp + 0x34]
push eax
mov ecx, edi
mov byte [esp + 0x4c], 0
call fcn.0042a6d0
mov ecx, dword [edi + 4]
push ecx
call fcn.00431ad1
add esp, 4
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
cmp dword [ebx + 0x20], 0x10
jb 0x42d7c8
mov edx, dword [ebx + 0xc]
push edx
call fcn.00431ad1
add esp, 4
mov dword [ebx + 0x20], 0xf
mov dword [ebx + 0x1c], ebp
mov byte [ebx + 0xc], 0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4307a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4e5a68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [0x4e59b4]
mov edi, dword [ebp + 0x10]
xor esi, esi
cmp edi, esi
mov ebx, eax
jne 0x4307c9
mov dword [ebp - 8], esi
jmp 0x4307f7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x4307df
mov dword [ebp - 8], esi
jmp 0x4307f7
lea esi, [eax + eax]
mov eax, esi
call fcn.00432550
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.00401120
mov dword [ebp - 8], eax
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x430802
xor esi, esi
jmp 0x43082e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x430817
xor esi, esi
jmp 0x43082e
lea esi, [eax + eax]
mov eax, esi
call fcn.00432550
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.00401120
mov esi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarePdaNetAndroid
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43087a
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0xc]
push eax
push edi
push 1
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043236c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4308a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4e5a68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [0x4e59b4]
mov edi, dword [ebp + 0xc]
test edi, edi
mov ebx, eax
jne 0x4308c6
xor esi, esi
jmp 0x4308f2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x4308db
xor esi, esi
jmp 0x4308f2
lea esi, [eax + eax]
mov eax, esi
call fcn.00432550
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.00401120
mov esi, eax
mov eax, dword [ebp + 0x10]
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarePdaNetAndroid
push connect
mov dword [ebp - 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43093d
push 4
lea edx, [ebp - 0xc]
push edx
push 4
push eax
mov eax, dword [ebp - 8]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043236c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x430960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4e5a68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [0x4e59b4]
mov edi, dword [ebp + 0xc]
test edi, edi
mov ebx, eax
jne 0x430986
xor esi, esi
jmp 0x4309b2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x43099b
xor esi, esi
jmp 0x4309b2
lea esi, [eax + eax]
mov eax, esi
call fcn.00432550
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.00401120
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SoftwarePdaNetAndroid
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4309ff
mov edx, dword [ebp + 0x10]
mov eax, 4
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
push edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043236c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x431660
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4e5a68]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004314bf
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00432df0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4316af
cmp dword [ebp - 0x1c], 5
jb 0x4316c7
jmp 0x4316c3
cmp dword [ebp - 0x10], 1
jne 0x4316c7
cmp dword [ebp - 0x1c], 4
ja 0x4316c3
jne 0x4316c7
cmp dword [ebp - 0x18], 0
jbe 0x4316c7
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4c5a30
call fcn.00410f60
test eax, eax
jge 0x4316e8
mov byte [0x4f1120], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043236c
add ebp, 0x78
leave
ret
Function at 0x431901
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4f23f8], 0
push esi
jne 0x43186f
call fcn.0043178d
test eax, eax
je 0x4318b2
mov eax, dword [0x4f23f8]
cmp eax, 1
jne 0x431890
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4318b2
pop esi
ret
push eax
call dword [0x4f2400]
test eax, eax
jne 0x4318fa
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4318b6
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4f23f8]
call dword [0x4f2400]
mov edi, eax
test edi, edi
je 0x4318dd
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4318f9
lea edi, [esi + 0xff0]
push esi
push dword [0x4f23f8]
call dword [0x4f23fc]
add esi, 0x10
cmp esi, edi
jb 0x4318e3
mov eax, esi
pop edi
pop esi
ret
jmp 0x43185c

Function at 0x43236c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e5a68]
jne 0x432376
repz ret
jmp fcn.00437fca