joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443ef0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4934c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x41c], ecx
lea ecx, [ebp - 0x40c]
push edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], 0
mov edi, 0x400
jmp 0x443f46
mov eax, dword [ebp - 0x410]
lea edx, [ebp - 0x40c]
sub ecx, edx
mov dword [ebp - 0x424], ecx
je 0x443fb0
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x443f68
call fcn.00429330
mov eax, dword [ebp - 0x424]
mov ebx, dword [esi + 8]
push eax
lea ecx, [ebp - 0x40c]
push ecx
push esi
call fcn.0042eef0
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
inc dword [ebp - 0x414]
lea eax, [ebp - 0x418]
add esp, 0xc
lea edx, [ebp - 0x40c]
push eax
mov dword [ebp - 0x418], edx
call fcn.0041dff0
add esp, 4
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x443fb9
mov edi, ebx
mov ecx, dword [ebp - 0x41c]
push ecx
push edi
lea edx, [ebp - 0x40c]
push 1
push edx
call fcn.0045c322
mov ecx, dword [ebp - 0x418]
add ecx, eax
add esp, 0x10
sub ebx, eax
mov dword [ebp - 0x418], ecx
mov dword [ebp + 0xc], ebx
je 0x443fef
cmp eax, edi
je 0x443f40
lea eax, [ebp - 0x40c]
sub ecx, eax
mov edi, ecx
je 0x444049
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x444013
call fcn.00429330
mov ebx, dword [esi + 8]
push edi
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.0042eef0
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x40c]
add esp, 0xc
inc dword [ebp - 0x414]
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x414]
mov esi, dword [ebp - 0x410]
call fcn.0041b230
mov dword [ebp - 0x414], 1
test ebx, ebx
je 0x4440c6
mov edi, dword [ebp - 0x420]
mov esi, dword [edi + 8]
mov eax, dword [esi - 8]
sub esi, 0x10
add eax, 0xfffffffd
cmp eax, 4
ja case.0x44407f.6
jmp dword [eax*4 + 0x4440dc]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
jmp 0x4440af
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
jmp 0x4440af
mov eax, dword [esi]
call fcn.004277f0
jmp 0x4440af
call fcn.00429560
test eax, eax
je 0x4440ad
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
jmp 0x4440af
xor eax, eax
test eax, eax
jne 0x4440c6
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004551b3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004551b3
mov esp, ebp
pop ebp
ret
Function at 0x446af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
mov esi, dword [eax*4 + 0x47d040]
mov eax, esi
mov dword [esp + 0xc], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x446b18
sub eax, edx
mov edi, eax
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0x14], edi
mov edx, edi
cmp edi, ecx
jb 0x446b58
movzx eax, byte [esi + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
mov esi, dword [esp + 0xc]
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x446b35
mov dword [esp + 0x14], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x446bd2
lea ecx, [ecx]
cmp dword [eax + 0xc], edi
jne 0x446bcc
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x446b94
nop
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x446bc4
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x446b80
test ecx, ecx
je 0x446c43
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x446bc4
cmp ecx, 1
jbe 0x446c43
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x446bc4
cmp ecx, 2
jbe 0x446c43
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x446c43
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x446b70
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, ebx
call fcn.0042ee20
add esp, 8
mov ecx, dword [esp + 0x10]
or byte [eax + 5], 0x20
lea edx, [ecx + 1]
inc ecx
mov byte [eax + 6], dl
mov dword [esp + 0x10], ecx
cmp ecx, 0x1f
jl 0x446b04
mov ecx, dword [0x47d118]
test ecx, ecx
je 0x446c3c
mov esi, 0x47d118
mov bl, 0x2d
mov edi, edi
mov eax, ecx
add esi, 4
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x446c18
sub eax, edi
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
call fcn.0042eef0
or byte [eax + 5], 0x20
mov byte [eax + 6], bl
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
jne 0x446c10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov cl, byte [eax + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx edx, cl
and edx, 3
not ebx
test bl, dl
je 0x446be1
xor cl, 3
mov byte [eax + 5], cl
jmp 0x446be1
Function at 0x448300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebx]
push edi
push esi
push eax
mov eax, ebx
call fcn.00447920
mov eax, dword [esi]
mov ecx, dword [ebx + 0x34]
add eax, 0x10
call fcn.0041c150
mov esi, eax
push 0x480c90
push esi
call fcn.00455f15
mov edi, eax
add esp, 0x10
mov dword [ebp - 8], edi
test edi, edi
jne 0x448395
mov ecx, dword [ebx + 0x34]
push esi
push str.Include_file_open_failed_n___s__n
push ecx
call fcn.0042f6a0
mov esi, dword [ebx + 0x34]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
lea ecx, [eax - 0x10]
add esp, 0xc
cmp ecx, eax
jae 0x44837f
lea edx, [ecx - 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [edx + 0x18]
mov dword [edx + 8], eax
add ecx, 0x10
add edx, 0x10
cmp ecx, dword [esi + 8]
jb 0x448364
mov ecx, dword [ebp - 4]
add dword [esi + 8], 0xfffffff0
push 0x131
push ecx
push ebx
call fcn.00446ea0
add esp, 0xc
mov eax, dword [ebx + 0x34]
add dword [eax + 8], 0xfffffff0
mov edx, dword [ebx + 0x3c]
mov dword [edx + 4], 0
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [ebx + 0x34]
push 0x400
push ecx
push edx
push eax
call fcn.00449d30
mov ecx, dword [ebx + 0x3c]
mov dword [ecx], eax
mov edx, dword [ebx + 0x3c]
mov dword [edx + 8], 0x400
mov esi, dword [ebx + 0x3c]
mov eax, dword [esi]
add eax, dword [esi + 4]
push edi
push 0x400
push 1
push eax
call fcn.0045c322
add esp, 0x20
test eax, eax
je 0x44846a
mov edi, edi
add dword [esi + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
add ecx, 0x400
cmp ecx, eax
jbe 0x448450
lea edi, [eax + eax]
cmp edi, 0x7ffffffe
jb 0x44841e
push 0
push str.lexical_element_too_long
push ebx
call fcn.00446ea0
add esp, 0xc
lea ecx, [edi + 1]
cmp ecx, 0xfffffffd
ja 0x44843c
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov ecx, dword [ebx + 0x34]
push edi
push edx
push eax
push ecx
call fcn.00449d30
add esp, 0x10
jmp 0x448448
mov edx, dword [ebx + 0x34]
push edx
call fcn.00449d10
add esp, 4
mov dword [esi + 8], edi
mov edi, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [esi]
add eax, dword [esi + 4]
push edi
push 0x400
push 1
push eax
call fcn.0045c322
add esp, 0x10
test eax, eax
jne 0x4483f0
push edi
call fcn.00456213
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
add esp, 4
call fcn.00446fa0
mov ecx, dword [ebp + 8]
pop edi
pop esi
mov dword [ecx], eax
mov eax, 0x131
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a1f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
je 0x44a22b
push 0x497900
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, esi
call fcn.00449e80
mov edi, eax
test edi, edi
je 0x44a22b
inc dword [edi + 0x14]
push 0x497900
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x44a24f
test esi, esi
je 0x44a247
push 0x497900
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x44a264
test esi, esi
jmp 0x44a35a
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push edx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x44a299
mov ecx, dword [ebx + 0x50]
push 4
push 0x2000
push ecx
push eax
call esi
mov edi, eax
test edi, edi
je 0x44a356
push 0x1c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
push 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov edx, dword [ebx + 0x50]
push 0x1000
push edx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [ebx + 0x54]
push 4
push 0x1000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 0x54]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 4], eax
push edx
push ecx
push eax
call fcn.00466930
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 4]
push esi
push ebx
mov dword [esi], eax
push ecx
mov dword [eax + 0x34], edi
call fcn.00449ec0
mov eax, edi
add esp, 0x18
sub eax, dword [ebx + 0x34]
je 0x44a31d
push eax
mov eax, esi
call fcn.0044a040
add esp, 4
push esi
call fcn.0044a0d0
add esp, 4
test eax, eax
je 0x44a34f
push esi
call fcn.00449f70
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
add esp, 4
mov ebx, 1
test eax, eax
je 0x44a373
add eax, edi
je 0x44a34f
push 0
push ebx
push edi
call eax
test eax, eax
jne 0x44a370
mov eax, esi
call fcn.0044a4c0
cmp dword [ebp + 0xc], 0
je 0x44a367
push 0x497900
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], ebx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], ebx
test eax, eax
je 0x44a3a4
push eax
call fcn.0045d396
add esp, 4
mov edi, esi
mov dword [esi + 0x18], eax
call fcn.00449d80
push 0x497900
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x14], ebx
pop ebx
pop edi
mov dword [esi + 0x18], 0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4551b3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4934c4]
jne 0x4551bd
repz ret
jmp fcn.0045d3e8
Function at 0x4569f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x456a17
call fcn.00456f8b
mov dword [eax], esi
call fcn.00456f78
push 0x16
pop esi
mov dword [eax], esi
call fcn.0045fb4b
mov eax, esi
jmp 0x456a6c
test dword [ebp + 0xc], 0xfffffff9
jne 0x4569fd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x456a44
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00456f9e
pop ecx
call fcn.00456f78
mov eax, dword [eax]
jmp 0x456a6c
test al, 0x10
jne 0x456a6a
test al, 1
je 0x456a6a
test byte [ebp + 0xc], 2
je 0x456a6a
call fcn.00456f8b
mov dword [eax], 5
call fcn.00456f78
mov dword [eax], 0xd
jmp 0x456a3b
xor eax, eax
pop esi
pop ebp
ret

