joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49f4f0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2b7d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4fafc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push eax
push 0x212
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.004b3d20
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push 0
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp dword [ebp - 0x14], 7
lea edx, [ebp - 0x28]
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x28]
mov eax, edx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49f590
sub eax, esi
mov ecx, edi
sar eax, 1
push eax
push edx
call fcn.0045f390
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x49f5e4
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49f5da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x49f5da
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bea18
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004beeb3
mov esp, ebp
pop ebp
ret

Function at 0x49f610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2bcf
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fafc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x212
mov ecx, edi
mov dword [ebp - 0x10], 2
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push 0x212
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
push 0
push 0
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0xffffffffffffffff
mov ecx, edi
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a6ad0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d463c
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4fafc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x518498]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x517734]
cmp eax, dword [ecx + 4]
jg 0x4a6c8c
cmp dword [ebp + 8], 0
mov ecx, 0x517724
push 0x2a5e
push str.Ver98
push 0x4dc724
je 0x4a6c42
call fcn.00480790
cmp eax, 0x2a5e
jne 0x4a6bce
push 0x9830
push str.Ver98
push 0x4dc724
mov ecx, 0x517724
call fcn.004a6f10
push 0
push str.DeveloperOnly
push 0x4dc724
mov ecx, 0x517724
call fcn.00480790
test eax, eax
jne 0x4a6bce
push 0xe59e
push str.DeveloperOnly
push 0x4dc724
mov ecx, 0x517724
call fcn.004a6f10
push str.DeveloperName
push str.DeveloperUser
push 0x4dc724
lea eax, [ebp - 0x10]
mov ecx, 0x517724
push eax
call fcn.00488800
push str.DeveloperName
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
test eax, eax
je 0x4a6be1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp + 8]
mov dword [ebp - 0x14], 0x400
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x14]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push dword [ebp + 8]
mov ecx, 0x517724
push str.DeveloperUser
push 0x4dc724
call fcn.004aac30
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4a6c76
call fcn.004a6f10
push 0
push str.DeveloperOnly
push 0x4dc724
mov ecx, 0x517724
call fcn.004a6f10
push str.DeveloperName
push str.DeveloperUser
push 0x4dc724
mov ecx, 0x517724
call fcn.004aac30
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
push 0x517734
call fcn.004bee2b
add esp, 4
cmp dword [0x517734], 0xffffffff
jne 0x4a6b15
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call fcn.00487e70
add esp, 4
push dword [eax]
mov ecx, 0x517724
mov byte [ebp - 4], 1
call fcn.00462510
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x4d8310
call fcn.004bed9a
push 0x517734
mov dword [ebp - 4], 0xffffffff
call fcn.004bedda
add esp, 8
jmp 0x4a6b15
Function at 0x4abad0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x18], 7
lea edx, [ecx + 4]
jbe 0x4abade
mov edx, dword [edx]
mov eax, dword [ecx + 0x1c]
or eax, dword [ebp + 8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop ebp
ret 4
Function at 0x4bfd72
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4bfdb1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4bfdb1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4bfdb1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4bfdb1
cmp dword [ecx + 0x74], 0xe
jbe 0x4bfdb1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10003d85
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1006da20]
jne 0x10003d8f
repz ret
jmp fcn.10004bc4

