joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4219aa
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
mov eax, 0x4e8cf0
call fcn.0047b598
sub esp, 0x58
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0xc], bl
je 0x4219c9
xor eax, eax
jmp 0x421af7
push edi
mov edi, 0x534198
lea ecx, [esi + 0xc4]
push edi
call fcn.004dc7f7
lea ecx, [esi + 0xc8]
push edi
call fcn.004dc7f7
lea ecx, [ebp - 0x64]
call fcn.0042f0f8
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.0042f24b
test eax, eax
je 0x421a0d
lea eax, [ebp - 0x38]
lea ecx, [esi + 0xc4]
push eax
call fcn.004dc7a7
lea ecx, [ebp - 0x64]
call fcn.0042f2d1
test eax, eax
je 0x421a28
lea eax, [ebp - 0x38]
lea ecx, [esi + 0xc8]
push eax
call fcn.004dc7a7
push ebx
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
lea ecx, [ebp - 0x10]
push 4
push ecx
push 0x1006
push 0xffff
push eax
mov dword [esi + 8], eax
mov dword [ebp - 0x10], 0xbb8
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea eax, [ebp - 0x24]
pop edi
push edi
push ebx
push eax
call fcn.0047b7a0
add esp, 0xc
mov word [ebp - 0x24], 2
push 0x76c
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x24]
push edi
push eax
push dword [esi + 8]
mov dword [ebp - 0x20], ebx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x421ac7
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
call esi
push eax
push str.Error_in_bind:
push 0x53be18
call fcn.0042343d
pop ecx
pop ecx
mov ecx, eax
call fcn.004231bb
mov esi, eax
push 0xa
mov ecx, esi
call fcn.004232e2
mov ecx, esi
call fcn.0048e897
jmp 0x421ae8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_getsockname]
push 1
mov ecx, esi
pop ebx
mov byte [esi + 0xc], bl
call fcn.00421950
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0042f1a4
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4219b8
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
mov eax, 0x4e8cf0
call fcn.0047b598
sub esp, 0x58
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0xc], bl
je 0x4219c9
xor eax, eax
jmp 0x421af7
push edi
mov edi, 0x534198
lea ecx, [esi + 0xc4]
push edi
call fcn.004dc7f7
lea ecx, [esi + 0xc8]
push edi
call fcn.004dc7f7
lea ecx, [ebp - 0x64]
call fcn.0042f0f8
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.0042f24b
test eax, eax
je 0x421a0d
lea eax, [ebp - 0x38]
lea ecx, [esi + 0xc4]
push eax
call fcn.004dc7a7
lea ecx, [ebp - 0x64]
call fcn.0042f2d1
test eax, eax
je 0x421a28
lea eax, [ebp - 0x38]
lea ecx, [esi + 0xc8]
push eax
call fcn.004dc7a7
push ebx
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
lea ecx, [ebp - 0x10]
push 4
push ecx
push 0x1006
push 0xffff
push eax
mov dword [esi + 8], eax
mov dword [ebp - 0x10], 0xbb8
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea eax, [ebp - 0x24]
pop edi
push edi
push ebx
push eax
call fcn.0047b7a0
add esp, 0xc
mov word [ebp - 0x24], 2
push 0x76c
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x24]
push edi
push eax
push dword [esi + 8]
mov dword [ebp - 0x20], ebx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x421ac7
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
call esi
push eax
push str.Error_in_bind:
push 0x53be18
call fcn.0042343d
pop ecx
pop ecx
mov ecx, eax
call fcn.004231bb
mov esi, eax
push 0xa
mov ecx, esi
call fcn.004232e2
mov ecx, esi
call fcn.0048e897
jmp 0x421ae8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_getsockname]
push 1
mov ecx, esi
pop ebx
mov byte [esi + 0xc], bl
call fcn.00421950
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0042f1a4
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x421d0c
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, 0x4e8d18
call fcn.0047b598
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
push 0x534198
lea ecx, [ebp - 0x10]
mov eax, dword [esi + 8]
mov dword [ebp - 0x14], eax
call fcn.004dc6dc
mov eax, dword [esi + 0xc4]
and dword [ebp - 4], 0
lea edi, [esi + 0xc4]
mov ebx, dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [eax - 8]
cmp ecx, 4
jle 0x421d5f
push eax
call ebx
cmp al, 0xa
je 0x421d84
cmp al, 0xc0
jne 0x421d5f
cmp ah, 0xa8
je 0x421d84
mov eax, dword [esi + 0xc8]
add esi, 0xc8
cmp dword [eax - 8], 4
jle 0x421d90
push dword [edi]
call ebx
cmp al, 0xa
je 0x421d87
cmp al, 0xc0
jne 0x421d90
cmp ah, 0xa8
je 0x421d87
jmp 0x421d90
push edi
jmp 0x421d88
push esi
lea ecx, [ebp - 0x10]
call fcn.004dc7a7
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x421da6
push str.239.255.255.250
lea ecx, [ebp - 0x10]
call fcn.004dc7f7
push 0x10
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.0047b7a0
add esp, 0xc
push dword [ebp - 0x10]
call ebx
push 0x76c
mov dword [ebp - 0x20], eax
mov word [ebp - 0x24], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x24]
push 0x10
push eax
push 0
push dword [ebp + 8]
call fcn.0047baa0
pop ecx
push eax
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dc66e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4230b2
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
lea eax, [ebp - 0x104]
push 0x100
push eax
xor edi, edi
xor ebx, ebx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x423130
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, edi
je 0x423130
cmp word [esi + 0xa], 4
jne 0x423130
mov eax, dword [esi + 0xc]
cmp dword [eax], edi
je 0x423130
movsx ecx, word [esi + 0xa]
push ecx
push dword [edi + eax]
lea eax, [ebp - 4]
push eax
call fcn.0047bb20
add esp, 0xc
cmp byte [ebp - 4], 0xa
je 0x42311f
cmp byte [ebp - 4], 0xc0
je 0x42311f
cmp byte [ebp - 3], 0xa8
jne 0x42312d
mov eax, dword [esi + 0xc]
add edi, 4
cmp dword [edi + eax], 0
jne 0x4230f9
jmp 0x423130
push 1
pop ebx
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x423137
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
lea eax, [ebp - 0x104]
push 0x100
push eax
or ebx, 0xffffffff
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4231b3
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x4231b3
cmp word [esi + 0xa], 4
jne 0x4231b3
mov eax, dword [esi + 0xc]
cmp dword [eax], edi
je 0x4231b3
movsx ecx, word [esi + 0xa]
push ecx
push dword [edi + eax]
lea eax, [ebp - 4]
push eax
call fcn.0047bb20
mov eax, dword [ebp - 4]
add esp, 0xc
cmp al, 0xa
je 0x4231b1
cmp al, 0xc0
jne 0x4231a3
cmp ah, 0xa8
je 0x4231b1
mov eax, dword [esi + 0xc]
add edi, 4
cmp dword [edi + eax], 0
jne 0x42317f
jmp 0x4231b3
mov ebx, eax
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x4248e7
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
push edi
lea eax, [ebp - 0x108]
xor edi, edi
push 0x100
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x424972
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, edi
je 0x424972
cmp word [esi + 0xa], 4
jne 0x424972
mov eax, dword [esi + 0xc]
cmp dword [eax], edi
je 0x424972
push ebx
mov ebx, dword [ebp + 8]
movsx ecx, word [esi + 0xa]
push ecx
push dword [edi + eax]
lea eax, [ebp - 8]
push eax
call fcn.0047bb20
mov eax, dword [ebx + 4]
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp + 8]
mov ecx, ebx
push eax
call fcn.004249d1
cmp dword [ebp - 4], 0
jne 0x424965
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xc]
add edi, 4
cmp dword [edi + eax], 0
jne 0x424932
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x42511a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4e9110
call fcn.0047b598
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
call fcn.004e317c
mov esi, dword [eax + 0xc]
push 0x527b60
movzx eax, word [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x425162
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x425166
xor eax, eax
jmp 0x425192
push 0
push ebx
push eax
lea ecx, [ebp - 0x38]
call fcn.004e168a
mov ecx, dword [ebp - 0x10]
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
call fcn.0042520b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.004e16c6
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42a097
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4e9994
call fcn.0047b598
sub esp, 0x34
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0
push 0
mov dword [ebp - 0x20], edi
call esi
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x42a260
inc eax
push eax
call fcn.004dcbe4
pop ecx
mov ebx, eax
push ebx
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x42a0e9
push ebx
call fcn.004dcc0d
pop ecx
jmp 0x42a260
lea ecx, [ebp - 0x40]
call fcn.004d7e23
xor esi, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jae 0x42a143
cmp dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
je 0x42a136
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x42a136
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
push dword [ebp - 0x38]
call fcn.004d7fff
jmp 0x42a136
add dword [ebp - 0x14], 4
add dword [ebp - 0x18], 4
mov dword [ebp - 4], esi
jmp 0x42a0fc
push dword [ebp - 0x24]
call fcn.004dcc0d
mov eax, dword [0x536c18]
pop ecx
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call fcn.004dd5d5
push esi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.004dd5d5
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
call fcn.0041bd7c
push 0x805c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0041bdbe
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0x28]
neg esi
sbb esi, esi
mov ebx, dword [sym.imp.USER32.dll_AppendMenuA]
and esi, eax
push dword [esi]
push 0x2c6ca
push 1
push dword [edi + 0x60]
call ebx
push 0x8059
lea ecx, [ebp - 0x2c]
call fcn.0041bdbe
mov eax, dword [esi]
mov ecx, dword [edi + 0x60]
push eax
mov eax, dword [ebp - 0x1c]
push ecx
push 0x410
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_InsertMenuA]
cmp dword [ebp - 0x38], 0
jne 0x42a1f4
push 0x805d
lea ecx, [ebp - 0x2c]
call fcn.0041bdbe
push dword [esi]
push 0x2c6ca
push 1
push dword [edi + 0x58]
call ebx
xor eax, eax
cmp dword [ebp - 0x38], eax
mov dword [ebp - 0x14], eax
jle 0x42a221
jmp 0x42a203
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
push dword [ecx + eax*4]
add eax, 0x9100
push eax
push 0
push dword [edi + 0x58]
call ebx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x38]
jl 0x42a200
push 0x805a
lea ecx, [ebp - 0x2c]
call fcn.0041bdbe
mov esi, dword [esi]
mov edi, dword [edi + 0x58]
mov eax, dword [ebp - 0x1c]
push esi
push edi
push 0x410
push 6
push dword [eax + 4]
call dword [sym.imp.USER32.dll_InsertMenuA]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0041bdaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004d7e56
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x42b1c9
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push 0
call fcn.00406435
test eax, eax
je 0x42b1e7
push 1
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 1
pop eax
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0xfffffffffffffff7
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
pop esi
ret

