joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003c4e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100776b0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x100934c0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov byte [esp + 0x14], 1
call fcn.10007480
mov esi, dword [ebp + 8]
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x10095b74
push eax
mov ecx, esi
call edx
call fcn.10007490
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x18]
push ecx
push 0x10095ac8
push eax
mov ecx, esi
mov dword [esp + 0x24], 0x48
call edx
mov al, byte [esp + 0x14]
mov edi, 0x10087178
test al, al
jne 0x1003c562
mov edi, 0x10085ecd
movzx eax, al
neg eax
sbb eax, eax
and eax, dword [esp + 0x18]
lea ecx, [ebx + 0x44]
mov dword [esp + 0x1c], 6
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], 0x1007e210
call fcn.1004dbd0
push 0
push edi
lea ecx, [esp + 0x64]
mov ebx, eax
call fcn.100074a0
mov dword [esp + 0x20], eax
push 0
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x88], 0
call fcn.100074a0
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x3c]
push str.EncodingLookupArray
push edx
mov byte [esp + 0x8c], 1
call fcn.1003c700
add esp, 0xc
mov byte [esp + 0x80], 2
movzx ecx, byte [eax + 8]
push ecx
push str.PaddingByte
mov edi, eax
call fcn.1003c880
lea edx, [esp + 0x1c]
push 1
push edx
mov edi, eax
call fcn.10007460
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.10007430
mov ecx, dword [esp + 0x34]
push eax
push ecx
call fcn.10007420
push eax
lea edx, [esp + 0x44]
push edx
call fcn.10007450
push eax
mov ecx, edi
call fcn.1000c4e0
mov ecx, eax
call fcn.1000c5a0
mov ecx, eax
call fcn.1000c5a0
mov ecx, eax
call fcn.1000ca80
mov dword [esp + 0x2c], vtable.CryptoPP::CombinedNameValuePairs.0
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
mov byte [esp + 0x80], 3
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call edx
lea ecx, [esp + 0x2c]
call fcn.100048e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], 1
call fcn.100080d0
lea ecx, [esp + 0x44]
call fcn.100080b0
lea ecx, [esp + 0x5c]
call fcn.100080b0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1003cf80
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
jmp 0x1003cf90
movzx edx, byte [esi + 0x1007d728]
mov eax, edx
shr eax, 7
mov ecx, eax
imul eax, eax, 0x11b
imul ecx, ecx, 0x1b000000
mov ebx, edx
shl ebx, 0x19
xor ecx, ebx
mov ebx, edx
shl ebx, 8
or ebx, edx
shl ebx, 8
or ecx, ebx
lea ebx, [edx + edx]
xor eax, ebx
xor eax, edx
or eax, ecx
xor edx, edx
xor ebx, ebx
or edx, ecx
or eax, ebx
mov dword [esi*8 + 0x1009d7d0], edx
mov dword [esi*8 + 0x1009d7d4], eax
inc esi
cmp esi, 0x100
jl 0x1003cf90
mov dword [0x1009dfd8], edi
mov dword [0x1009dfdc], edi
mov dword [0x1009dfd0], edi
mov dword [0x1009dfd4], edi
pop edi
pop esi
mov byte [0x1009dfe9], 1
pop ebx
ret

