joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404998
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4049fe
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403998
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004027e8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4049e8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404a05
lea eax, [ebp - 0x10]
call fcn.00403734
ret

Function at 0x405a28
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x405b32
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x405a7b
push 0x105
lea eax, [ebp - 0x109]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x109]
mov eax, dword [ebp - 4]
call fcn.00403824
jmp 0x405b19
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
mov eax, ebx
call fcn.004059dc
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.004059fc
mov ebx, eax
test esi, esi
je 0x405aa3
dec esi
test esi, esi
jl 0x405aa3
cmp edi, ebx
jne 0x405a82
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x110]
mov edx, edi
call fcn.0040392c
mov eax, dword [ebp - 0x110]
mov ecx, ebx
sub ecx, edi
mov edx, 1
call fcn.00403c24
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004039c4
cmp eax, 2
jl 0x405b19
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax], 0x22
jne 0x405b19
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004039c4
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x22
jne 0x405b19
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004039c4
mov ecx, eax
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.00403c24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b39
lea eax, [ebp - 0x110]
call fcn.00403734
ret

Function at 0x405bfc
Capabilities:
Create thread

Disassembly:
push ebx
mov eax, dword [0x41b7fc]
mov byte [eax], 1
mov edx, dword [0x4050f0]
xor eax, eax
call fcn.004078c0
mov ebx, eax
mov byte [ebx + 0x18], 1
lea eax, [ebx + 0x1e]
push eax
push 4
push ebx
push 0x405bec
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebx + 0x1a], eax
mov eax, ebx
pop ebx
ret

Function at 0x405cc0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jbe 0x405cdb
mov byte [ebx + 0x18], 1
pop ebx
ret
cmp word [ebx + 0x2c], 0
je 0x405cea
mov edx, ebx
mov eax, dword [ebx + 0x2e]
call dword [ebx + 0x2a]
pop ebx
ret

Function at 0x405cec
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_TerminateThread
mov byte [ebx + 0x19], 1
pop ebx
ret
Function at 0x408270
Capabilities:
Get file attributes

Disassembly:
call fcn.00405370
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
je 0x408284
dec eax
and al, 0x10
sete al
ret

Function at 0x40934c
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x37], 0xef
test dl, dl
je 0x409358
or byte [eax + 0x37], 0x10
mov byte [eax + 0x52], dl
mov ecx, dword [eax + 0x28]
jecxz 0x409374
push eax
je 0x409375
call dword [0x41b120]
pop eax
push 5
push dword [eax + 0x28]
call sub.user32.dll_ShowWindow
ret
mov byte [eax + 0x174], dl
push 0
push ecx
call sub.user32.dll_ShowWindow
pop eax
call dword [0x41b120]
ret

Function at 0x40a6f8
Capabilities:
Capture screenshot

