joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59b620
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3d1f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x616040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [ebp - 0x20]
mov dword [esi + 0x78], 0
call fcn.00417716
push 0x66
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0041792c
call fcn.00416d27
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x59b703
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x59b69c
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.00417765
call fcn.00416d27
lea ecx, [ebp - 0x20]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00417994
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x59b703
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp word [eax], 1
jne 0x59b72d
mov ecx, 0xffff
cmp word [eax + 2], cx
jne 0x59b72d
cmp dword [0x62202c], 0
je 0x59b72d
or dword [eax + 8], 0x400000
push 0
push dword [esi + 0x88]
mov ecx, esi
push eax
call fcn.0041a15c
mov ecx, esi
call fcn.00419e9d
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00417751
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x59b900
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3e18
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x616040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
push 0x66
call fcn.00419943
mov dword [ebp - 4], 0
lea ecx, [esi + 0x98]
mov dword [esi], vtable.CDlgImageMerge.0
call fcn.00585860
mov byte [ebp - 4], 1
lea ecx, [esi + 0x118]
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
call fcn.00418844
mov dword [esi + 0x1a8], 0
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1b0], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x1cc]
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c8], 0
call fcn.00417c03
mov dword [esi + 0x1d4], 0
lea ecx, [esi + 0x1e8]
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1dc], 0
mov dword [esi + 0x1e0], 0
call fcn.0056ec40
mov dword [esi + 0x24c], 0
mov dword [esi + method.CBrush.virtual_0], vtable.CBrush.0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
mov dword [esi + 0x254], 0
mov dword [esi + 0xb0], esi
mov dword [esi + 0x100], eax
call fcn.00416d27
call fcn.00416d27
push 0x5a
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x4c
mov dword [esi + 0x1b8], eax
call fcn.0040d506
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x59ba8d
mov ecx, eax
call fcn.0059e680
mov dword [esi + 0x1d4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x1d4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x59d010
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b401f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x616040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push 0
mov dword [edi + 0x88], ebx
call fcn.00417716
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
movzx eax, ax
push eax
call fcn.0041792c
call fcn.00416d27
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x59d0fc
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x59d095
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 8], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.00417765
call fcn.00416d27
lea ecx, [ebp - 0x18]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
call fcn.00417994
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x59d0fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp word [esi], 1
jne 0x59d130
mov eax, 0xffff
cmp word [esi + 2], ax
jne 0x59d130
mov ecx, dword [edi + 0x88]
test ecx, ecx
je 0x59d130
cmp dword [ecx + 0x20], 0
je 0x59d130
call fcn.00414a61
or dword [esi + 8], eax
push 0
push ebx
push esi
mov ecx, edi
call fcn.00419e27
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00417751
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 8
Function at 0x59d170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b404a
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x616040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [ebp - 0x20]
mov dword [esi + 0x78], 0
call fcn.00417716
push 0x67
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0041792c
call fcn.00416d27
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x59d253
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x59d1ec
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.00417765
call fcn.00416d27
lea ecx, [ebp - 0x20]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00417994
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x59d253
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp word [eax], 1
jne 0x59d27d
mov ecx, 0xffff
cmp word [eax + 2], cx
jne 0x59d27d
cmp dword [0x62202c], 0
je 0x59d27d
or dword [eax + 8], 0x400000
push 0
push dword [esi + 0x88]
mov ecx, esi
push eax
call fcn.0041a15c
mov ecx, esi
call fcn.00419e9d
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00417751
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x59e0f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
or ebx, 0xffffffff
push edi
xor eax, eax
or edi, ebx
cmp dword [esi + 8], eax
jle 0x59e1a9
mov edx, dword [esi + 4]
xor ecx, ecx
mov edi, edi
mov edx, dword [ecx + edx + 0x88]
cmp edi, edx
jge 0x59e11f
mov edi, edx
mov ebx, eax
mov edx, dword [esi + 4]
inc eax
add ecx, 0x90
cmp eax, dword [esi + 8]
jl 0x59e110
test ebx, ebx
js 0x59e1a9
lea ebx, [ebx + ebx*8]
mov ecx, edx
add ebx, ebx
mov eax, dword [ecx + ebx*8 + 0x88]
mov dword [ebp - 4], eax
test eax, eax
js 0x59e183
mov dword [ecx + ebx*8 + 0x88], 0xffffffff
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x59e183
xor edx, edx
jmp 0x59e160
mov edi, dword [esi + 4]
mov eax, dword [edi + edx + 0x88]
cmp eax, dword [ebp - 4]
jle 0x59e177
dec eax
mov dword [edi + edx + 0x88], eax
inc ecx
add edx, 0x90
cmp ecx, dword [esi + 8]
jl 0x59e160
mov eax, dword [esi + 4]
push dword [eax + ebx*8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 4]
push dword [eax + ebx*8 + 0x20]
call fcn.0040d533
mov eax, dword [esi + 4]
add esp, 4
mov dword [eax + ebx*8 + 0x20], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b180
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x43b319
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d000]
push edi
jmp 0x43b1aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43b1b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43b1a0
mov eax, 1
add ebx, ebx
jne 0x43b1c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43b1b8
jne 0x43b1d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43b1b8
xor ecx, ecx
sub eax, 3
jb 0x43b1e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43b25a
mov ebp, eax
add ebx, ebx
jne 0x43b1f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43b200
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43b224
inc ecx
add ebx, ebx
jne 0x43b210
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43b205
jne 0x43b221
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43b205
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43b244
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43b235
jmp 0x43b1a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43b244
add edi, ecx
jmp 0x43b1a6
pop esi
lea edi, [esi + 0x36000]
mov ecx, 6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43b266
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x43b26b
lea edi, [esi + 0x37000]
mov eax, dword [edi]
or eax, eax
je 0x43b2dc
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3b354]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3b4c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43b291
mov ecx, edi
jns 0x43b2c0
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 + 0x3b4cc]
or eax, eax
je 0x43b2d6
mov dword [ebx], eax
add ebx, 4
jmp 0x43b2ae
popal
xor eax, eax
ret 0xc
mov ebp, dword [esi + 0x3b4d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x43b310
sub esp, 0xffffff80
jmp 0x40a000
Function at 0x7e8cf8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7e8d02
pushal
call 0x7e8d08
pop ebp
sub ebp, 0x10
sub ebp, 0x3e8cf8
jmp 0x7e8d1e
mov eax, 0x3e8cf8
add eax, ebp
add eax, 0x4c
mov ecx, 0x607
mov edx, 0xe5a9aaa1
xor byte [eax], dl
inc eax
dec ecx
jne 0x7e8d35
jmp 0x7e8d48
sub ch, byte [edx + ebp + 0x28]
popfd
mov eax, dword [0x6020a1a1]
pop ecx
mov eax, dword [0x6ca2a1a1]
sbb dword [ebp + 0x1ba1a1a1], esp
mov dword [ecx + 0x4356a1a1], esp
mov byte [0xad202a69], al
mov eax, dword [0x64a2a1a1]
int1
sub al, 0xc5
test dword [ebp + 0x28], ebx
movsd dword es:[edi], dword [esi]
test ecx, ecx
xor ebx, ebx
scasd eax, dword es:[edi]
mov eax, dword [0x91b3c7c9]
mov eax, dword [0xc9858da0]
invalid
Function at 0x11460268
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.114603b8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1146028e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1146027a
add dl, dl
jne 0x11460299
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x114602ec
xor eax, eax
add dl, dl
jne 0x114602a6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1146038d
add dl, dl
jne 0x114602b5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x114602c0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x114602cb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x114602d6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x114602e2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x11460285
mov eax, 1
add dl, dl
jne 0x114602fa
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11460305
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x114602f1
sub eax, ebx
mov ebx, 1
jne 0x11460338
mov ecx, 1
add dl, dl
jne 0x1146031e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11460329
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11460315
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11460285
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1146034f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1146035a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11460346
cmp eax, 0x7d00
jae 0x1146037d
cmp eax, 0x500
jb 0x11460378
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11460285
cmp eax, 0x7f
ja 0x11460380
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11460285
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x114603ae
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x11460285
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x414dda
Capabilities:
Encode data using xor

Disassembly:
xor dword [edi], ecx
add edx, 0xbf718647
mov eax, 0x47a17dea
add edi, 4
add ebx, 0x3cfa6ec
cmp edi, esi
jne fcn.00414dda
and eax, eax
add ebx, 1
ret
Function at 0x4373b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e52cb
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.004d939b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x437432
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004d63ef
mov eax, dword [eax]
push 0x520cd4
push eax
call fcn.004c8294
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d9626
test bl, bl
je 0x437432
push 0x520cd4
lea ecx, [esp + 0xc]
call fcn.004d99b6
push 0x520ce0
lea ecx, [esp + 0xc]
call fcn.004d99b6
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 0x43746e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d9626
jmp 0x437539
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 0x4374f2
lea edx, [esp + 0x7c]
push 0x520cdc
push edx
call fcn.004c8294
add esp, 8
test eax, eax
je 0x4374f2
lea eax, [esp + 0x7c]
push 0x520cd8
push eax
call fcn.004c8294
add esp, 8
test eax, eax
je 0x4374f2
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 0x437482
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.004d9626
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 0x437d30
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 0x437d92
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 0x437da0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e534b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x530cb0]
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 0x437ed8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x437e06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d9626
xor eax, eax
jmp 0x437f4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d9763
push esi
lea ecx, [esp + 0xc]
call fcn.004d99f2
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 0x437f2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00437d30
test eax, eax
jne 0x437f2d
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.00437d30
test eax, eax
jne 0x437f2d
lea eax, [esp + 0x14]
push 0x520cf0
push eax
call fcn.004c9400
mov esi, eax
add esp, 8
test esi, esi
jne 0x437f0c
lea ecx, [esp + 0x14]
push 0x520cec
push ecx
call fcn.004c9380
mov esi, eax
add esp, 8
test esi, esi
jne 0x437f0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x437f0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d9713
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x437e1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d9626
xor eax, eax
jmp 0x437f4f
mov byte [esi], 0
push 0x520ce8
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.004d9626
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 0x44b810
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 0x44b87e
cmp si, 0x69
ja 0x44b87e
add esi, 0xffd0
cmp si, 0x11
je 0x44b84e
push 0x11
call edi
test ax, ax
jge 0x44b84e
or esi, 0x2000
cmp si, 0x10
je 0x44b863
push 0x10
call edi
test ax, ax
jge 0x44b863
or esi, 0x4000
cmp si, 0x12
je 0x44b878
push 0x12
call edi
test ax, ax
jge 0x44b878
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44b88b
mov esi, 0xbd
jmp 0x44b83f
cmp si, 0x6e
jne 0x44b898
mov esi, 0xbe
jmp 0x44b83f
cmp si, 0x6f
jne 0x44b839
mov esi, 0xbf
jmp 0x44b83f

Function at 0x44d220
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x541548]
xor edx, edx
cmp eax, edx
jne 0x44d246
xor eax, eax
mov byte [eax + 0x541448], al
inc eax
cmp eax, 0x100
jl 0x44d22e
mov dword [0x541548], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x541448
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x44d2d7
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 0x44d2aa
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 0x44d278
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44d2e0
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 0x44d333
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 0x44d31a
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