joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x40ade7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov ecx, 0x40c314
xor eax, eax
push edi
mov dword [esp + 8], esi
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CString::CString
lea edi, [esi + 0x34]
mov byte [esp + 0x14], 3
mov ecx, edi
call sub.MFC42.DLL_CString::CString
push 0x40f070
mov ecx, edi
mov byte [esp + 0x18], 4
mov dword [esi], 0x40c310
call fcn.00409ee4
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4010e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x40ae37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x40c310
lea ebx, [esi + 4]
mov dword [esp + 0x18], 4
push ebx
call fcn.00401600
lea edi, [esi + 0x18]
mov ecx, esi
push edi
call fcn.00401600
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 3
call fcn.00409ede
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call fcn.00409ede
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 1
call fcn.00409ede
mov eax, dword [edi + 4]
mov dword [edi], 0x40c314
test eax, eax
je 0x40115e
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [edi], 0x40c328
mov eax, dword [ebx + 4]
test eax, eax
mov dword [ebx], 0x40c314
je 0x40117a
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ebx], 0x40c328
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x401960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40af5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
push ebp
push esi
lea eax, [ebx + 0x18]
mov dword [esp + 0xc], ebx
push eax
call fcn.00401600
mov ecx, dword [ebx + 0x30]
lea ebp, [ebx + 0x30]
xor esi, esi
cmp dword [ecx - 8], esi
jne 0x4019ad
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
push edi
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x30], 1
jmp 0x4019d2
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x34]
push esi
push eax
mov ecx, ebp
call sub.MFC42.DLL_CString::Find
mov edi, eax
test edi, edi
jle 0x401ae9
mov edx, edi
lea eax, [esp + 0x14]
sub edx, esi
mov ecx, ebp
push edx
push esi
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 2
call fcn.00409efc
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00409ede
mov eax, dword [ebx + 0x34]
lea esi, [edi + 1]
push esi
push eax
mov ecx, ebp
call sub.MFC42.DLL_CString::Find
mov edi, eax
test edi, edi
jge 0x401a32
mov ecx, dword [ebp]
mov edi, dword [ecx - 8]
mov edx, edi
lea eax, [esp + 0x18]
sub edx, esi
mov ecx, ebp
push edx
push esi
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 3
call fcn.00409efc
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00409ede
push 8
lea esi, [edi + 1]
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
test ebx, ebx
mov byte [esp + 0x30], 4
je 0x401a93
mov ecx, ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [ebx + 4]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::CString
jmp 0x401a95
xor ebx, ebx
test ebx, ebx
mov byte [esp + 0x30], 1
je 0x401ad9
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.00409efc
lea edx, [esp + 0x24]
lea ecx, [ebx + 4]
push edx
call fcn.00409efc
mov ecx, dword [esp + 0x38]
push 0xffffffffffffffff
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
inc eax
push eax
call fcn.00401e70
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov dword [ecx + edx*4], ebx
test edi, edi
jle 0x401ae9
mov eax, dword [ebp]
cmp esi, dword [eax - 8]
jl 0x4019ce
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], 6
call fcn.00409ede
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.00409ede
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x403a30
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push 0
push eax
push 0
push 0x20019
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x403a98
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esp + 4]
push esi
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
ret
xor eax, eax
ret
Function at 0x404a90
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x40b4b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
lea eax, [esp + 8]
mov dword [esp + 0x1c], 0
push eax
call fcn.00408f50
add esp, 4
push str._netmsg.txt
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 8]
push 0
push 0
push 4
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
mov esi, eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [esp + 0xc], 0
lea edx, [esp + 0xc]
mov ecx, dword [eax - 8]
push 0
push edx
push ecx
push eax
push esi
call edi
push 0x40f670
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
call fcn.00409ede
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.00409ede
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00409ede
mov ecx, dword [esp + 0x14]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x409fec
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40cbf8
push 0x40a3c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x410d0c], 0xffffffff
or dword [0x410d10], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x410ce4]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x410ce0]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x410d08], eax
call fcn.0040a3b3
cmp dword [0x410360], 0
jne 0x40a06f
push 0x40a3b0
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0040a398
push 0x40f05c
push 0x40f058
call sub.MSVCRT.dll__initterm
mov eax, dword [0x410cdc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x410cd8]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x40f054
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00402e50
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x101c3a50
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x101c3c2e
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd9000]
push edi
or ebp, 0xffffffff
jmp 0x101c3a7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x101c3a81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101c3a70
mov eax, 1
add ebx, ebx
jne 0x101c3a93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x101c3aa4
jne 0x101c3ac3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101c3ac3
dec eax
add ebx, ebx
jne 0x101c3ab0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x101c3a88
add ebx, ebx
jne 0x101c3abf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x101c3b15
xor ecx, ecx
sub eax, 3
jb 0x101c3adb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101c3b4a
sar eax, 1
mov ebp, eax
jmp 0x101c3ae6
add ebx, ebx
jne 0x101c3ae6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101c3ab4
inc ecx
add ebx, ebx
jne 0x101c3af4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101c3ab4
add ebx, ebx
jne 0x101c3b01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101c3af6
jne 0x101c3b12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101c3af6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101c3b34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x101c3b26
jmp 0x101c3a76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101c3b34
add edi, ecx
jmp 0x101c3a76
pop esi
mov edi, esi
mov ecx, 0xda56d
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x101c3b6f
cmp byte [edi], 0x22
jne 0x101c3b54
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x101c3b52
lea edi, [esi + 0x1bb000]
mov eax, dword [edi]
or eax, eax
je 0x101c3bc0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1cd33c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1cd468]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x101c3b75
mov ecx, edi
jns 0x101c3ba4
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1cd46c]
or eax, eax
je 0x101c3bba
mov dword [ebx], eax
add ebx, 4
jmp 0x101c3b92
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x101c3bf1
cmp al, 0xef
ja 0x101c3be4
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x101c3bc6
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x101c3bd3
mov ebp, dword [esi + 0x1cd470]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x101c3c25
sub esp, 0xffffff80
jmp 0x100a45b5
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x690e5161
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x4fd4d4a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x4655f0]
xor eax, esp
mov dword [esp + 0x9c], eax
push 0x9c
lea eax, [esp + 4]
push 0
push eax
call fcn.0043b390
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 4], 5
mov ecx, dword [esp + 0x9c]
setg al
xor ecx, esp
call fcn.00437030
add esp, 0xa0
ret