Disassembly:
push ebx
mov ebx, eax
call fcn.0040a58c
je 0x40a72a
mov eax, ebx
push edx
call fcn.004072a4
pop edx
cmp eax, edx
je 0x40a72a
test edx, edx
mov eax, ebx
jne 0x40a71c
pop ebx
inc edx
jmp fcn.00407294
mov byte [ebx + 0x49], dl
xor edx, edx
call fcn.00407294
xchg ebx, eax
cmp eax, 0
pop ebx
jne fcn.0040a748
ret
Function at 0x40c7d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c809
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403824
jmp 0x40c812
mov eax, ebx
mov edx, esi
call fcn.00403788
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c81c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c83d
mov al, byte [esp]
jmp 0x40c83f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40cec4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cd3c
mov eax, dword [0x41b968]
cmp byte [eax], 0
je 0x40cf40
mov eax, dword [0x41b838]
call fcn.00402748
call fcn.00402624
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040bcc4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40cf88
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cf76
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x41b804]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x41c660]
call fcn.004043dc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40d934
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d998
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403998
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040bb98
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d99f
lea eax, [ebp - 0xc]
call fcn.00403734
ret
Function at 0x40eafc
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40ece6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40eb30
mov eax, dword [ebp - 8]
call fcn.00403734
jmp 0x40ecd0
mov eax, dword [ebp - 4]
call fcn.004039c4
mov dword [ebp - 0xc], eax
test byte [ebp - 0xc], 3
je 0x40eb6f
push 0x40ecfc
push dword [ebp - 4]
push 0x40ed20
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00403a84
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x40b068]
call fcn.0040cf8c
call fcn.00403174
mov eax, dword [ebp - 0xc]
shr eax, 2
lea eax, [eax + eax*2]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
call fcn.00403824
mov ebx, 1
mov esi, 1
cmp ebx, dword [ebp - 0xc]
jg 0x40eca5
mov edx, 4
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + ebx - 1]
cmp ecx, 0x3d
jg 0x40ebc4
je 0x40ec0a
sub ecx, 0x2b
je 0x40ec00
sub ecx, 4
je 0x40ec05
dec ecx
sub ecx, 0xa
jb 0x40ebf2
jmp 0x40ec0f
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x40ebd6
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x40ebe4
jmp 0x40ec0f
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
sub cl, 0x41
mov byte [eax], cl
jmp 0x40ec3a
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
sub cl, 0x47
mov byte [eax], cl
jmp 0x40ec3a
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
add cl, 4
mov byte [eax], cl
jmp 0x40ec3a
mov byte [eax], 0x3e
jmp 0x40ec3a
mov byte [eax], 0x3f
jmp 0x40ec3a
mov byte [eax], 0
jmp 0x40ec3a
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx - 1]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea eax, [ebp - 0x20]
push eax
push 0
mov ecx, 0x40ed30
mov dl, 1
mov eax, dword [0x40b068]
call fcn.0040cfc8
call fcn.00403174
inc ebx
inc eax
dec edx
jne 0x40eba3
mov eax, dword [ebp - 8]
call fcn.00403c1c
xor edx, edx
mov dl, byte [ebp - 0x14]
shl edx, 2
xor ecx, ecx
mov cl, byte [ebp - 0x13]
shr ecx, 4
or edx, ecx
mov byte [eax + esi - 1], dl
mov eax, dword [ebp - 8]
call fcn.00403c1c
xor edx, edx
mov dl, byte [ebp - 0x13]
shl edx, 4
xor ecx, ecx
mov cl, byte [ebp - 0x12]
shr ecx, 2
or edx, ecx
mov byte [eax + esi], dl
mov eax, dword [ebp - 8]
call fcn.00403c1c
xor edx, edx
mov dl, byte [ebp - 0x12]
shl edx, 6
xor ecx, ecx
mov cl, byte [ebp - 0x11]
or edx, ecx
mov byte [eax + esi + 1], dl
add esi, 3
cmp ebx, dword [ebp - 0xc]
jle 0x40eb9b
mov edx, dword [ebp - 4]
mov eax, 0x40ed54
call fcn.00403cac
mov ebx, eax
test ebx, ebx
je 0x40ecd0
mov eax, dword [ebp - 0xc]
sub eax, ebx
inc eax
mov ebx, eax
mov edx, dword [ebp - 0x10]
sub edx, ebx
inc edx
mov eax, dword [ebp - 8]
mov ecx, ebx
call fcn.00403c64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eced
lea eax, [ebp - 0x18]
call fcn.00403734
ret

Function at 0x40f69c
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.004027ac
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x411404
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
mov byte [0x41b628], 1
push esp
xor edx, edx
mov al, 1
call fcn.0040501c
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
sete al
add esp, 0x190
ret