Function at 0x42b469
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
jne 0x42b4bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
xor al, al
jmp 0x42b4e1
cmp dword [ebp + 0x18], 0
push esi
jbe 0x42b4de
mov esi, dword [ebp - 4]
test esi, esi
je 0x42b4de
push dword [ebp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
leave
ret 0x14
Function at 0x42c4a5
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
cmp edi, ebx
mov dword [esi + 0x1c], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
jne 0x42c541
lea eax, [ebp - 4]
push eax
push str.PPStream.TSR
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42c53c
lea eax, [ebp - 8]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push ebx
mov dword [ebp - 8], 0x104
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42c52f
cmp dword [ebp + 8], 2
je 0x42c51f
cmp dword [ebp + 8], 1
jne 0x42c52f
mov eax, dword [ebp - 8]
lea edi, [ebp - 0x10c]
mov byte [ebp + eax - 0x10c], bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x42c541
mov edi, str.tsr.dll
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0x1c], eax
je 0x42c55f
push str.Initialize
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x42c571
push str.Uninitialize
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x42c5b7
push str.setstringvalue
push eax
call edi
push str.setintvalue
mov dword [esi + 8], eax
push dword [esi + 0x1c]
call edi
push str.getstringvalue
mov dword [esi + 0xc], eax
push dword [esi + 0x1c]
call edi
push str.getintvalue
mov dword [esi + 0x10], eax
push dword [esi + 0x1c]
call edi
push str.getthreadinfo
mov dword [esi + 0x14], eax
push dword [esi + 0x1c]
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x42c5bf
call eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42c900
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4e9d8c
call fcn.0047b598
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
xor esi, esi
push eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp eax, esi
jl 0x42c975
lea eax, [ebp - 0x1c]
push eax
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, esi
je 0x42c949
mov dword [ebp - 0x18], esi
jmp 0x42c958
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
je 0x42c984
push str.ppStream
push dword [ebp + 8]
call fcn.0047b690
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x42c99c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x42c9f5
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x42caa0
Capabilities:
Create process on windows
Get file attributes