Function at 0x1003d010
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
mov dword [esp + 0x14], eax
push edi
lea ecx, [ecx]
movzx eax, byte [eax + 0x1007d828]
mov ebp, eax
shr ebp, 7
mov dword [esp + 0x1c], ebp
imul ebp, ebp, 0x1b000000
mov ecx, eax
shr ecx, 6
mov esi, ecx
and ecx, 1
mov dword [esp + 0x10], ecx
lea ebx, [eax + eax]
xor ebx, eax
lea ecx, [ebx + ebx]
xor ecx, eax
shl ecx, 0x19
xor ecx, ebp
and esi, 2
mov dword [esp + 0x14], esi
mov edi, eax
shr edi, 5
mov edx, edi
mov esi, edi
and edi, 1
mov ebp, edi
imul ebp, ebp, 0x1b000000
xor ecx, ebp
and esi, 2
mov ebp, esi
imul ebp, ebp, 0x1b000000
xor ecx, ebp
mov ebp, dword [esp + 0x10]
imul ebp, ebp, 0x1b000000
xor ecx, ebp
mov ebp, dword [esp + 0x14]
imul ebp, ebp, 0x1b000000
xor ecx, ebp
and edx, 4
mov ebp, edx
imul ebp, ebp, 0x1b000000
xor ecx, ebp
lea ebp, [ebx*4]
xor ebp, eax
shl ebp, 8
mov ebx, edi
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, esi
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, dword [esp + 0x10]
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, dword [esp + 0x14]
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, edx
imul ebx, ebx, 0x11b00
xor ebp, ebx
or ecx, ebp
mov ebp, edi
imul edi, edi, 0x11b
imul ebp, ebp, 0x11b0000
lea ebx, [eax*8]
xor ebx, eax
shl ebx, 0x10
xor ebx, ebp
mov ebp, esi
imul ebp, ebp, 0x11b0000
xor ebx, ebp
mov ebp, edx
imul ebp, ebp, 0x11b0000
xor ebx, ebp
or ecx, ebx
mov ebx, dword [esp + 0x1c]
imul ebx, ebx, 0x11b
lea ebp, [eax*4]
xor ebp, eax
add ebp, ebp
xor ebp, ebx
xor ebp, edi
imul esi, esi, 0x11b
imul edx, edx, 0x11b
xor ebp, esi
xor ebp, edx
xor ebp, eax
or eax, ecx
or ebp, ecx
xor edx, edx
or edx, eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
or ebp, ecx
mov dword [eax*8 + 0x1009cfd0], edx
mov dword [eax*8 + 0x1009cfd4], ebp
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x100
jl 0x1003d020
pop edi
pop esi
pop ebp
mov byte [0x1009dfea], 1
pop ebx
add esp, 0x10
ret
Function at 0x1003fa20
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x100403a0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10076e90
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100934c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
mov ecx, edi
call fcn.10007080
mov dword [edi + 0xc], 0xffffffff
lea eax, [edi + 0x10]
xor ebx, ebx
mov dword [esp + 0x30], ebx
push eax
mov ecx, pe_nt_image_headers32
mov dword [edi], vtable.CryptoPP::MessageQueue.0
mov dword [edi + 4], vtable.CryptoPP::MessageQueue.1.0
call fcn.100434d0
lea esi, [edi + 0x38]
mov ecx, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], esi
call fcn.1001bd30
push 1
lea ecx, [esp + 0x17]
mov byte [esp + 0x34], 2
call fcn.100266d0
lea ecx, [esp + 0x20]
mov dword [esi], eax
call fcn.1001c290
mov ecx, dword [esi]
push eax
push ecx
lea edx, [esp + 0x1b]
push edx
call fcn.100275c0
mov eax, dword [esi]
mov dword [eax], esi
add esp, 0xc
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea ecx, [esp + 0x18]
push ecx
push esi
mov byte [esp + 0x38], 3
call fcn.10040b80
lea esi, [edi + 0x50]
mov ecx, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
call fcn.1001bd30
push 1
lea ecx, [esp + 0x17]
mov byte [esp + 0x34], 5
call fcn.100266d0
lea ecx, [esp + 0x20]
mov dword [esi], eax
call fcn.1001c290
mov edx, dword [esi]
push eax
push edx
lea eax, [esp + 0x1b]
push eax
call fcn.100275c0
mov ecx, dword [esi]
mov dword [ecx], esi
add esp, 0xc
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea edx, [esp + 0x14]
push edx
push esi
mov byte [esp + 0x38], 6
call fcn.10040f80
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
Function at 0x10042810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10074310
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100934c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x30]
mov ecx, esi
call fcn.1001c290
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.1001c2c0
lea ecx, [esp + 0x28]
mov dword [esi + 8], edi
call fcn.100048e0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14