Function at 0x411440
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x10c], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403bb4
xor eax, eax
push ebp
push 0x411675
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 4]
call fcn.00408104
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.004080cc
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 4]
call fcn.004037cc
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00406a00
test eax, eax
jl 0x4114f1
lea ecx, [ebp - 0x110]
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00406af4
cmp dword [ebp - 0x110], 0
je 0x4114f1
mov ecx, esi
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00406af4
jmp 0x41163f
cmp byte [0x41b628], 0
jne 0x411506
mov eax, esi
call fcn.00403734
jmp 0x41163f
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.004027ac
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x104]
mov edx, dword [ebp - 4]
call fcn.0040816c
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4115c5
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4115bc
mov edi, dword [edx]
test edi, edi
je 0x4115b3
push esi
xor eax, eax
mov al, byte [edi]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0
xor eax, eax
mov al, byte [edi + 1]
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x124], 0
xor eax, eax
mov al, byte [edi + 2]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0
xor eax, eax
mov al, byte [edi + 3]
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x114], 0
lea edx, [ebp - 0x130]
mov ecx, 3
mov eax, 0x41168c
call fcn.00408204
jmp 0x4115cc
mov eax, esi
call fcn.00403734
jmp 0x4115cc
mov eax, esi
call fcn.00403734
jmp 0x4115cc
mov eax, esi
call fcn.00403734
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00406a00
test eax, eax
jl 0x4115ea
mov ecx, dword [esi]
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00406ba0
jmp 0x411612
push dword [ebp - 4]
push 0x4116a0
push dword [esi]
lea eax, [ebp - 0x134]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x134]
mov eax, dword [ebx + 0x40]
call fcn.00409ff8
cmp dword [esi], 0
jne 0x41163f
lea eax, [ebp - 0x138]
mov ecx, 0x4116ac
mov edx, dword [ebp - 4]
call fcn.00403a10
mov edx, dword [ebp - 0x138]
mov eax, dword [0x41b874]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
call fcn.00412f60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41167c
lea eax, [ebp - 0x138]
mov edx, 2
call fcn.00403758
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00403758
lea eax, [ebp - 4]
call fcn.00403734
ret
Function at 0x411954
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00403bb4
xor eax, eax
push ebp
push 0x411abe
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x41199a
inc eax
jne 0x4119c8
push 0x411ad8
push dword [esi + 0xc]
push 0x411af4
lea edx, [ebp - 0x18]
mov eax, edi
call fcn.00408018
push dword [ebp - 0x18]
lea eax, [esi + 4]
mov edx, 4
call fcn.00403a84
xor ebx, ebx
jmp 0x411aa0
push 4
lea eax, [esi + 0x4c]
push eax
push 0x1005
push 0xffff
mov eax, dword [esi + 8]
push eax
call sub.wsock32.dll_setsockopt
inc eax
je 0x411a00
push 4
lea eax, [esi + 0x4c]
push eax
push 0x1006
push 0xffff
mov eax, dword [esi + 8]
push eax
call sub.wsock32.dll_setsockopt
inc eax
jne 0x411a21
lea eax, [esi + 4]
mov edx, 0x411b00
call fcn.00403788
mov eax, dword [esi + 8]
push eax
call sub.wsock32.dll_closesocket
mov dword [esi + 8], 0xffffffff
xor ebx, ebx
jmp 0x411aa0
cmp dword [esi + 0x58], 0
je 0x411a4e
mov eax, dword [esi + 0x58]
call fcn.00403bc4
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
mov ax, word [esi + 0x5c]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x12], ax
mov word [ebp - 0x14], 2
jmp 0x411a6f
mov eax, dword [ebp - 4]
call fcn.00403bc4
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
push edi
call sub.wsock32.dll_htons
mov word [ebp - 0x12], ax
mov word [ebp - 0x14], 2
push 0x10
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 8]
push eax
call sub.wsock32.dll_connect
inc eax
jne 0x411aa0
lea eax, [esi + 4]
mov edx, 0x411b20
call fcn.00403788
mov eax, dword [esi + 8]
push eax
call sub.wsock32.dll_closesocket
mov dword [esi + 8], 0xffffffff
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411ac5
lea eax, [ebp - 0x18]
call fcn.00403734
lea eax, [ebp - 4]
call fcn.00403734
ret
Function at 0x4146fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffef8
mov ebx, eax
lea esi, [esp + 4]
mov eax, ebx
call fcn.00403734
push esp
push 0x20019
push 0
push 0x4147e4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x414776
xor eax, eax
mov dword [esi], eax
lea eax, [esp + 8]
mov byte [eax], 0
inc dword [esi]
inc eax
cmp dword [esi], 0x100
jne 0x414734
mov dword [esi], 0xff
push esi
lea eax, [esp + 0xc]
push eax
push esi
push 0
push 0x41480c
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x414776
mov eax, ebx
lea edx, [esp + 8]
mov ecx, pe_nt_image_headers32
call fcn.00403998
jmp 0x4147d9
push esp
push 0x20019
push 0
push 0x4147e4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4147d9
xor eax, eax
mov dword [esi], eax
lea eax, [esp + 8]
mov byte [eax], 0
inc dword [esi]
inc eax
cmp dword [esi], 0x100
jne 0x414799
mov dword [esi], 0xff
push esi
lea eax, [esp + 0xc]
push eax
push esi
push 0
push 0x41480c
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4147d9
mov eax, ebx
lea edx, [esp + 8]
mov ecx, pe_nt_image_headers32
call fcn.00403998
add esp, 0x108
pop esi
pop ebx
ret
Function at 0x406840
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
adc dword [esi + 0x880210], 0x248e8b53
push esi
out 0xbe, al
inc ebx
add al, 0x83
clc
dec dword [edi]
cld
xchg esp, eax
add dword [esi + 0x104b59bf], esi
test ecx, ecx
psrlw mm1, qword [ecx - 0x74ffffff]
jne 0x406875
mov ecx, dword [esi + 0x14]
lea edx, [esi + 0x28]
push ecx
push edx
push eax
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffe5
sbb al, 0x85
aaa
rol dword [eax], 0x83
clc
in eax, 0x1c
test dword [edi], esi
add dword [0xd8358b00], esi
rol dword [eax], 0xff
salc
test eax, eax
je 0xea40698a
inc edx
salc
add eax, 0xafc80
cmp eax, 0x392394
jne 0x5c2869f4
mov edi, dword [ebx + 0x20]
jecxz 0x406893
and al, 0x8b
inc esi
or eax, esi
jne 0x4068bd
pop edi
pop esi
mov eax, 0xb23b4
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + eax - 0x47]
add dword [eax], eax
add bh, bh
or dh, dh
mov dword [ebp - 0x2c5], eax
mov dword [ebp - 0x7e0210], ecx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x10c], ecx
jg 0x4068eb
sub eax, 0x73942904
jmp 0x256f291e
push 0
push 0xbb424240
push esi
push edi
call 0x2d40b535
push 0xfffffffffffffffd
push 0xf4240
push esi
push edi
dec ebp
inc ebp
clc
call 0x96b750
inc ebx
inc ebp
cld
lea eax, [ebp - 8]
dec dword [ebp - 0x18710c]
push eax
lea edx, [eax + esi*8 + 0x51adfffd]
leave
lodsb al, byte [esi]
movsd dword es:[edi], dword [esi]
push 0xffffffffffffffc5
call dword [0x40c18b]
cmp eax, 0xffffffff
mov dword [ebp + 0x74], eax
je 0x40697e
rol al, 1
jne 0x406943
pop edi
pop esi
mov eax, 0xf000cc
pop ebx
mov esp, ebp
pop ebp
ret 0xeb14
dec ecx
add al, 0x8d
inc edx
hlt
mov esi, dword [0xea40c1d8]
cld
salc
test eax, eax
adc al, 0xb
pop edi
pop esi
and al, 0x38
pop ebx
mov eax, dword [edi]
pop ebp
ret 0x87

