joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10336f80
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1033714d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a1000]
push edi
or ebp, 0xffffffff
jmp 0x10336faa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10336fb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10336fa0
mov eax, 1
add ebx, ebx
jne 0x10336fc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10336fb8
jne 0x10336fd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10336fb8
xor ecx, ecx
sub eax, 3
jb 0x10336fe8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1033705a
mov ebp, eax
add ebx, ebx
jne 0x10336ff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10337000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10337024
inc ecx
add ebx, ebx
jne 0x10337010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10337005
jne 0x10337021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10337005
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10337044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10337035
jmp 0x10336fa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10337044
add edi, ecx
jmp 0x10336fa6
pop esi
mov edi, esi
mov ecx, 0x9b8a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10337062
cmp byte [edi], 0x24
jne 0x10337062
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x10337067
lea edi, [esi + 0x329000]
mov eax, dword [edi]
or eax, eax
je 0x103370df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x33ca64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x33cba4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10337094
mov ecx, edi
jns 0x103370c3
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 + 0x33cba8]
or eax, eax
je 0x103370d9
mov dword [ebx], eax
add ebx, 4
jmp 0x103370b1
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 0x10337110
cmp al, 0xef
ja 0x10337103
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x103370e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x103370f2
mov ebp, dword [esi + 0x33cbac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x10337144
sub esp, 0xffffff80
jmp 0x10150e78
Function at 0x1000a87a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x100271cf
call fcn.10015b54
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x1000a8d3
call fcn.10003e9c
mov esi, eax
jmp 0x1000a9a9
push ebx
push edi
push eax
call dword [sym.imp.kernel32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x1000a8ec
call fcn.10003e9c
jmp 0x1000a99b
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x1000a8e2
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x1000a926
mov esi, 0x8007000e
jmp 0x1000a99d
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1001d8d1
mov dword [ebp - 4], 1
jmp 0x1000a954
cmp dword [ebp - 0x418], esi
je 0x1000a91f
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x1000a8e2
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.1001d8d1
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000a9c2
lea ecx, [ebp - 0x418]
call fcn.10009448
mov eax, esi
call fcn.10015bb0
ret 0x10
Function at 0x1000f81c
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x1002753c
call fcn.10015ab5
mov ebx, ecx
mov eax, dword [ebx]
xor esi, esi
xor edi, edi
call dword [eax + 0x18]
cmp eax, esi
jne 0x1000f8a0
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
cmp dword [ebx + 0x44], esi
je 0x1000f8e0
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.1001d8d1
test al, al
je 0x1000f8b8
push 0xb
pop eax
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x18], ax
mov eax, dword [ebx + 0x44]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push 1
movsd dword es:[edi], dword [esi]
push str.Close
push eax
movsd dword es:[edi], dword [esi]
push 0
push 1
push ebx
mov byte [ebp - 4], 1
movsd dword es:[edi], dword [esi]
call fcn.1001d8d1
mov edi, eax
add esp, 0x28
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor esi, esi
jmp 0x1000f8d0
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x1000f83a
push 0x8007000e
call fcn.1001d8d1
mov eax, dword [ebx + 0x44]
push esi
push str.Close
push eax
push esi
push 1
push ebx
call fcn.1001d8d1
add esp, 0x18
mov edi, eax
mov eax, dword [ebx + 0x44]
cmp eax, esi
je 0x1000f8e0
mov dword [ebx + 0x44], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebx + 0x24], esi
je 0x1000f8ff
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.1001d8d1
test al, al
je 0x1000f8ff
push dword [ebx + 0x24]
call dword [sym.imp.kernel32.dll_DeleteFileW]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
call fcn.10015b8d
ret
Function at 0x1000f910
Capabilities:
Terminate process