Function at 0x1000812f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10003e8c
and dword [ebp - 4], 0
cmp dword [0x1006fd38], 0
mov ebx, eax
jne 0x100081e0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10008291
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10008291
push eax
call fcn.10003e1a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1006fd38], eax
call esi
push eax
call fcn.10003e1a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1006fd3c], eax
call esi
push eax
call fcn.10003e1a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1006fd40], eax
call esi
push eax
call fcn.10003e1a
pop ecx
mov dword [0x1006fd48], eax
test eax, eax
je 0x100081e0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10003e1a
pop ecx
mov dword [0x1006fd44], eax
mov eax, dword [0x1006fd44]
cmp eax, ebx
je 0x10008238
cmp dword [0x1006fd48], ebx
je 0x10008238
push eax
call fcn.10003e95
push dword [0x1006fd48]
mov esi, eax
call fcn.10003e95
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10008238
test edi, edi
je 0x10008238
call esi
test eax, eax
je 0x1000822f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000822f
test byte [ebp - 0xc], 1
jne 0x10008238
or dword [ebp + 0x10], 0x200000
jmp 0x10008271
mov eax, dword [0x1006fd3c]
cmp eax, ebx
je 0x10008271
push eax
call fcn.10003e95
pop ecx
test eax, eax
je 0x10008271
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10008271
mov eax, dword [0x1006fd40]
cmp eax, ebx
je 0x10008271
push eax
call fcn.10003e95
pop ecx
test eax, eax
je 0x10008271
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1006fd38]
call fcn.10003e95
pop ecx
test eax, eax
je 0x10008291
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10008293
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10009550
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1006d5cc], 0
mov byte [0x1006d5d0], 0
mov dword [0x1006d5c0], 0x160e
mov dword [0x1006d5c8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100095a3
mov dword [0x1006d5c8], 0
jmp 0x100095cb
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1006d5c8]
add eax, 1
mov dword [0x1006d5c8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100095a3
jmp 0x10009597
mov eax, 0x100
mov dword [0x1006d5d4], 0
mov ecx, dword [0x1006d5cc]
mov edx, dword [0x1006d5c8]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x20], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x1006d5d4], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x20]
idiv edi
mov dword [0x1006d5cc], edx
mov ecx, dword [0x1006d5c8]
mov cl, byte [esi + ecx]
mov byte [0x1006d5d0], cl
mov dword [0x1006d5c0], 0x1516
mov cl, byte [esi + edx]
mov edx, dword [0x1006d5c8]
mov byte [esi + edx], cl
mov cl, byte [0x1006d5d0]
mov edx, dword [0x1006d5cc]
mov byte [esi + edx], cl
mov dword [0x1006d5c4], 0x19c
mov edx, dword [0x1006d5c8]
add edx, 1
mov dword [0x1006d5c8], edx
cmp edx, 0x100
jl 0x100095cb
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10009690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
jmp 0x10009736
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
lea edx, section..data
imul esi, eax, 0xe4
mov edi, edx
add edi, esi
add edi, 0xdc
imul esi, eax, 0xe4
mov ebx, edx
add ebx, esi
add ebx, 0x88
imul esi, eax, 0xe4
add edx, esi
add edx, 0xe0
mov esi, dword [ebp - 0x44]
add esi, ecx
add eax, 1
mov edx, dword [edx]
mov ebx, dword [ebx]
movzx edi, word [edi]
xor edi, edx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edi
call fcn.1000a330
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
add eax, ecx
mov edx, dword [ebp - 0x48]
cmp edx, 0x6c3
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], eax
je 0x100097f1
jmp 0x100096ae
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0xe4
mov edi, edx
add edi, esi
add edi, 0xe0
mov esi, eax
add esi, 1
imul eax, eax, 0xe4
add edx, eax
add edx, 0xdc
mov eax, dword [edi]
movzx edx, word [edx]
xor edx, eax
add edx, ecx
cmp esi, 0x6c3
mov eax, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x38], esi
jne 0x10009736
lea eax, [0x1000b475]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], ecx
call fcn.1000a530
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.10009300
mov ecx, eax
mov dword [0x1006d5e0], eax
mov eax, esp
mov edx, dword [ebp - 0x54]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
jmp 0x100096ae
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x54]
mov dword [esp + 8], ecx
call fcn.10009ca0
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x156f1b
mov edx, dword [ebp - 0x44]
add edx, 0x14a50d
mov esi, dword [ebp - 0x30]
mov dword [esi], ecx
mov dword [esi + 4], 0x118000
mov dword [esi + 8], edx
mov dword [esi + 0xc], 0x1ff0
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10009c50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.10009c50]
mov dword [ebp - 4], eax
jmp 0x10009c88
mov eax, dword [ebp - 8]
add esp, 8
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x10009c61
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
je 0x10009c69
jmp 0x10009c78
Function at 0x10009e00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp eax, 0
sete bl
mov dword [0x1006d5c8], 0
mov dword [0x1006d5cc], 0
mov dword [0x1006d5d8], 0
mov dword [0x1006d5c0], 0x1331
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x1d], bl
xor eax, eax
mov cl, byte [ebp - 0x1d]
test cl, 1
mov dword [ebp - 0x24], eax
jne 0x10009f5c
jmp 0x10009e67
mov eax, dword [ebp - 0x24]
mov ecx, 0x100
mov dword [0x1006d5c0], 0xb9f
mov edx, dword [0x1006d5c8]
add edx, 1
mov dword [ebp - 0x28], eax
mov eax, edx
cdq
idiv ecx
mov dword [0x1006d5c8], edx
mov esi, dword [0x1006d5cc]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x1006d5cc], edx
mov dword [0x1006d5c4], 0x2630
mov ecx, dword [0x1006d5c8]
mov bl, byte [edi + ecx]
mov byte [0x1006d5d0], bl
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov bl, byte [0x1006d5d0]
mov ecx, dword [0x1006d5cc]
mov byte [edi + ecx], bl
mov dword [0x1006d5c4], 0x12a3
mov ecx, dword [0x1006d5c8]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x1006d5cc]
movzx edx, byte [edi + edx]
add edx, ecx
and edx, 0xff
mov dword [0x1006d5d8], edx
mov dword [0x1006d5c0], 0x1447
mov bl, byte [edi + edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
movzx esi, byte [ecx + edx]
mov dword [esp], esi
movzx esi, bl
mov dword [esp + 4], esi
call fcn.10001000
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov byte [ecx + edx], al
mov esi, dword [0x1006d5c0]
add esi, 0xfffff28d
mov dword [0x1006d5c0], esi
add edx, 1
mov esi, dword [ebp - 0x10]
cmp edx, esi
mov dword [ebp - 0x24], edx
jne 0x10009e67
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000a3b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [0x1006d5c4]
mov esi, dword [ebp - 8]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
add edx, 0x1e10
mov dword [0x1006d5c0], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
jmp 0x1000a45c
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x1000a478
jmp 0x1000a526
mov eax, dword [0x1006d5c4]
mov ecx, eax
add ecx, 0xfffffa91
mov dword [0x1006d5c0], ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov si, word [ecx + edx*2 - 0x16]
mov dword [ebp - 0x24], eax
mov word [ebp - 0x26], si
xor eax, eax
mov cx, word [ebp - 0x26]
cmp cx, 0x61
mov dword [ebp - 0x20], eax
je 0x1000a49f
jmp 0x1000a526
mov eax, dword [ebp - 0x2c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
jge 0x1000a3ef
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], edx
je 0x1000a3ef
jmp 0x1000a445
xor eax, eax
mov dword [0x1006d5c0], 0x224c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x20], eax
je 0x1000a40b
jmp 0x1000a526
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x20], eax
jne 0x1000a526
xor eax, eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffba8
mov dword [0x1006d5c0], ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x20], eax
jne 0x1000a526
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x20], eax
jne 0x1000a526
xor eax, eax
mov dword [0x1006d5c0], 0x23e
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
jne 0x1000a526
mov eax, dword [0x1006d5c4]
add eax, 0xffffde44
mov dword [ebp - 0x30], eax
mov eax, 1
mov ecx, dword [ebp - 0x30]
mov dword [0x1006d5c0], ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add esp, 0x2c
pop esi
pop ebp
ret
Function at 0x409908
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424070]
jne 0x409912
repz ret
jmp fcn.0041156c