Function at 0x46c14d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4934c4]
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.0045df4e
and dword [ebp - 0x14], 0
cmp dword [0x49618c], 0
mov dword [ebp - 0x18], eax
jne 0x46c200
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x46c2a8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x46c2a8
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x47ba5c
push ebx
mov dword [0x49618c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x496190], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x496194], eax
call edi
push eax
call esi
mov dword [0x49619c], eax
test eax, eax
je 0x46c200
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x496198], eax
mov eax, dword [0x496198]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x46c259
cmp dword [0x49619c], ecx
je 0x46c259
push eax
call esi
push dword [0x49619c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x46c259
test ebx, ebx
je 0x46c259
call edi
test eax, eax
je 0x46c250
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x46c250
test byte [ebp - 8], 1
jne 0x46c259
or dword [ebp + 0x10], 0x200000
jmp 0x46c28c
mov eax, dword [0x496190]
cmp eax, dword [ebp - 0x18]
je 0x46c28c
push eax
call esi
test eax, eax
je 0x46c28c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x46c28c
mov eax, dword [0x496194]
cmp eax, dword [ebp - 0x18]
je 0x46c28c
push eax
call esi
test eax, eax
je 0x46c28c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49618c]
call esi
test eax, eax
je 0x46c2a8
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x46c2aa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004551b3
leave
ret
Function at 0x444960
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e000]
push edi
or ebp, 0xffffffff
jmp 0x444982
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x444989
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x444978
mov eax, 1
add ebx, ebx
jne 0x44499b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4449ac
jne 0x4449cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4449cb
dec eax
add ebx, ebx
jne 0x4449b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x444990
add ebx, ebx
jne 0x4449c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x444a1d
xor ecx, ecx
sub eax, 3
jb 0x4449e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x444a52
sar eax, 1
mov ebp, eax
jmp 0x4449ee
add ebx, ebx
jne 0x4449ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4449bc
inc ecx
add ebx, ebx
jne 0x4449fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4449bc
add ebx, ebx
jne 0x444a09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4449fe
jne 0x444a1a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4449fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x444a3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x444a2e
jmp 0x44497e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x444a3c
add edi, ecx
jmp 0x44497e
pop esi
mov edi, esi
mov ecx, 0x1c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x444a5a
cmp byte [edi], 9
jne 0x444a5a
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 0x444a5f
lea edi, [esi + 0x42000]
mov eax, dword [edi]
or eax, eax
je 0x444ad7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x44fbc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x44ff8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x444a8c
mov ecx, edi
jns 0x444abb
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 + 0x44ffc]
or eax, eax
je 0x444ad1
mov dword [ebx], eax
add ebx, 4
jmp 0x444aa9
call dword [esi + 0x4500c]
mov ebp, dword [esi + 0x45000]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x444b0b
sub esp, 0xffffff80
jmp 0x4011c8
Function at 0x589c80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x636bdb
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.0062a079
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x589d02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.006269f1
mov eax, dword [eax]
push 0x6f3228
push eax
call fcn.00618644
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0062a304
test bl, bl
je 0x589d02
push 0x6f3228
lea ecx, [esp + 0xc]
call fcn.0062a694
push 0x6f6e04
lea ecx, [esp + 0xc]
call fcn.0062a694
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 0x589d3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0062a304
jmp 0x589e09
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 0x589dc2
lea edx, [esp + 0x7c]
push 0x6f6e00
push edx
call fcn.00618644
add esp, 8
test eax, eax
je 0x589dc2
lea eax, [esp + 0x7c]
push 0x6f6dfc
push eax
call fcn.00618644
add esp, 8
test eax, eax
je 0x589dc2
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 0x589d52
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.0062a304
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 0x58b080
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 0x58b0e2
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 0x58b0f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x636d3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x70c7f4]
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 0x58b228
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x58b156
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0062a304
xor eax, eax
jmp 0x58b29f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0062a441
push esi
lea ecx, [esp + 0xc]
call fcn.0062a6d0
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x6f6e3c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x58b27d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0058b080
test eax, eax
jne 0x58b27d
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 SysReAllocString
mov ecx, edi
call fcn.0058b080
test eax, eax
jne 0x58b27d
lea eax, [esp + 0x14]
push 0x6f6e18
push eax
call fcn.00619830
mov esi, eax
add esp, 8
test esi, esi
jne 0x58b25c
lea ecx, [esp + 0x14]
push 0x6f6e14
push ecx
call fcn.006197b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x58b25c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x58b25f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0062a3f1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x58b16e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0062a304
xor eax, eax
jmp 0x58b29f
mov byte [esi], 0
push 0x6f6e10
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.0062a304
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 0x5a3790
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 0x5a37fe
cmp si, 0x69
ja 0x5a37fe
add esi, 0xffd0
cmp si, 0x11
je 0x5a37ce
push 0x11
call edi
test ax, ax
jge 0x5a37ce
or esi, 0x2000
cmp si, 0x10
je 0x5a37e3
push 0x10
call edi
test ax, ax
jge 0x5a37e3
or esi, 0x4000
cmp si, 0x12
je 0x5a37f8
push 0x12
call edi
test ax, ax
jge 0x5a37f8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x5a380b
mov esi, 0xbd
jmp 0x5a37bf
cmp si, 0x6e
jne 0x5a3818
mov esi, 0xbe
jmp 0x5a37bf
cmp si, 0x6f
jne 0x5a37b9
mov esi, 0xbf
jmp 0x5a37bf

Function at 0x5a5040
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x71d300]
xor edx, edx
cmp eax, edx
jne 0x5a5066
xor eax, eax
mov byte [eax + 0x71d200], al
inc eax
cmp eax, 0x100
jl 0x5a504e
mov dword [0x71d300], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x71d200
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5a50f7
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 0x5a50ca
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 0x5a5098
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x5a5170
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 0x5a51c3
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 0x5a51aa
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