joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45cc84
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404508
xor eax, eax
push ebp
push 0x45cd9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebx + 0x44], 1
push 0
push 0xa0
push 2
push 0
push 7
push 0xc0000000
mov eax, dword [ebp - 4]
call fcn.00404518
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x45cce2
mov dword [ebx + 0x44], 3
jmp 0x45cd87
push 0
push 0
push 0
push esi
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x54]
push eax
mov eax, dword [ebx + 0x10]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x45cd14
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x54]
cmp eax, dword [ebp - 8]
je 0x45cd1c
push esi
call sub.kernel32.dll_CloseHandle
jmp 0x45cd87
mov eax, dword [ebx + 0x1c]
mov ax, word [eax + 6]
test ax, ax
jbe 0x45cd7c
movzx eax, ax
dec eax
test eax, eax
jl 0x45cd7c
inc eax
mov dword [ebp - 0xc], eax
xor edi, edi
push 0
lea eax, [ebp - 8]
push eax
lea eax, [edi + edi*4]
mov edx, dword [ebx + 0x20]
mov eax, dword [edx + eax*8 + 0x10]
push eax
lea eax, [edi + edi*4]
mov edx, dword [ebx + 0x20]
mov eax, dword [edx + eax*8 + 0x14]
add eax, dword [ebx + 0x10]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x45cd6e
lea eax, [edi + edi*4]
mov edx, dword [ebx + 0x20]
mov eax, dword [edx + eax*8 + 0x10]
cmp eax, dword [ebp - 8]
je 0x45cd76
push esi
call sub.kernel32.dll_CloseHandle
jmp 0x45cd87
inc edi
dec dword [ebp - 0xc]
jne 0x45cd36
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
mov dword [ebx + 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cda4
lea eax, [ebp - 4]
call fcn.00404058
ret

Function at 0x45d038
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404508
xor eax, eax
push ebp
push 0x45d0f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebx + 8], eax
push 0
push 0xa2
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404518
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x45d0de
mov eax, dword [ebx + 4]
test eax, eax
je 0x45d0a0
push eax
call fcn.004057e4
pop ecx
xor eax, eax
mov dword [ebx + 4], eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push esi
call sub.kernel32.dll_SetFilePointer
push edi
call fcn.004057d4
pop ecx
mov dword [ebx + 4], eax
push 0
lea eax, [ebp - 0x10]
push eax
push edi
mov eax, dword [ebx + 4]
push eax
push esi
call sub.kernel32.dll_ReadFile
mov eax, dword [ebp - 0x10]
mov dword [ebx + 8], eax
push esi
call sub.kernel32.dll_CloseHandle
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d0fb
lea eax, [ebp - 4]
call fcn.00404058
ret
Function at 0x45d108
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404508
xor eax, eax
push ebp
push 0x45d1a3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [esi + 8], 0
je 0x45d18d
push 0
push 0xa0
push 3
push 0
push 7
push 0xc0000000
mov eax, dword [ebp - 4]
call fcn.00404518
push eax
call sub.kernel32.dll_CreateFileA
mov edi, eax
cmp edi, 0xffffffff
je 0x45d18d
push 2
push 0
push 0
push edi
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
push edi
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x45d187
push edi
call sub.kernel32.dll_CloseHandle
jmp 0x45d18d
push edi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d1aa
lea eax, [ebp - 4]
call fcn.00404058
ret