Function at 0x40c850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40c85f
pop dword [ebp - 0x18]
mov eax, 0x3b9b409c
add eax, 0xc4a587c3
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x67dc02d7
sub dword [ebp - 0x28], 0x1989bd8c
mov dword [ebp - 0x24], 0xfa6ad0ce
add dword [ebp - 0x24], 0x37c87b77
mov dword [ebp - 0x20], 0x15b89957
add dword [ebp - 0x20], 0x3693aad7
mov dword [ebp - 0x1c], 0xa481d1ef
add dword [ebp - 0x1c], 0x5b7e2e11
lea eax, [ebp - 0x28]
push eax
mov eax, 0x457f04bb
sub eax, 0x453d446b
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x4f0c9c8f
add dword [ebp - 0x28], 0x2565ccc7
mov dword [ebp - 0x24], 0xa7685777
add dword [ebp - 0x24], 0x9a0409fe
mov dword [ebp - 0x20], 0xc72ec1f3
add dword [ebp - 0x20], 0x9c40aa79
mov dword [ebp - 0x1c], 0xae3b6edf
sub dword [ebp - 0x1c], 0xae3b6edf
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x65b429f
add eax, 0xf9e67dad
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x380e2
push 0
call eax
mov ecx, 0x3a0a
mov edx, eax
mov ebx, 0xe483f759
sub ebx, 0xe440cd59
add ebx, dword [ebp - 0x18]
mov esi, 0x2936d403
add dword [ebp - 8], 0x75718a45
mov edi, dword [ebx]
xor dword [ebp - 4], ecx
xor edi, esi
mov dword [edx], edi
xor dword [ebp - 8], 0x95574200
add edx, 0x143dc0af
add edx, 0xebc23f55
add ebx, 0x4d0f01cb
sub ebx, 0x4d0f01c7
loop 0x40c975
add eax, 0xa4dca649
sub eax, 0xa4dbcb4e
mov ebx, eax
add eax, 0xd6be134a
sub eax, 0xd6be1345
mov ecx, 0xe7bdf2a5
sub ecx, 0xe77df2a5
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x406fa0
Capabilities:
Resolve dns

