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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
push 0x5fc
push 0
call dword [0x51f428]
push eax
call dword [0x51f430]
push 0x5fc
push 0
push eax
mov dword [0x55af7c], eax
call fcn.004e24c0
mov eax, dword [0x55af7c]
add esp, 0xc
mov dword [eax], 0x5fc
mov eax, dword [0x55af7c]
mov dword [eax + 4], 0
mov eax, dword [0x55af7c]
mov dword [eax + 8], 0
mov eax, dword [0x55af7c]
mov dword [eax + 0xc], 0
call dword [0x51f32c]
mov ecx, dword [0x55af7c]
mov dword [ecx + 0x10], eax
call dword [0x51f41c]
mov ecx, dword [0x55af7c]
push fcn.0048c130
mov dword [ecx + 0x14], eax
mov eax, dword [0x55af7c]
mov dword [eax + 0x18], 0
mov eax, dword [0x55af7c]
mov dword [eax + 0x1c], 0
mov ecx, dword [0x55af7c]
mov eax, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov eax, dword [0x55af7c]
mov dword [eax + 0x20], 0
mov eax, dword [0x55af7c]
mov dword [eax + 0x34c], 0
mov eax, dword [0x55af7c]
mov dword [eax + 0x5f8], 1
call dword [0x51f210]
call fcn.0048c0a0
push 0x53a938
push 0x532aa0
call dword [0x51f340]
push eax
call dword [0x51f330]
test eax, eax
je 0x48c52c
push 0x48c3a0
push 0
call eax
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x498620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x190]
test eax, eax
je 0x498646
push dword [esi + 0x11c]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push esi
call eax
add esp, 0x14
pop esi
pop ebp
ret
cmp edx, 2
ja 0x49867a
push dword [esi + 0x118]
lea eax, [edx*2 + 0x5335fc]
push 1
add eax, edx
push 2
push eax
call fcn.004def5b
push dword [esi + 0x118]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004def5b
add esp, 0x20
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4aea00
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, edx
mov eax, 0x51eb851f
imul ebx
push esi
sar edx, 5
xor esi, esi
mov eax, edx
push edi
shr eax, 0x1f
mov edi, ecx
add eax, edx
mov ecx, dword [edi]
cmp eax, 2
je 0x4aea3a
push str._s__s__d_n
push ecx
call fcn.00497ef0
add esp, 8
lea eax, [esi + 0x11]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp ebx, 0xc8
je 0x4aea51
push ebx
push 0x53eca8
push ecx
call fcn.00497e70
add esp, 0xc
mov eax, dword [ebp + 8]
cmp eax, 0x13
jne 0x4aea67
mov ecx, edi
call fcn.004adb40
mov esi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x14
jne 0x4aea7a
mov ecx, edi
call fcn.004adb90
mov esi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x15
jne 0x4aea8d
mov ecx, edi
call fcn.004adcc0
mov esi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x16
jne 0x4aea9b
mov ecx, edi
call fcn.004adcd0
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x4b14e0
Capabilities:
Parse pe header

Disassembly:
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x4b14eb
jmp dword [eax*4 + 0x4b1544]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
mov al, cl
ret
Function at 0x4b75d0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push edx
push 0x497200
push 0
push 0
call fcn.004dce62
add esp, 0x18
test eax, eax
je 0x4b75ef
cmp eax, 0xffffffff
jne 0x4b75f1
xor eax, eax
ret