Disassembly:
mov eax, 0x4e9da8
call fcn.0047b598
sub esp, 0x58
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x42cbd2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x42cbd2
mov eax, dword [0x52ba98]
push esi
mov dword [ebp + 8], eax
mov eax, 0x104
push str.zbrowser.ini
push eax
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.004dca9e
push eax
push 0x534198
push 0x528050
push str.config
call fcn.00405a57
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.004dcaed
mov eax, dword [ebp + 8]
cmp dword [eax - 8], ebx
jne 0x42cb19
xor esi, esi
jmp 0x42cba4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x42cb12
cmp eax, 0xffffffff
je 0x42cb12
push 0x44
lea eax, [ebp - 0x64]
pop esi
push esi
push ebx
push eax
call fcn.0047b7a0
push 0x10
lea eax, [ebp - 0x20]
push ebx
push eax
mov dword [ebp - 0x64], esi
call fcn.0047b7a0
mov eax, dword [0x52ba98]
add esp, 0x18
mov dword [ebp - 0x10], eax
push edi
lea eax, [ebp - 0x10]
push dword [ebp + 8]
mov byte [ebp - 4], 1
push str._s___s_
push eax
call fcn.004d64b3
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x42cbb5
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
push 1
pop esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004dc66e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004dc66e
mov eax, esi
pop esi
jmp 0x42cbd4
push dword [ebp + 0xc]
push ebx
push edi
push dword [ebp + 8]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x42cb96
xor esi, esi
jmp 0x42cb99
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42cbe2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
lea eax, [ebp - 0x25c]
push edi
push eax
mov edi, bind
push str..htm
push edi
call fcn.0042c99c
add esp, 0xc
xor ebx, ebx
test eax, eax
jne 0x42ccf2
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x25c]
push str._shellopencommand
push eax
call esi
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x25c]
push eax
push edi
call fcn.0042c99c
add esp, 0xc
test eax, eax
jne 0x42ccf2
lea eax, [ebp - 0x25c]
push 0x528064
push eax
call fcn.0047ccc7
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x42cc8d
lea eax, [ebp - 0x25c]
push 0x526f70
push eax
call fcn.0047dbf0
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x42cc8d
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [ebp + eax - 0x25d]
jmp 0x42cc8f
mov byte [edi], bl
push 0x525894
push edi
call esi
push dword [ebp + 8]
push edi
call esi
push 0x44
lea eax, [ebp - 0x54]
pop esi
push esi
push ebx
push eax
call fcn.0047b7a0
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
mov dword [ebp - 0x54], esi
call fcn.0047b7a0
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x25c]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x42ccf2
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
push 1
pop eax
jmp 0x42cd0f
push dword [ebp + 0xc]
push ebx
push ebx
push dword [ebp + 8]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e588
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push 0x94
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.0047b7a0
add esp, 0xc
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x42e5c6
xor eax, eax
leave
ret
cmp dword [ebp - 0x84], 1
je 0x42e5c2
cmp dword [ebp - 0x90], 6
sbb eax, eax
inc eax
leave
ret

Function at 0x42e8c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
lea eax, [ebp - 0x10c]
push dword [ebp + 8]
mov esi, ecx
push str.CLSID_sInprocServer32
push eax
call fcn.0047c0a0
add esp, 0xc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10c]
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x42e91e
push eax
mov ecx, esi
call fcn.0042e95c
push eax
lea ecx, [ebp + 0xc]
call fcn.004dc6dc
lea ecx, [ebp + 0xc]
call fcn.004dc66e
xor eax, eax
jmp 0x42e957
push 1
lea eax, [ebp - 8]
pop esi
mov dword [ebp - 8], 0x104
push eax
lea eax, [ebp - 4]
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push eax
push 0
push 0x534198
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x42e94c
xor esi, esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 8