Function at 0x100438b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10077938
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100934c0]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov eax, dword [0x100934c0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.10007f90
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x14], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x18], vtable.CryptoPP::ArraySink.1.0
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x7c]
push 1
mov dword [esp + 0x14], eax
push 0x1009e240
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], edi
call edx
lea ecx, [esp + 0x14]
call fcn.10007390
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10053489
mov esp, ebp
pop ebp
ret 8

Function at 0x100439b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10077938
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100934c0]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov eax, dword [0x100934c0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.10007f90
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x14], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x18], vtable.CryptoPP::ArraySink.1.0
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push 1
push 0x1009e240
mov dword [esp + 0x50], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x80]
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x14]
call fcn.10007390
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10053489
mov esp, ebp
pop ebp
ret 8
Function at 0x10046890
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100742d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100934c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.1001bd30
lea eax, [esi + 0x14]
xor ebx, ebx
push eax
lea ecx, [ebp - 0xd]
mov dword [ebp - 4], ebx
call fcn.10027470
push 1
lea ecx, [ebp - 0xd]
call fcn.100266d0
lea ecx, [ebp - 0x18]
mov dword [esi], eax
call fcn.1001c290
mov ecx, dword [esi]
push eax
push ecx
lea edx, [ebp - 0xd]
push edx
call fcn.100275c0
mov eax, dword [esi]
mov dword [eax], esi
add esp, 0xc
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea edi, [esi + 0x18]
mov dword [ebp - 4], 1
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.1001bd30
lea ecx, [edi + 0x14]
push ecx
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 2
call fcn.10027470
push 1
lea ecx, [ebp - 0xd]
call fcn.100266d0
lea ecx, [ebp - 0x18]
mov dword [edi], eax
call fcn.1001c290
mov edx, dword [edi]
push eax
push edx
lea eax, [ebp - 0xd]
push eax
call fcn.100275c0
mov ecx, dword [edi]
mov dword [ecx], edi
add esp, 0xc
lea ecx, [esi + 0x30]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
call fcn.10004540
lea ecx, [esi + 0x60]
call fcn.10004540
mov word [esi + 0x7c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1004a130
Capabilities:
Initialize winhttp library
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100934c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
push str._optputtype
lea ecx, [ebp - 0x70]
call fcn.1000dd50
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x4c], eax
push 0x1388
push 0x1388
push 0x1388
push 0x1388
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x51], 0
cmp dword [ebp - 0x4c], 0
je 0x1004a2af
push 0
mov ecx, dword [ebp - 0x80]
movzx edx, word [ecx + 0x20]
push edx
mov eax, dword [ebp - 0x80]
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x78], esp
push eax
call fcn.10009710
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.1004d550
add esp, 0x20
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov ecx, dword [ebp - 0x8c]
call fcn.1000de10
push eax
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x74], ecx
lea ecx, [ebp - 0x2c]
call fcn.1000ddd0
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.10036090
add esp, 0xc
mov dword [ebp - 0x94], eax
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x94]
call fcn.1000de10
push eax
push 0x1007d3ac
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x48]
call fcn.1000ddd0
cmp dword [ebp - 0x50], 0
je 0x1004a2af
push 0
mov ecx, dword [ebp + 8]
call fcn.100047f0
push eax
mov ecx, dword [ebp + 8]
call fcn.100047f0
push eax
mov ecx, dword [ebp + 8]
call fcn.10004660
push eax
push 0
push 0
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
setne cl
mov byte [ebp - 0x51], cl
cmp dword [ebp - 0x50], 0
je 0x1004a2bf
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x74], 0
je 0x1004a2cf
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x4c], 0
je 0x1004a2df
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dl, byte [ebp - 0x51]
mov byte [ebp - 0x79], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1000ddd0
mov al, byte [ebp - 0x79]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10053489
mov esp, ebp
pop ebp
ret 8
Function at 0x1004acb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10076bc1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100934c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
push str.TKX00001
mov eax, dword [ebp + 8]
push eax
call fcn.10005c70
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x1004ad3c
push 0x174
call fcn.10053c43
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x1004ad1a
mov ecx, dword [ebp - 0x14]
call fcn.1004ae20
mov dword [ebp - 0x2c], eax
jmp 0x1004ad21
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x24], ecx
jmp 0x1004ade0
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + 8]
call edx
movzx eax, al
test eax, eax
je 0x1004ad99
push 0x174
call fcn.10053c43
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
je 0x1004ad7a
mov ecx, dword [ebp - 0x1c]
call fcn.1004ae40
mov dword [ebp - 0x30], eax
jmp 0x1004ad81
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x24], eax
jmp 0x1004ade0
push 0x174
call fcn.10053c43
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x24], 0
je 0x1004adc3
mov ecx, dword [ebp - 0x24]
call fcn.1004ae60
mov dword [ebp - 0x34], eax
jmp 0x1004adca
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x24], eax
push 0
push 0
mov ecx, dword [ebp - 0x28]
push ecx
push 0x10049f60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x24]
call fcn.1004fd90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x1004cda0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0x20219
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1004cdf0
lea eax, [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
sete al
jmp 0x1004cdf2
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x1004ea40
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x100934c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x88], 0
push 0x7f
push 0
lea eax, [ebp - 0x87]
push eax
call fcn.10058400
add esp, 0xc
mov dword [ebp - 4], 0x80
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp + 8]
call fcn.10005790
mov ecx, dword [ebp - 0x8c]
or ecx, 1
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10053489
mov esp, ebp
pop ebp
ret 4
Function at 0x10051c90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x100934c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x130], 0
push 0x124
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.10058400
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
jne 0x10051cf3
xor eax, eax
jmp 0x10051d7b
mov dword [ebp - 0x130], 0x128
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10051d6c
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10051d54
mov edx, dword [ebp - 0x118]
cmp edx, dword [ebp + 0xc]
jne 0x10051d54
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x128]
mov dword [eax], ecx
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x10051d7b
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10051d15
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053489
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10052150
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x10325476
mov ecx, dword [ebp + 8]
call fcn.100047f0
push eax
mov ecx, dword [ebp + 8]
call fcn.10004660
push eax
mov ecx, dword [ebp - 4]
call fcn.100522e0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x10053489
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100934c0]
jne 0x10053493
repz ret
jmp fcn.10057090
Function at 0x100626be
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100934c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10059262
and dword [ebp - 0x14], 0
cmp dword [0x10097ba8], 0
mov dword [ebp - 0x18], eax
jne 0x10062771
push 0x1007a9a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10062819
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1007a994
push ebx
call edi
test eax, eax
je 0x10062819
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x1007a984
push ebx
mov dword [0x10097ba8], eax
call edi
push eax
call esi
push 0x1007a970
push ebx
mov dword [0x10097bac], eax
call edi
push eax
call esi
push 0x1007a954
push ebx
mov dword [0x10097bb0], eax
call edi
push eax
call esi
mov dword [0x10097bb8], eax
test eax, eax
je 0x10062771
push 0x1007a93c
push ebx
call edi
push eax
call esi
mov dword [0x10097bb4], eax
mov eax, dword [0x10097bb4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100627ca
cmp dword [0x10097bb8], ecx
je 0x100627ca
push eax
call esi
push dword [0x10097bb8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100627ca
test ebx, ebx
je 0x100627ca
call edi
test eax, eax
je 0x100627c1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100627c1
test byte [ebp - 8], 1
jne 0x100627ca
or dword [ebp + 0x10], 0x200000
jmp 0x100627fd
mov eax, dword [0x10097bac]
cmp eax, dword [ebp - 0x18]
je 0x100627fd
push eax
call esi
test eax, eax
je 0x100627fd
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100627fd
mov eax, dword [0x10097bb0]
cmp eax, dword [ebp - 0x18]
je 0x100627fd
push eax
call esi
test eax, eax
je 0x100627fd
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10097ba8]
call esi
test eax, eax
je 0x10062819
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1006281b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10053489
leave
ret