Function at 0x4012e0
Capabilities:
Get local ipv4 addresses

Disassembly:
push 0xffffffffffffffff
push 0x44eb22
mov eax, dword fs:[0]
push eax
mov eax, 0x2890
call fcn.0043bfe0
mov eax, dword [0x4655f0]
xor eax, esp
mov dword [esp + 0x288c], eax
mov eax, dword [0x4655f0]
xor eax, esp
push eax
lea eax, [esp + 0x2894]
mov dword fs:[0], eax
lea eax, [esp + 8]
mov dword [esp + 0x289c], 0
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 8], 0
push ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x2880
call sub.iphlpapi.dll_GetAdaptersInfo
call fcn.00418933
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401363
push 0x80004005
call fcn.00401640
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x289c], 0
movzx ecx, byte [esp + 0x1a9]
movzx edx, byte [esp + 0x1a8]
movzx eax, byte [esp + 0x1a7]
push ecx
movzx ecx, byte [esp + 0x1aa]
push edx
movzx edx, byte [esp + 0x1ad]
push eax
movzx eax, byte [esp + 0x1b0]
push ecx
push edx
push eax
push str._02x__02x__02x__02x__02x__02x
push esi
mov dword [esp + 0x24], 1
call fcn.00401d60
add esp, 0x20
mov eax, esi
mov ecx, dword [esp + 0x2894]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x288c]
xor ecx, esp
call fcn.00437030
add esp, 0x289c
ret

Function at 0x401a10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401a29
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401a64
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401a60
lea ebx, [ebx]
cmp esi, eax
jae 0x401a64
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401a50
cmp esi, eax
jb 0x401a6a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x405bd0
Capabilities:
Get common file path
Get program files directory
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x44f496
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4655f0]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push edi
mov eax, dword [0x4655f0]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
push 0x103
lea eax, [esp + 0x21]
push 0
push eax
mov byte [esp + 0x28], 0
call fcn.0043b390
add esp, 0xc
push 0
push 0x26
lea ecx, [esp + 0x24]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edx, [esp + 0x1c]
push 0x456f6e
push edx
call fcn.004369f3
add esp, 8
test eax, eax
jne 0x405c60
push str.C:Program_Files
lea eax, [esp + 0x20]
push 0x104
push eax
call fcn.00437c78
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004017a0
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x130], 0
call fcn.00406d30
call fcn.00418933
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405c9d
push 0x80004005
call fcn.00401640
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
cmp byte [esp + 0x134], 0
push 0x4575bc
mov byte [esp + 0x130], 1
push str.Fileham.comFileHamBrowser
je 0x405cda
mov ecx, dword [esp + 0x18]
push ecx
push str._s_s_s_menu
lea edx, [esp + 0x1c]
push edx
jmp 0x405ce9
mov eax, dword [esp + 0x18]
push eax
push str._s_s_s_boot
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401d60
add esp, 0x14
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
mov esi, dword [esp + 0xc]
jne 0x405d5d
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x405d39
mov ecx, edi
push ecx
lea ecx, [esp + 0x10]
call fcn.004016e0
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
add edi, 1
push edi
push esi
push 1
push 0
push str.FileHamBrowser
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov byte [esp + 0x12c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x12c], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405dac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00437030
add esp, 0x124
ret 4
Function at 0x40d5c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x44f12b
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4655f0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
call fcn.00418933
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d602
push 0x80004005
call fcn.00401640
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esp + 0x1c], 0
call fcn.00418933
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d633
push 0x80004005
call fcn.00401640
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x1c], 1
call fcn.00418933
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d661
push 0x80004005
call fcn.00401640
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x1c], 2
lea ebp, [esi + 0x18]
call fcn.00418933
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d692
push 0x80004005
call fcn.00401640
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x1c], 3
lea ebx, [esi + 0x1c]
call fcn.00418933
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d6c3
push 0x80004005
call fcn.00401640
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x1c], 4
lea edi, [esi + 0x20]
call fcn.00418933
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d6f3
push 0x80004005
call fcn.00401640
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x1c], 5
call fcn.00418933
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d720
push 0x80004005
call fcn.00401640
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
push fcn.00401600
push fcn.00401d80
push 0x64
push 4
lea ecx, [esi + 0x2c]
push ecx
mov byte [esp + 0x30], 6
call fcn.004386fa
push fcn.00401600
push fcn.00401d80
push 0x64
push 4
lea edx, [esi + 0x1bc]
push edx
mov byte [esp + 0x30], 7
call fcn.004386fa
xor eax, eax
mov byte [esp + 0x1c], 8
push eax
push 0x456f6e
mov ecx, ebp
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.00401b60
push 0
push 0x456f6e
mov ecx, ebx
call fcn.00401b60
push 0
push 0x456f6e
lea ecx, [esi + 0xc]
call fcn.00401b60
push 0
push 0x456f6e
lea ecx, [esi + 0x10]
call fcn.00401b60
push 0
push 0x456f6e
lea ecx, [esi + 0x14]
call fcn.00401b60
push 7
push str.Mozilla
mov ecx, edi
call fcn.00401b60
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x40f810
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44f01c
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4655f0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea edi, [esi + 0x14]
xor ebx, ebx
mov eax, 0xf
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
lea ebp, [esi + 0x30]
mov dword [esp + 0x1c], ebx
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
mov byte [esp + 0x1c], 1
call fcn.00413ae0
mov dword [esi + 0x50], eax
mov byte [eax + 0x45], 1
mov eax, dword [esi + 0x50]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x50]
mov dword [eax], eax
mov eax, dword [esi + 0x50]
mov dword [eax + 8], eax
mov dword [esi + 0x54], ebx
mov byte [esp + 0x1c], 2
call fcn.00413e90
mov dword [esi + 0x5c], eax
mov byte [eax + 0xb5], 1
mov eax, dword [esi + 0x5c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x5c]
mov dword [eax], eax
mov eax, dword [esi + 0x5c]
mov dword [eax + 8], eax
mov dword [esi + 0x60], ebx
mov byte [esp + 0x1c], 3
mov eax, 1
push 0x2e
mov ebx, 0xa
push str.http:__www.fileham.com_main_ser_keyword_mc.php
mov ecx, edi
mov byte [esi], 1
mov word [esi + 2], bx
mov word [esi + 4], 0x1f4
mov word [esi + 6], ax
mov word [esi + 8], 0x1e
mov word [esi + 0xa], ax
mov word [esi + 0xc], 0x3c
call fcn.004071b0
push 0x2e
push str.http:__www.fileham.com_main_ser_p_contents.php
mov ecx, ebp
call fcn.004071b0
mov word [esi + 0xe], bx
mov word [esi + 0x10], 0xf
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4