Disassembly:
push 0x820
mov eax, 0x10027562
call fcn.10015b1e
xor edi, edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x814], edi
cmp dword [esi + 0x40], edi
je 0x1000fa39
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esi + 0x40]
push edi
push str.Caption
push eax
lea eax, [ebp - 0x82c]
push eax
push 2
push esi
mov dword [ebp - 4], edi
call fcn.1001d8d1
add esp, 0x18
test eax, eax
jne 0x1000f99f
push dword [ebp - 0x824]
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.1001d8d1
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x814], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x818]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov ebx, eax
cmp ebx, edi
jl 0x1000f9d3
cmp dword [ebp - 0x818], edi
jne 0x1000f9d3
mov eax, dword [esi + 0x40]
push edi
push str.Quit
push eax
push edi
push 1
push esi
call fcn.1001d8d1
add esp, 0x18
mov ebx, eax
mov eax, dword [esi + 0x40]
cmp eax, edi
je 0x1000f9e3
mov dword [esi + 0x40], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp - 0x814], edi
je 0x1000fa39
cmp dword [ebp - 0x818], edi
jne 0x1000fa39
cmp ebx, edi
jge 0x1000fa39
lea eax, [ebp - 0x81c]
push eax
push dword [ebp - 0x814]
mov dword [ebp - 0x81c], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x81c]
push 1
push 0x1fffff
call dword [sym.imp.kernel32.dll_OpenProcess]
push 1
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov eax, ebx
call fcn.10015ba1
ret
Function at 0x100102b6
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0x214
mov eax, 0x1002769c
call fcn.10015b1e
mov ebx, dword [ebp + 8]
cmp dword [ebx + 8], 0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x220], edi
je 0x100102e1
mov eax, reloc.OLEAUT32.dll_VariantCopyInd
jmp 0x10010485
lea ecx, [ebx - 0xc]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebx + 0x14]
test esi, esi
jne 0x100102fa
mov eax, 0x80004005
jmp 0x10010485
mov eax, dword [ebp + 0x10]
mov edx, eax
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
and edx, ecx
cmp edx, ecx
sete cl
mov byte [esi + 0x31], cl
mov edx, eax
mov ecx, reloc.OLEAUT32.dll_SysReAllocStringLen
and edx, ecx
cmp edx, ecx
mov edx, dword [ebx + 0x14]
sete cl
mov byte [edx + 0x32], cl
mov ecx, reloc.OLEAUT32.dll_VariantClear
and eax, ecx
cmp eax, ecx
mov ecx, dword [ebx + 0x14]
sete al
mov byte [ecx + 0x33], al
mov ecx, dword [ebx + 0x14]
push edi
add ecx, 0x28
call fcn.1001d8d1
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x18]
xor esi, esi
cmp eax, esi
jne 0x10010424
mov dword [ebp - 0x21c], esi
push str.Excel.Application
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], esi
call fcn.1001d8d1
test al, al
je 0x10010462
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.10015d40
push 0x5c
push edi
call fcn.1001d8d1
add esp, 0x14
cmp eax, esi
jne 0x100103ab
push 0x2f
push edi
call fcn.1001d8d1
pop ecx
pop ecx
cmp eax, esi
je 0x100103d3
add eax, 2
push 0x2e
push eax
call fcn.1001d8d1
push 0x104
mov edi, eax
lea esi, [ebp - 0x218]
call fcn.1001d8d1
mov edi, dword [ebp - 0x220]
add esp, 0xc
xor esi, esi
cmp word [ebp - 0x218], si
je 0x10010451
push esi
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.kernel32.dll_CopyFileW]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1001d8d1
pop ecx
pop ecx
mov ecx, dword [ebx + 0x14]
add ecx, 0x24
test eax, eax
jne 0x10010443
lea eax, [ebp - 0x218]
push eax
call fcn.1001d8d1
push 0x80
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
jmp 0x10010449
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x21c], eax
cmp eax, esi
jne 0x10010358
push 0x8007000e
call fcn.1001d8d1
push edi
call fcn.1001d8d1
mov eax, dword [ebx + 0x14]
add eax, 0x24
jmp 0x1001046e
push dword [ebp - 0x21c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x100102f0
mov ecx, dword [ebx + 0x14]
push edi
add ecx, 0x24
call fcn.1001d8d1
push eax
lea ecx, [ebx + 0x10]
call fcn.1001d8d1
push dword [ebp - 0x21c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
call fcn.10015ba1
ret 0xc
Function at 0x1001212a
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x10027950
call fcn.10015b1e
mov ebx, dword [ebp + 8]
xor edi, edi
cmp ebx, edi
jne 0x10012149
xor eax, eax
jmp 0x1001221e
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, edi
je 0x1001221c
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], 0x22c
call sub.kernel32.dll_Process32FirstW
jmp 0x100121f2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.100120e9
and dword [ebp - 4], 0
push ebx
lea ecx, [ebp - 0x244]
call fcn.100120e9
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 1
call fcn.10011f97
lea ecx, [ebp - 0x244]
call fcn.10011f97
push dword [ebp - 0x240]
lea ecx, [ebp - 0x244]
call fcn.1001d8d1
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
test eax, eax
je 0x100121fc
call fcn.10011b75
mov ecx, dword [ebp - 0x240]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.10011b75
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10012174
jmp 0x10012215
mov edi, dword [ebp - 0x234]
call fcn.10011b75
mov ecx, dword [ebp - 0x240]
add ecx, 0xfffffff0
call fcn.10011b75
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10015ba1
ret

Function at 0x10013c76
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10039078], 0
push esi
push edi
jne 0x10013bec
call fcn.10013b58
test eax, eax
je 0x10013c31
mov eax, dword [0x10039078]
cmp eax, 1
jne 0x10013c0d
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x10013c31
jmp 0x10013c73
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x10013c73
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10013c35
xor eax, eax
jmp 0x10013c73
mov eax, dword [esi]
push dword [0x10039078]
call edi
mov edi, eax
test edi, edi
je 0x10013c57
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x10013c73
lea edi, [esi + 0xff0]
push esi
push dword [0x10039078]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x10013c5d
mov eax, esi
pop edi
pop esi
ret
jmp 0x10013bd8

Function at 0x100155f6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10037a70]
jne 0x10015600
repz ret
jmp fcn.10017fba
Function at 0x1001d8d1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1001d8e0
pop dword [ebp - 0x1c]
mov eax, 0x83b1a58b
sub eax, 0x73afccab
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x3d547
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x7fb0b9cf
add ecx, 0x804f88ca
xor edx, edx
add edx, eax
mov ebx, 0x87448f41
sub ebx, 0x77406d41
add ebx, dword [ebp - 0x1c]
mov edi, 0x2aed99e9
add edi, 0x97ff1e93
add dword [ebp - 0xc], eax
mov esi, dword [ebx]
sub dword [ebp - 0x10], 0xbb1fa1d3
xor esi, edi
sub dword [ebp - 4], 0xc5cb511
mov dword [edx], esi
add dword [ebp - 8], 0x6dfd3887
add edx, 0x8aa31825
sub edx, 0x8aa31821
add ebx, 0x71c7419c
add ebx, 0x8e38be68
loop 0x1001d93c
add eax, 0xfd37
mov ebx, eax
add eax, 0xa7c94096
add eax, 0x5836bf6f
mov ecx, 0x10000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x4cca90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404de1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x408460]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi + 0x24], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x2c], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x14], ecx
mov cl, byte [ebp + 0x28]
mov dword [esi + 8], edx
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], cl
mov dword [esi + 0x30], edi
test cl, cl
jne 0x4ccb63
mov dword [ebp + 0x28], edi
test eax, eax
je 0x4ccb30
lea ecx, [edx + 0xc]
mov edx, eax
mov eax, dword [ecx]
cmp eax, edi
jbe 0x4ccb1a
mov edi, eax
add ecx, 0x10
dec edx
jne 0x4ccb12
mov dword [ebp + 0x28], edi
mov eax, 0x406784
cmp edi, 0x100000
ja 0x4ccb33
lea eax, [ebp + 0x28]
mov eax, dword [eax]
mov dword [esi + 0x28], eax
add eax, 0xa
push eax
call fcn.004cd230
mov edi, eax
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, edi
je 0x4ccb59
push eax
call fcn.004cd2c6
add esp, 4
mov dword [esi + 0x24], edi
push 0
call fcn.004cd2c6
add esp, 4
xor ecx, ecx
mov eax, ebx
mov edx, 0x44
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004cd230
add esp, 4
mov dword [ebp + 0x28], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4ccbaf
push 0x402640
push 0x402600
push ebx
lea edi, [eax + 4]
push 0x44
push edi
mov dword [eax], ebx
call fcn.004cd38d
jmp 0x4ccbb1
xor edi, edi
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 1
cmp eax, edi
je 0x4ccbe0
test eax, eax
je 0x4ccbdd
mov ecx, dword [eax - 4]
lea ebx, [eax - 4]
push 0x402640
push ecx
push 0x44
push eax
call fcn.004cd32a
push ebx
call fcn.004cd2c6
add esp, 4
mov dword [esi + 0x2c], edi
mov ecx, esi
call fcn.004cc6d0
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 0x24
Function at 0xdb3784
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdb378e
pushal
call 0xdb3794
pop ebp
sub ebp, 0x10
sub ebp, 0x9b3784
jmp 0xdb37aa
mov eax, 0x9b3784
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c5
mov edx, 0xb8498fc
xor byte [eax], dl
inc eax
dec ecx
jne 0xdb37c1
jmp 0xdb37d4
ja 0xdb3807
ja 0xdb384d
sar ah, 0xfc
cld
jge 0xdb381b
add al, 0xfc
cld
cld
push dword [ecx]
inc esp
cli
cld
cld
cld
inc esi
aam 0xfc
cld
cld
or ebx, dword [esi]
push dword [edi + esi*2]
jge 0xdb37e5
cld
cld
cld
invalid
fcom dword [eax + ebx - 0x6b0323c2]
pop esp
mov byte [esi - 0x272f0204], al
xchg esp, eax
adc dh, dh
stosd dword es:[edi], eax
pop es
adc al, 0xf9
stc
cld
cld
cld
adc eax, 0xfcfcfcd4
test eax, 0x7977a1a8
ja 0xdb38a2
hlt
mov eax, dword [0x77fcf03e]
jo 0xdb3827
clc
cld
cld
cld
xchg esp, eax
sbb byte [esi], bh
fdiv st(4), st(0)
xchg esp, eax
pop esp
mov byte [esi - 0x272f0204], al
lodsd eax, dword [esi]
adc al, 0xf9
cld
cld
cld
adc eax, 0xfcfcfeb9
test eax, 0x8903a1a8
lock add ecx, dword [ecx - 0x37beb0c]
cld
cld
ja 0xdb38bc
hlt
jg 0xdb38a5
stc
mov ah, 0xf3
js 0xdb3848
cld
cld
cld
je 0xdb3850
cld
cld
cld
lcall 0x1407, 0x7cc5e077
lds edi, [edi + eax + 0x14]
adc al, 0xf3
js 0xdb388f
js 0xdb388f
cld
cld
cld
jl 0xdb38b5
adc eax, 0xfced78f3
cld
cld
lcall 0x78f3, 0xd903077d
jmp 0xbed835bd
Function at 0x401863
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00401305
test eax, eax
jne 0x40189b
mov dword [esp], 0x4060a8
call fcn.004012d1
mov dword [ebp - 0xc], 0xffffffff
jmp 0x4018f6
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jae 0x4018f0
mov dword [esp + 0xc], 0
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
sub eax, edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.WS2_32.DLL_send
sub esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4018e6
mov dword [esp], str.No_se_pudo_enviar_datos
call fcn.004012d1
jmp 0x4018f0
mov edx, dword [ebp - 4]
lea eax, [ebp - 8]
add dword [eax], edx
jmp 0x40189b
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x4018fb
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00401305
test eax, eax
jne 0x401933
mov dword [esp], str.Error_al_recibir_datos:_Socket_invalido
call fcn.004012d1
mov dword [ebp - 0xc], 0xffffffff
jmp 0x40198e
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jae 0x401988
mov dword [esp + 0xc], 0
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
sub eax, edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.WS2_32.DLL_recv
sub esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40197e
mov dword [esp], str.No_se_pudo_recibir_datos
call fcn.004012d1
jmp 0x401988
mov edx, dword [ebp - 4]
lea eax, [ebp - 8]
add dword [eax], edx
jmp 0x401933
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x401aac
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov byte [ebp - 1], al
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00401305
test eax, eax
jne 0x401ac9
jmp 0x401af3
cmp byte [ebp - 1], 0
sete al
movzx eax, al
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x8004667e
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.WS2_32.DLL_ioctlsocket
sub esp, 0xc
leave
ret
Function at 0x1001058d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1001059c
pop dword [ebp - 0x10]
mov eax, 0x45d4e7a2
sub eax, 0x35d3e206
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x394ad
push 0
mov eax, 0xf495fa96
add eax, 0x1b6c05ae
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x48e6
mov ebx, eax
mov edx, 0xcbb70308
add edx, 0x444c66f8
add edx, dword [ebp - 0x10]
mov edi, 0xa9b8d317
sub edi, 0xb04fa854
xor dword [ebp - 0xc], 0xceffc298
mov esi, dword [edx]
sub esi, edi
xor dword [ebp - 8], 0x6f7e47ae
mov dword [ebx], esi
sub dword [ebp - 0xc], eax
add ebx, 0x568289b7
add ebx, 0xa97d764d
add edx, 0xf4257741
sub edx, 0xf425773d
loop 0x100105f5
add eax, 0x90d84cba
add eax, 0x6f28c9b1
xor ebx, ebx
add ebx, eax
add eax, 0x9a72744f
add eax, 0x658d8bb6
mov ecx, 0x363cc03
add ecx, 0xc9c33fd
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x10011126
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x10011130
lea esi, [ecx - 0x78]
jmp 0x10011132
xor esi, esi
lea eax, [esi + 0x84]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x1001114e
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x10011201
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x10011213
add eax, 0xffffff84
jmp 0x10011215
xor eax, eax
and dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x1002244c
lea ecx, [eax + 4]
call fcn.1000d84d
test eax, eax
js 0x1001127e
cmp dword [ebp + 8], 0
je 0x1001127b
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call esi
test ax, ax
jns 0x10011253
inc edi
push 0x11
call esi
test ax, ax
jns 0x1001125f
add edi, 2
push 0x12
call esi
test ax, ax
jns 0x1001126b
add edi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x1001127e
xor eax, eax
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov esi, ecx
test eax, eax
je 0x10011294
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 8