Function at 0x4be260
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x555760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x2c
mov edi, edx
call dword [0x556694]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4be295
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dbf35
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0xc]
mov dword [esi], 0x5341d0
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ecx + 8]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
cmp ebx, 0x40
jbe 0x4be2dd
push ecx
call dword [0x5341d0]
push ebx
push edi
push dword [esi + 4]
call dword [0x5341d4]
mov edi, dword [esi + 8]
push dword [esi + 4]
add edi, 8
push edi
call dword [str.SoftwareMicrosoftNotepadDefaultFonts_]
mov ebx, 0x10
add esp, 0x18
mov dword [ebp + 8], ebx
push dword [esi + 4]
call dword [0x5341d0]
push dword [esi + 8]
call dword [0x5341d0]
add esp, 8
xor eax, eax
test ebx, ebx
je 0x4be340
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov edi, edi
movzx eax, byte [edi]
xor al, 0x36
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push dword [esi + 4]
call dword [0x5341d4]
movzx eax, byte [edi]
lea edi, [edi + 1]
xor al, 0x5c
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push dword [esi + 8]
call dword [0x5341d4]
add esp, 0x18
dec ebx
jne 0x4be300
cmp dword [ebp + 8], 0x40
jae 0x4be376
mov eax, dword [ebp - 0x10]
mov edi, 0x40
sub edi, eax
jmp 0x4be350
push 1
push 0x5330f1
push dword [esi + 4]
call dword [0x5341d4]
push 1
push 0x5330f2
push dword [esi + 8]
call dword [0x5341d4]
add esp, 0x18
dec edi
jne 0x4be350
mov ecx, dword [ebp - 4]
mov eax, esi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004dbf35
mov esp, ebp
pop ebp
ret
Function at 0x404cb0
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x40f018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, 2
push 0
mov dword [ebp - 0x9c], esi
mov word [ebp - 0x14], ax
call dword [0x40b1d0]
mov word [ebp - 0x12], ax
test esi, esi
je 0x404da7
push ebx
push edi
lea ecx, [ebp - 0x94]
push esi
mov dword [ebp - 0x98], ecx
call dword [0x40b04c]
lea ebx, [eax + 1]
lea edi, [ebp - 0x94]
mov ecx, ebx
lea esi, [ebp - 0x98]
call fcn.00405680
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x98]
push ebx
push edx
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_memcpy_s]
add esp, 0x10
pop edi
pop ebx
cmp eax, 0x50
ja case.0x404d4a.1
movzx ecx, byte [eax + 0x404e10]
jmp dword [ecx*4 + 0x404e00]
call dword [sym.imp.mfc100.dll_Ordinal_2063]
call dword [sym.imp.mfc100.dll_Ordinal_2061]
mov edx, dword [ebp - 0x98]
push edx
call dword [0x40b1cc]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x404d8d
mov eax, dword [ebp - 0x98]
push eax
call dword [0x40b1c8]
test eax, eax
je 0x404dd2
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
cmp eax, edx
je 0x404da7
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov ecx, dword [ebp + 8]
push 0x10
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [0x40b1c4]
xor edx, edx
cmp eax, 0xffffffff
setne dl
pop esi
mov eax, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040888c
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x404dec
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0040888c
mov esp, ebp
pop ebp
ret 8
Function at 0x404d51
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x40f018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, 2
push 0
mov dword [ebp - 0x9c], esi
mov word [ebp - 0x14], ax
call dword [0x40b1d0]
mov word [ebp - 0x12], ax
test esi, esi
je 0x404da7
push ebx
push edi
lea ecx, [ebp - 0x94]
push esi
mov dword [ebp - 0x98], ecx
call dword [0x40b04c]
lea ebx, [eax + 1]
lea edi, [ebp - 0x94]
mov ecx, ebx
lea esi, [ebp - 0x98]
call fcn.00405680
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x98]
push ebx
push edx
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_memcpy_s]
add esp, 0x10
pop edi
pop ebx
cmp eax, 0x50
ja case.0x404d4a.1
movzx ecx, byte [eax + 0x404e10]
jmp dword [ecx*4 + 0x404e00]
call dword [sym.imp.mfc100.dll_Ordinal_2063]
call dword [sym.imp.mfc100.dll_Ordinal_2061]
mov edx, dword [ebp - 0x98]
push edx
call dword [0x40b1cc]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x404d8d
mov eax, dword [ebp - 0x98]
push eax
call dword [0x40b1c8]
test eax, eax
je 0x404dd2
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
cmp eax, edx
je 0x404da7
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov ecx, dword [ebp + 8]
push 0x10
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [0x40b1c4]
xor edx, edx
cmp eax, 0xffffffff
setne dl
pop esi
mov eax, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040888c
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x404dec
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0040888c
mov esp, ebp
pop ebp
ret 8
Function at 0x404d5d
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x40f018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, 2
push 0
mov dword [ebp - 0x9c], esi
mov word [ebp - 0x14], ax
call dword [0x40b1d0]
mov word [ebp - 0x12], ax
test esi, esi
je 0x404da7
push ebx
push edi
lea ecx, [ebp - 0x94]
push esi
mov dword [ebp - 0x98], ecx
call dword [0x40b04c]
lea ebx, [eax + 1]
lea edi, [ebp - 0x94]
mov ecx, ebx
lea esi, [ebp - 0x98]
call fcn.00405680
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x98]
push ebx
push edx
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_memcpy_s]
add esp, 0x10
pop edi
pop ebx
cmp eax, 0x50
ja case.0x404d4a.1
movzx ecx, byte [eax + 0x404e10]
jmp dword [ecx*4 + 0x404e00]
call dword [sym.imp.mfc100.dll_Ordinal_2063]
call dword [sym.imp.mfc100.dll_Ordinal_2061]
mov edx, dword [ebp - 0x98]
push edx
call dword [0x40b1cc]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x404d8d
mov eax, dword [ebp - 0x98]
push eax
call dword [0x40b1c8]
test eax, eax
je 0x404dd2
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
cmp eax, edx
je 0x404da7
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov ecx, dword [ebp + 8]
push 0x10
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [0x40b1c4]
xor edx, edx
cmp eax, 0xffffffff
setne dl
pop esi
mov eax, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040888c
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x404dec
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0040888c
mov esp, ebp
pop ebp
ret 8
Function at 0x405580
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x40f018]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x11c]
push ecx
push 0
push 0
lea edx, [ebp - 0x114]
push edx
push 0
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x114], 1
call dword [0x40b1b0]
cmp eax, 0xffffffff
jne 0x4055e9
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040888c
mov esp, ebp
pop ebp
ret
xor ecx, ecx
test eax, eax
setne cl
mov eax, 1
mov dword [esi], ecx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040888c
mov esp, ebp
pop ebp
ret
Function at 0x40d2f8
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 0x40d35c
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.00404780
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408980
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d363
lea eax, [ebp - 0xc]
call fcn.00404510
ret