Function at 0x45d3fc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov byte [ebp - 1], 0
mov ebx, eax
test ebx, ebx
jle 0x45d429
push 0
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.kernel32.dll_WriteFile_1
dec ebx
jne 0x45d40b
pop ebx
pop ecx
pop ebp
ret
Function at 0x45d430
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe10
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
mov eax, dword [ebp - 0xc]
call fcn.00404508
mov eax, dword [ebp - 0x10]
call fcn.00404508
lea esi, [ebp - 8]
xor eax, eax
push ebp
push 0x45d611
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0xa0
push 2
push 0
push 3
push 0xc0000000
mov eax, dword [ebp - 0xc]
call fcn.00404518
push eax
call sub.kernel32.dll_CreateFileA
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x45d492
xor ebx, ebx
jmp 0x45d5f6
cmp byte [ebp + 8], 0
je 0x45d4cb
mov eax, dword [ebx + 0xa3c]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + 0x34]
mov ecx, edx
add ecx, dword [eax + 0x50]
cmp ecx, 0x7f600000
jae 0x45d4b9
cmp edx, 0x7f600000
jb 0x45d4c2
mov dword [ebp - 0x18], 0x400000
jmp 0x45d4da
mov dword [ebp - 0x18], 0x7f600000
jmp 0x45d4da
mov eax, dword [ebx + 0xa3c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
mov eax, dword [esi]
push eax
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 4]
push eax
push 0x120
push 0x465ff0
mov eax, dword [esi]
push eax
call sub.kernel32.dll_WriteFile_1
push ebp
mov eax, 0x88
call fcn.0045d3fc
pop ecx
push 0
lea eax, [ebp - 4]
push eax
push 0x20
push 0x466110
mov eax, dword [esi]
push eax
call sub.kernel32.dll_WriteFile_1
push ebp
mov eax, 0x38
call fcn.0045d3fc
pop ecx
push 0
lea eax, [ebp - 4]
push eax
push 0x2a
push 0x466130
mov eax, dword [esi]
push eax
call sub.kernel32.dll_WriteFile_1
lea eax, [ebp - 0x1ee]
xor ecx, ecx
mov edx, 0x1d6
call fcn.00402ca8
lea eax, [ebp - 0x1ee]
mov edx, dword [ebp - 0x10]
call fcn.00408900
push 0
lea eax, [ebp - 4]
push eax
push 0x1d6
lea eax, [ebp - 0x1ee]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
push 0
push 0xdc
mov eax, dword [esi]
push eax
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
push 0
push 0x21a
mov eax, dword [esi]
push eax
call sub.kernel32.dll_SetFilePointer
push 0x45d624
push 0x45d634
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
push 0x45d634
call sub.kernel32.dll_GetModuleHandleA_2
sub ebx, eax
mov dword [ebp - 0x14], ebx
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [esi]
push eax
call sub.kernel32.dll_CloseHandle
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d618
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040407c
ret
Function at 0x45e850
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404508
mov eax, dword [ebp - 8]
call fcn.00404508
xor eax, eax
push ebp
push 0x45e9c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
cmp byte [ebx + 0xa34], 0
je 0x45e89d
mov eax, ebx
call fcn.0045e9f0
mov dword [ebx + 0x184], 0x10002
xor eax, eax
mov dword [ebx + 0x690], eax
xor eax, eax
mov dword [ebx + 0x6ac], eax
mov byte [ebx + 0xa34], 1
mov byte [ebx + 0xa2c], 0
xor eax, eax
mov dword [ebx + 0xa30], eax
mov dl, 1
mov eax, dword [0x45b9dc]
call fcn.0045bb98
mov esi, eax
mov dword [ebx + 0xa3c], esi
mov ecx, 0x80000000
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0045c364
mov eax, dword [ebx + 0xa3c]
cmp dword [eax + 0x44], 1
jne 0x45e99c
cmp byte [eax + 0x40], 0
je 0x45e95c
mov al, byte [ebp + 8]
push eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00408704
lea eax, [ebp - 0x10]
mov edx, 0x45e9e0
call fcn.00404320
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov eax, ebx
call fcn.0045d430
test al, al
je 0x45e99c
lea eax, [ebx + 0xa38]
mov edx, dword [ebp - 4]
call fcn.004040ac
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00408704
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov ecx, 0x45e9e0
call fcn.00404364
lea eax, [ebx + 0x114]
push eax
lea eax, [ebx + 0xd0]
push eax
push 0
push 0
push 6
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404518
push eax
mov eax, dword [ebp - 4]
call fcn.00404518
push eax
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x45e99c
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e9cb
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040407c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040407c
ret

Function at 0x45ebf8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor esi, esi
mov dword [ebx + 0x184], 0x10002
mov eax, dword [ebx + 0x118]
push eax
call sub.kernel32.dll_ResumeThread
jmp 0x45ec24
mov eax, ebx
call fcn.0045e7fc
test al, al
je 0x45ec61
cmp dword [ebx + 0xa30], 0
je 0x45ec19
mov eax, dword [ebx + 0xa30]
mov esi, eax
mov edx, eax
add edx, edi
mov eax, ebx
call fcn.0045d330
mov eax, ebx
call fcn.0045e7fc
test al, al
je 0x45ec54
cmp dword [ebx + 0x190], 9
jne 0x45ec40
mov edx, dword [ebx + 0xbc]
mov eax, ebx
call fcn.0045d264
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x462520
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffff8
xor eax, eax
mov dword [esp], eax
mov eax, dword [0x466460]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x462548
or dword [esp], 0x1000000
mov eax, dword [0x466460]
mov eax, dword [eax]
mov eax, dword [eax + 0x300]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x462568
or dword [esp], 0x2000000
mov eax, dword [0x466460]
mov eax, dword [eax]
mov eax, dword [eax + 0x304]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x462588
or dword [esp], 0x3000000
mov eax, dword [0x466460]
mov eax, dword [eax]
mov eax, dword [eax + 0x30c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4625a5
or dword [esp], 1
mov eax, dword [0x466460]
mov eax, dword [eax]
mov eax, dword [eax + 0x318]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4625c2
or dword [esp], 2
cmp dword [0x468cc4], 0xffffffff
je 0x4625ed
cmp dword [0x468cc4], 0
je 0x4625ed
push 0
lea eax, [esp + 8]
push eax
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x468cc4]
push eax
call sub.kernel32.dll_WriteFile_1
pop ecx
pop edx
ret
Function at 0x402a60
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x402a81
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x402a78
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x402a70
mov eax, ebx
leave
ret