Disassembly:
mov edx, 0x2e27c01
invalid
pop ss
mov ebp, esp
add ecx, edi
sbb bl, ah
push ebp
or byte [ebx + 0x758b56c1], cl
or al, 0x83
jl 0x406ee1
push edi
mov dword [edx], 0x2f
je 0x406f76
test esi, esi
into
sbb al, 0x80
jmp 0x406f62
ror byte [edi + 1], cl
add byte [esi + 0x5d], bl
ficomp word [eax]
ficomp dword [edi - 0x48]
add eax, 0x5e000000
lodsb al, byte [esi]
inc esp
sbb byte [eax], al
lodsb al, byte [esi]
bound edx, qword [eax]
test dword [edx + 0x75], ecx
add eax, 0x2b8
add byte [ebx + 0x51774d7d], cl
mov ebp, dword [eax]
adc al, 0x51
push eax
push esi
push edx
call 0x4163a0
add esp, 0x18
mov eax, 0x18c25de3
add byte [esi], dh
nop
adc dword [ebp - 0x75], 0xffffffec
sbb dword [esi - 0x7441acdc], 0x75
loop 0x406fdf
fstp xword [ebx]
mov ch, 0x57
mov dword [ebx], ecx
hlt
xor ecx, dword [ebx]
cmp al, 0xc4
or dl, dh
scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, dword [edi]
jne 0x40707d
push esi
call dword [0x7d33c1c8]
mov dword [eax + edi*8 - 0x73], esp
inc ebp
clc
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x46]
jne 0x40704b
in al, dx
mov dword [ebp - 0x10], ebx
jmp 0x407083
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov al, byte [0xa8843419]
add byte [eax], al
add byte [ecx + 0x558bfc5d], cl
sbb al, 0x6a
cmp byte [edx - 0x18], dl
xor al, 0xda
invalid
dec ecx
adc al, 0x52
push 2
fisttp dword [eax]
push esi
in al, dx
dec esi
sub al, 0xe8
jne 0x406ff1
jmp [edi - 0x7d]
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
cmp esp, ebp
mov dword [ebp + 0xc], eax
jne 0x407010
add byte [ebx], bh
in eax, 0x89
inc ebp
or al, 0x75
test edx, esi
xor eax, sym.imp.WSOCK32.dll_WSAGetLastError
xor eax, sym.imp.WSOCK32.dll_WSAGetLastError
call esi
test eax, eax
je 0x40710f
inc dword [edx]
pop edi
pop esi
push ds
cmp ah, 0xa
add byte [edx - 0x3ca21a75], dl
mov edx, dword [ebx + 4]
add dword [esi + 4], edx
mov dword [ebx + 0x24], esi
mov eax, dword [ebp + 0x37]
and dword [edi], 4
mov ebx, esi
mov dword [ebp - 4], edi
mov ecx, dword [eax + 0x50]
cmp dword [edi + ecx], 0
daa
call 0x347070
pop edi
pop esi
xor ebp, dword [ebx + ebx*2]
mov ebx, dword [eax + 0x5d]
or dl, byte [eax - 0x7ef474ab]
in al, dx
push esp
add al, byte [eax]
add byte [ebx + 0x56d00c4d], cl
cmp esi, esi
push esp
sbb dword [ebx + 0x4589ee51], ecx
hlt
mov esp, dword [edi]
hlt