Function at 0x41b97c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x41b9c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0041b7d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41b9e1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41b9e8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041b7d4
dec esi
jne 0x41ba0a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41e83c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41e842
ret

Function at 0x420d08
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x420d59
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420d40
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420d30
jmp 0x420d59
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x420d41
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42992c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004049c0
xor eax, eax
push ebp
push 0x429a5a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x429a2d
xor eax, eax
push ebp
push 0x429a26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047d0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4299fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4299ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047d0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004049d0
mov edx, ebx
pop ecx
call fcn.00402c60
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4299f1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x493a9c]
mov dl, 1
mov eax, dword [0x4076f4]
call fcn.0040c518
call fcn.00403ea0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429a61
lea eax, [ebp - 4]
call fcn.00404510
ret
Function at 0x44515a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x445168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x44514a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x445145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x445145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x405799
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405a57
test bl, 8
mov dword [ebp - 0xc], eax
je 0x4057d8
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x4237a8], eax
jmp 0x405962
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x4057f2
test eax, eax
je 0x405910
test bl, 2
je 0x405910
mov esi, 0x420d38
push edi
push esi
call fcn.00405ef7
cmp dword [ebp + 8], 0
je 0x405811
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x405817
push edi
call fcn.004059b0
cmp byte [edi], 0
jne 0x405825
cmp byte [0x420d38], 0x5c
jne 0x405830
push 0x409014
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x14c]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x405906
lea eax, [ebp - 0x120]
push 0x3f
push eax
lea esi, [ebp - 0x120]
call fcn.00405994
cmp byte [eax], 0
je 0x405876
cmp byte [ebp - 0x1c], 0
je 0x405876
lea esi, [ebp - 0x1c]
cmp byte [esi], 0x2e
jne 0x40588c
mov al, byte [esi + 1]
test al, al
je 0x4058e5
cmp al, 0x2e
jne 0x40588c
cmp byte [esi + 2], 0
je 0x4058e5
push esi
push ebx
call fcn.00405ef7
test byte [ebp - 0x14c], 0x10
je 0x4058b1
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4058e5
push dword [ebp + 0xc]
push edi
call fcn.00405799
jmp 0x4058e5
push dword [ebp - 4]
push edi
call fcn.00405751
test eax, eax
jne 0x4058dd
cmp dword [ebp - 4], eax
je 0x4058d5
push edi
push 0xfffffffffffffff1
call fcn.00405110
push 0
push edi
call fcn.00405db2
jmp 0x4058e5
inc dword [0x4237a8]
jmp 0x4058e5
push edi
push 0xfffffffffffffff2
call fcn.00405110
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405854
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405910
and byte [ebx - 1], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405962
cmp dword [ebp - 0xc], esi
jne 0x405924
inc dword [0x4237a8]
jmp 0x405962
push edi
call fcn.004061fb
test eax, eax
je 0x405962
push edi
call fcn.00405969
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405751
test eax, eax
jne 0x40595a
cmp dword [ebp - 4], esi
je 0x40591c
push edi
push 0xfffffffffffffff1
call fcn.00405110
push esi
push edi
call fcn.00405db2
jmp 0x405962
push edi
push 0xffffffffffffffe5
call fcn.00405110
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x402044
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x42f040]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [0x491748]
xor ebx, ebx
push edi
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x4020b4
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.00402bc8
lea ecx, [esp + 0x1c]
call fcn.00401e74
cmp eax, dword [esp + 0x10]
je 0x4020cb
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00403484
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x402084
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040833e
mov esp, ebp
pop ebp
ret
mov edx, str.QwruxAA
call fcn.00403e0f
push eax
call fcn.00404088
mov edx, dword [esp + 0x1c]
pop ecx
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00403484
jmp 0x4020b6
Function at 0x419180
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00418e22

Function at 0x41918b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00418fb1

Function at 0x419585
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00409270
mov eax, dword [0x42f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004164e5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4195c7
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x419723
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004235a0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x491340]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041a755
mov ecx, dword [esi*4 + 0x491340]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41971c
cmp eax, dword [edi + ecx + 0x24]
jne 0x41971c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41971c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041a755
add esp, 0x14
test edx, edx
jl 0x41971c
jg 0x419692
test eax, eax
jb 0x41971c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41971c
jl 0x4196ac
cmp dword [ebp - 0x1008], eax
ja 0x41971c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4196ca
test ebx, ebx
je 0x419703
cmp ecx, edi
jae 0x419703
mov al, byte [ecx]
cmp al, 0xd
jne 0x4196e4
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4196f0
cmp byte [ecx + 1], 0xa
jne 0x4196f0
inc ecx
jmp 0x4196f0
movzx eax, al
movsx eax, byte [eax + 0x42f300]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4196ca
cmp edx, ebx
jne 0x4196ca
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x419721
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040833e
leave
ret