Function at 0x40abe5
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x40abe7
ret
Function at 0x4010b0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.004576b0
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004576b0
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x10
call fcn.004576b0
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x45afd0
call fcn.004576aa
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
je 0x401169
mov eax, 0
jmp 0x4012ad
cmp dword [ebp + 0xc], 0
jne 0x401195
mov dword [ebp - 0x18], esp
mov eax, 1
call fcn.004576ce
cmp dword [ebp - 0x18], esp
je 0x401192
push 6
call fcn.004576c8
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x4011bd
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4011b7
push ebx
call fcn.004576a4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 2
call fcn.004576ce
cmp dword [ebp - 0x18], esp
je 0x4011e8
push 6
call fcn.004576c8
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x4ff65c
mov eax, 3
call fcn.004576ce
cmp dword [ebp - 0x18], esp
je 0x401214
push 6
call fcn.004576c8
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 4
call fcn.004576ce
cmp dword [ebp - 0x18], esp
je 0x4012a8
push 6
call fcn.004576c8
add esp, 4
jmp 0x4012ad
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004576a4
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004576a4
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004576a4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402919
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.004576b0
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004576b0
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x402995
mov eax, dword [0x735380]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 8
call fcn.004576ce
cmp dword [ebp - 0x18], esp
je 0x4029c1
push 6
call fcn.004576c8
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0xd
call fcn.004576ce
cmp dword [ebp - 0x18], esp
je 0x4029ef
push 6
call fcn.004576c8
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 0xe
call fcn.004576ce
cmp dword [ebp - 0x18], esp
je 0x402a1b
push 6
call fcn.004576c8
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0xf
call fcn.004576ce
cmp dword [ebp - 0x18], esp
je 0x402aaa
push 6
call fcn.004576c8
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0x10
call fcn.004576ce
cmp dword [ebp - 0x18], esp
je 0x402acf
push 6
call fcn.004576c8
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x402ad7
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004576a4
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004576a4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8