joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2da3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02da378f
jae 0x2da370e
xor ecx, ecx
call fcn.02da378f
jae 0x2da373d
xor eax, eax
call fcn.02da378f
jae 0x2da374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02da378f
adc al, al
jae 0x2da372f
jne 0x2da3779
stosb byte es:[edi], al
jmp 0x2da3711
call fcn.02da379b
sub ecx, ebx
jne 0x2da3756
call fcn.02da3799
jmp 0x2da3775
lodsb al, byte [esi]
shr eax, 1
je 0x2da3783
adc ecx, ecx
jmp 0x2da3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02da3799
cmp eax, 0x7d00
jae 0x2da3772
cmp ah, 5
jae 0x2da3773
cmp eax, 0x7f
ja 0x2da3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2da3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x6ca926f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [esp], str.WARNING:_calling_stub_ClassInstall32_0x_lx_0x_p_0x_p__n
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
call sym._DbgPrint
xor eax, eax
leave
ret 0xc

Function at 0x6ca92760
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_SCardReleaseNewReaderEvent___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], 0x6ca966a8
mov dword [ebp - 0x40], str.SCardReleaseNewReaderEvent
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4
xor eax, eax
mov edi, dword [ebp - 4]
sub esp, 4
leave
ret
Function at 0x6ca94450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea esi, [ebp + 0xc]
sub esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], 0x6ca967b8
call sym._fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll_vfprintf]
call sym._abort
lea esi, [esi]
Function at 0x419a10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
jmp 0x419a2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419a31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419a20
mov eax, 1
add ebx, ebx
jne 0x419a43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419a38
jne 0x419a54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a38
xor ecx, ecx
sub eax, 3
jb 0x419a68
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419ada
mov ebp, eax
add ebx, ebx
jne 0x419a73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419a80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419aa4
inc ecx
add ebx, ebx
jne 0x419a90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419a85
jne 0x419aa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a85
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419ac4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419ab5
jmp 0x419a26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419ac4
add edi, ecx
jmp 0x419a26
pop esi
mov edi, esi
mov ecx, 0xe3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419ae2
cmp byte [edi], 0
jne 0x419ae2
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 0x419ae7
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419b56
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x196b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19708]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419b14
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1970c]
or eax, eax
je 0x419b50
mov dword [ebx], eax
add ebx, 4
jmp 0x419b31
call dword [esi + 0x1971c]
mov ebp, dword [esi + 0x19710]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x419b8a
sub esp, 0xffffff80
jmp 0x40304c
Function at 0x100aeabc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
test esi, esi
jle 0x100aeb1f
mov ecx, dword [ebp + 0x10]
sub dword [ebp + 0xc], ecx
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
push edi
inc bl
movzx ebx, bl
mov cl, byte [edx + ebx + 8]
add al, cl
movzx eax, al
mov dword [ebp + 8], eax
mov edi, dword [ebp + 8]
mov al, byte [edx + eax + 8]
mov byte [edx + ebx + 8], al
add al, cl
movzx eax, al
mov byte [edx + edi + 8], cl
mov cl, byte [eax + edx + 8]
mov eax, dword [ebp + 0x10]
xor cl, byte [esi + eax]
mov byte [eax], cl
inc eax
sub dword [ebp - 4], 1
mov dword [ebp + 0x10], eax
mov eax, edi
jne 0x100aeade
mov esi, dword [ebp + 0x14]
pop edi
mov dword [edx + 4], eax
mov eax, esi
pop esi
mov dword [edx], ebx
pop ebx
leave
ret

Function at 0x100b2b80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
test ebx, ebx
je 0x100b2bdb
mov edi, dword [ebp + 0xc]
test edi, 0xffff0000
jne 0x100b2ba5
sub edi, dword [ebx + esi + 0x10]
jmp 0x100b2bf6
mov ecx, dword [ebx + esi + 0x20]
xor eax, eax
add ecx, esi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp dword [ebx + esi + 0x18], eax
jbe 0x100b2bdb
mov eax, dword [ecx + eax*4]
add eax, esi
push edi
push eax
call fcn.100b2df8
pop ecx
pop ecx
test eax, eax
je 0x100b2be4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ebx + esi + 0x18]
jb 0x100b2bb9
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x100b2bdb
mov eax, dword [ebx + esi + 0x24]
lea eax, [eax + ecx*2]
movzx edi, word [eax + esi]
cmp edi, 0xffffffff
je 0x100b2bdb
cmp edi, dword [ebx + esi + 0x14]
jae 0x100b2bdb
mov eax, dword [ebx + esi + 0x1c]
lea eax, [eax + edi*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x100b2bdd
Function at 0x101176d4
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push edi
mov ebx, 0x10111bb4
mov eax, dword [eax + 0xc]
push ebx
mov edi, dword [eax + 0x18]
push dword [edi + 0x28]
call fcn.10110260
pop ecx
pop ecx
test eax, eax
jne 0x101176fb
mov eax, dword [edi + 0x10]
jmp 0x1011771a
push esi
mov esi, dword [edi + 4]
jmp 0x10117713
push ebx
push dword [esi + 0x28]
call fcn.10110260
pop ecx
pop ecx
test eax, eax
je 0x1011771d
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x10117701
xor eax, eax
pop esi
pop edi
pop ebx
ret
mov eax, dword [esi + 0x10]
jmp 0x10117719
Function at 0x100aa2b3
Capabilities:
Check os version

Disassembly:
pushfd
jmp 0x101205f7
lea esp, [esp + 0xc]
jb 0x100ad79b
clc
jae 0x10124951
xor dh, dl
stc
test dh, 1
call fcn.10120e01
pushfd
mov word [esp], bp
bt cx, bx
xor dh, dl
cmp ecx, edx
test dh, 1
call fcn.10127123

Function at 0x100aa49a
Capabilities:
Check os version

Disassembly:
bt edi, edi
sub ecx, eax
pushfd
not al
pushfd
mov al, byte [ebp - 2]
mov dword [esp + 8], 0xf972f55
jmp 0x101216eb
push 0xa66e16c0
pushal
stosb byte es:[edi], al
mov byte [esp], 0xaf
push dword [esp]
push 0xb56b2220
lea esp, [esp + 0x38]
jmp fcn.1011fdd1

Function at 0x100ad791
Capabilities:
Check os version

Disassembly:
lea esp, [esp + 0x2c]
jae 0x10120e17

Function at 0x1012167a
Capabilities:
Check os version

Disassembly:
test cl, ch
mov dword [esp], eax
push ecx
mov dword [esp], ecx
test ebp, 0xab132fd6
pushal
cmp eax, 4
push dword [esp]
push edi
mov byte [esp + 0xc], bh
lea esp, [esp + 0x28]
jb 0x10122708
stc
push 0x802c603c
stc
rol cl, 7
mov eax, 3
bswap cx
mov ecx, 6
call fcn.10121863
call fcn.1012137d
pushfd
lea esp, [esp + 0x30]
call fcn.1012612b
bt si, sp
test al, 0xb6
cmp al, bl
cmc
mov dword [ebp - 0x20], eax
pushfd
cmc
cmc
cmp eax, 4
push dword [esp]
push dword [esp]
call fcn.100a93c9

Function at 0x10122570
Capabilities:
Check os version

Disassembly:
jmp 0x101274b5
push esp
mov word [esp + 4], bx
lea esp, [esp + 0x2c]
jae 0x10120e17
rol bh, 1
movsx bx, bl
btc bx, ax
xor eax, 0x8e969569
pop ebx
bt di, 3
bsr cx, di
pop ecx
bswap ax
aam 0x91
shl al, 6
pushal
mov byte [ebp - 2], dl
dec ah
jmp 0x100a90d7
jmp 0x10113878
pushal
pushfd
adc dl, dl
jmp 0x10120901

Function at 0x101226f3
Capabilities:
Check os version

Disassembly:
bt bx, bp
jmp 0x10126762
pushfd
lea esp, [esp + 0x2c]
jb 0x10122708
cmc
lahf
rol ch, 2
mov eax, 3
movzx cx, dl
mov ecx, 6
jmp 0x100aab68
push edi
push dword [esp]
pushal
lea eax, [ebx + eax*4 + 0x6c0]
pushfd
push ebp
call fcn.10123614
shl eax, cl
jmp 0x10123297

Function at 0x101232aa
Capabilities:
Check os version

Disassembly:
push edi
mov byte [esp], 0x39
lea esp, [esp + 4]
je 0x100a9393
pushal
lea eax, [ebx + edx*4]
push dword [esp + 8]
pushfd
pushfd
lea esp, [esp + 0x2c]
call fcn.1012445a
pushal
push 0xaeee32b
adc dl, dl
pushfd
mov byte [esp], bh
call fcn.10124df3
in eax, 0x41
xchg edx, eax
aad 0xae
int1
or ebp, ecx
test eax, 0x12b685ce
outsd dx, dword [esi]
xchg ebp, eax
or dword [ebp - 0xe], esi
fdiv qword [eax]
lodsb al, byte [esi]
insd dword es:[edi], dx
sub al, al
mov ah, 0xb4
sbb eax, 0xbcb700a6
sbb cl, dl
rol byte [esi - 0x3a], cl
mov ebp, 0x734d907d
xor eax, dword [esp + ebx - 0x6b]
inc esi
mov al, 0x69
test dword [edi], 0xecb0e4bb
jg 0x100a72ff
mov dword [edi - 0x13], edx
cmp al, 0x84
sbb eax, dword [eax + edx*2 + 0x3858f61e]
std
pop eax
cmp ch, bh
adc esi, dword [esp + ebx*8 + 0x5feed049]
stosd dword es:[edi], eax
dec ebx
and byte [ecx - 0x4e], bh
push ds
jl 0x100a732c
invalid
adc dl, dl
push ecx
lea esp, [esp + 0x10]
jb 0x100ad79b
stc
xor dh, dl
test edx, 0x2405518b
cmp bl, dh
cmc
cmp al, cl
test dh, 1
mov dh, bl
mov dh, 0
jmp 0x100a72b6
Function at 0x10124dd1
Capabilities:
Check os version

Disassembly:
xor dh, dl
bt bp, 3
cmp bx, cx
test bl, 0x25
push esp
test dh, 1
push 0x35cfe7a3
call fcn.100a75c0
loope 0x100a753c
mov dword [ebx - 0x50], edx
int1
or esi, dword [eax + 0x4447fc7b]
lahf
movsb byte es:[edi], byte [esi]
add byte [ecx + 0x7a616ec1], bl
mov ecx, 0x1c970a5a
dec ebx
cmc
pop ss
or eax, 0x9410c4a8
fldcw word [ebx - 0x4c025401]
inc eax
rol byte [eax + ecx*2], 1
push ecx
push es
jmp dword [ecx]
imul edi, dword [edx - 0x6a], 0x16
lodsd eax, dword [esi]
invalid
push 0x17c3965
adc dl, dl
push dword [esp + 4]
lea esp, [esp + 0xc]
jb 0x100ad79b
push edx
push ecx
pushal
jmp 0x100a74ca

Function at 0x10124df3
Capabilities:
Check os version

Disassembly:
jmp 0x1012693c
lea esp, [esp + 0x2c]
jae 0x10120e17
lea ebx, [esi - 0x51ea76f5]
mov ebx, esp
pop ebx
pushfd
pushal
lea esp, [esp + 0x24]
jmp 0x100ad7a0

Function at 0x408ac0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
inc ebx
dec ebp
or al, 0x56
mov esi, dword [ebp + 0x10]
or al, 0x4d
clc
mov byte [0x6a084d], al
mov edi, dword [ebx + edx*8]
lea esp, [0xf44589fc]
push 0x1a
push edx
mov ebp, dword [ebx + 4]
lea eax, [ebp - 0xc]
push 1
push eax
push edx
mov dword [ebp - 4], 0x3700009e
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
or al, 0x2c
push edi
mov edi, dword [0x40a2d8]
call edi
test eax, eax
je 0x408b15
mov dword [esi], eax
pop edi
pop esi
mov esp, ebp
xchg esi, eax
ret 0xc
call edi
mov dword [esi], 0xdc
pop edi
add eax, 0xafc80
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0xbb3000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0xbe4094]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00bc9960
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0xbb304f
cmp dword [ebp + 0xc], 0
jne 0xbb3059
jmp 0xbb312a
cmp dword [ebp + 0x10], 0
je 0xbb30ae
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
add eax, 2
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x218]
mov dx, word [ecx]
mov word [ebp - 0x21e], dx
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21e], 0
jne 0xbb3077
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x21c]
sar eax, 1
mov dword [ebp - 0x224], eax
jne 0xbb30b2
jmp 0xbb312a
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [0xbda12c]
mov edx, dword [ebp + 0x10]
push edx
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.00bc7dcd
add esp, 0xc
push 0xbe1678
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00bc7874
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0xbb30fe
jmp 0xbb312a
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00bc80ea
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.00bc7b22
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00bc75f8
mov esp, ebp
pop ebp
ret
Function at 0xbb3460
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
push 0x3e8
call dword [0xbda148]
push 0xbe171c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.00bc7874
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0xbb34b4
jmp 0xbb35d6
push 2
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.00bc855f
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call fcn.00bc8781
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00bc87ef
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00bc855f
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp - 8]
push eax
call fcn.00bc80ea
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x14]
je 0xbb3523
jmp 0xbb35ac
call dword [0xbda134]
push eax
call fcn.00bc84a1
add esp, 4
push 0x32
push 0xa
call fcn.00bb3390
add esp, 8
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x10]
jge 0xbb354d
jmp 0xbb35ac
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 8]
push ecx
call fcn.00bb33e0
add esp, 8
mov edx, dword [ebp - 4]
push edx
call fcn.00bc7b22
add esp, 4
mov eax, dword [ebp + 8]
push eax
call dword [0xbda124]
push 0xbe17b4
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00bc7874
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0xbb3596
jmp 0xbb35d6
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
call fcn.00bc7a29
add esp, 0x10
cmp dword [ebp - 4], 0
je 0xbb35be
mov eax, dword [ebp - 4]
push eax
call fcn.00bc7b22
add esp, 4
cmp dword [ebp - 8], 0
je 0xbb35d6
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00bc75ed
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0xbb67a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0xbb67d5
cmp dword [ebp + 0xc], 0xa
jae 0xbb67e6
mov dword [ebp - 0x10], 0xffffffff
jmp 0xbb68bd
mov eax, dword [ebp + 0xc]
shl eax, 2
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
push ecx
call fcn.00bc7656
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00bb66e0
add esp, 0x14
test eax, eax
je 0xbb68b6
push 0xbe0844
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00bc7874
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0xbb684b
mov dword [ebp - 0x10], 0xfffffffe
jmp 0xbb68bd
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp - 4]
push edx
call fcn.00bc7a29
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
je 0xbb6877
mov dword [ebp - 0x10], 0xfffffffe
jmp 0xbb68bd
call dword [0xbda134]
xor edx, edx
mov ecx, 0x1f4
div ecx
mov dword [ebp - 0x20], edx
call dword [0xbda134]
xor edx, edx
mov ecx, 0x3e8
div ecx
add edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 1
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00bc7a29
add esp, 0x10
jmp 0xbb68bd
mov dword [ebp - 0x10], 0xfffffffd
cmp dword [ebp - 0x14], 0
je 0xbb68cf
mov edx, dword [ebp - 0x14]
push edx
call fcn.00bc7b22
add esp, 4
cmp dword [ebp - 4], 0
je 0xbb68e1
mov eax, dword [ebp - 4]
push eax
call fcn.00bc7720
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0xbb9fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0xbb9fe0
xor eax, eax
jmp 0xbba17d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0xbba13e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0xbdfb88]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0xbdfb88]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0xbdfb88]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0xbdfb88]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0xbdfb88]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0xbdfb88]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0xbdfb88]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0xbdfb88]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0xbb9fe9
cmp dword [ebp + 0x10], 0
je 0xbba177
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0xbdfb88]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0xbba144
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x44c6e4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4db940]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x44c72f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0044cbef
test al, al
jne 0x44c729
sub edx, 2
cmp edx, edi
jne 0x44c70f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x44c751
lea eax, [edi + 2]
cmp edx, eax
je 0x44c751
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0044c2dd
add esp, 0x10
jmp 0x44c84b
push esi
lea ecx, [ebp - 0x255]
call fcn.0044cbef
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44c794
push dword [ebp - 0x25c]
jmp 0x44c741
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x44c7d1
cmp word [ebp - 0x226], 0
je 0x44c7f2
cmp word [ebp - 0x226], ax
jne 0x44c7d1
cmp word [ebp - 0x224], 0
je 0x44c7f2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0044c2dd
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x44c83e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x44c7ab
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x44c826
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x44c84b
push 0x44bbc3
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00403e36
add esp, 0x10
jmp 0x44c81b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004025cc
leave
ret