Function at 0x402aa7
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x402b06
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x402b33
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x402b22
xor ecx, eax
xor edx, ebx
dec edi
jne 0x402b13
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x402b59
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x402afa
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x403399
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0xff8bff8b
mov dword ds:[ebp - 0x14], 0xff8bff8b
mov dword ds:[ebp - 0x1c], 0xff8bff8b
push 0x7fc
push dword [ebp - 0x20]
call fcn.00402a26
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x403578
push dword [ebp - 4]
call fcn.00402a0a
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403469
jmp 0x403578
push dword [ebp - 4]
call fcn.00402a0a
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x4034bd
lea eax, [ebp - 4]
push eax
call fcn.0040337f
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.00402c31
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4034bd
mov eax, 1
jmp 0x4034bf
xor eax, eax
test eax, eax
je 0x40356d
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x403565
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.0040319c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x403554
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.00403358
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x403507
add esp, 0xc
jmp 0x403578
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x403442
add esp, 0xc
mov edi, edi
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0
jmp 0x403599
mov esp, ebp
pop ebp
ret 8
Function at 0x435370
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bc02b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004ae1d5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4353f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004ab46d
mov eax, dword [eax]
push 0x5bd254
push eax
call fcn.0049d4f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ae460
test bl, bl
je 0x4353f2
push 0x5bd254
lea ecx, [esp + 0xc]
call fcn.004ae83c
push 0x5c0de0
lea ecx, [esp + 0xc]
call fcn.004ae83c
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43542e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ae460
jmp 0x4354f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4354b2
lea edx, [esp + 0x7c]
push 0x5c0ddc
push edx
call fcn.0049d4f4
add esp, 8
test eax, eax
je 0x4354b2
lea eax, [esp + 0x7c]
push 0x5c0dd8
push eax
call fcn.0049d4f4
add esp, 8
test eax, eax
je 0x4354b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x435442
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004ae460
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x435cf0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x435d52
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x435d60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bc0ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5cf8dc]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x435e98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x435dc6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ae460
xor eax, eax
jmp 0x435f0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ae5e9
push esi
lea ecx, [esp + 0xc]
call fcn.004ae878
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x435eed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00435cf0
test eax, eax
jne 0x435eed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00435cf0
test eax, eax
jne 0x435eed
lea eax, [esp + 0x14]
push 0x5c0df4
push eax
call fcn.0049e6a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x435ecc
lea ecx, [esp + 0x14]
push 0x5c0df0
push ecx
call fcn.0049e620
mov esi, eax
add esp, 8
test esi, esi
jne 0x435ecc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x435ecf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ae599
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x435dde
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ae460
xor eax, eax
jmp 0x435f0f
mov byte [esi], 0
push 0x5c0dec
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004ae460
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x449320
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x44938e
cmp si, 0x69
ja 0x44938e
add esi, 0xffd0
cmp si, 0x11
je 0x44935e
push 0x11
call edi
test ax, ax
jge 0x44935e
or esi, 0x2000
cmp si, 0x10
je 0x449373
push 0x10
call edi
test ax, ax
jge 0x449373
or esi, 0x4000
cmp si, 0x12
je 0x449388
push 0x12
call edi
test ax, ax
jge 0x449388
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44939b
mov esi, 0xbd
jmp 0x44934f
cmp si, 0x6e
jne 0x4493a8
mov esi, 0xbe
jmp 0x44934f
cmp si, 0x6f
jne 0x449349
mov esi, 0xbf
jmp 0x44934f

Function at 0x44ab60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5e0848]
xor edx, edx
cmp eax, edx
jne 0x44ab86
xor eax, eax
mov byte [eax + 0x5e0748], al
inc eax
cmp eax, 0x100
jl 0x44ab6e
mov dword [0x5e0848], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5e0748
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x44ac17
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x44abea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x44abb8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44ac90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x44ace3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x44acca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret