joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c740
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x59ec64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45c8c7
sub esp, 0x24
movzx eax, byte [esp + 0x28]
movzx ebx, al
add ebx, dword [edx + 4]
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
mov edi, esi
shl esi, 8
or ebp, esi
shr edi, 0x18
movzx esi, byte [ebx + 2]
mov ecx, esi
shr esi, 0x10
or esi, edi
shl ecx, 0x10
or ecx, ebp
movzx ebp, byte [ebx + 3]
mov edi, ebp
shr ebp, 8
or ebp, esi
shl edi, 0x18
movzx esi, byte [ebx + 4]
or esi, ebp
movzx ebp, byte [ebx + 5]
shl ebp, 8
or esi, ebp
movzx ebp, byte [ebx + 6]
shl ebp, 0x10
or esi, ebp
movzx ebx, byte [ebx + 7]
shl ebx, 0x18
or edi, ecx
or ebx, esi
movzx ebp, byte [esp + 0x29]
xchg ebp, eax
cmp al, 8
xchg ebp, eax
jae 0x45c854
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], edi
shl ebp, 3
lea ecx, [ebp - 0x40]
neg ecx
mov byte [esp + 0xa], cl
shl ebx, cl
mov esi, edi
shl esi, cl
add ebp, 0xffffffe0
mov ecx, ebp
shr edi, cl
neg ecx
mov byte [esp + 0xb], cl
mov eax, dword [esp + 0x18]
shl eax, cl
cmp cl, 0x20
sbb edx, edx
mov dword [esp + 0x18], edx
and eax, edx
movzx edx, byte [esp + 0xa]
cmp dl, 0x20
sbb ecx, ecx
mov dword [esp + 0x14], ecx
and ebx, ecx
and esi, ecx
mov ecx, edx
shr esi, cl
mov edx, dword [esp + 0x14]
and esi, edx
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
sbb edx, edx
and edi, edx
or edi, ebx
or edi, eax
mov eax, ecx
movzx ecx, byte [esp + 0xb]
mov ebx, edi
shr edi, cl
mov ecx, esi
mov esi, dword [esp + 0x18]
and edi, esi
mov esi, ecx
mov ecx, eax
mov eax, ebx
shr ebx, cl
mov ecx, ebp
shl eax, cl
and eax, edx
or eax, esi
mov edx, dword [esp + 0x14]
and ebx, edx
or edi, eax
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov eax, dword [edx + 8]
mov dword [esp + 0x1c], eax
call sym.runtime.printlock
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call sym.runtime.printhex
call sym.runtime.printunlock
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
movzx ecx, byte [esp + 0x28]
mov byte [esp], cl
movzx ecx, byte [esp + 0x2a]
mov byte [esp + 1], cl
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x45c8c3
call sym.runtime.printlock
lea eax, [0x4f4108]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
call sym.runtime.printunlock
add esp, 0x24
ret
call sym.runtime.morestack
jmp sym.runtime.printArgs.func2
Function at 0x45e020
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x59ec64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45e0bb
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x59ec64]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.004684d7
lea ecx, [sym.runtime.callers.func1]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call sym.runtime.systemstack
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime.callers
Function at 0x464d80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x59ec64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x464ee0
sub esp, 0x1c
mov eax, dword [esp + 0x20]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x18], ecx
nop
mov dword [esp], ecx
call sym.runtime.lock2
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x464ec9
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call sym.runtime._pollDesc_.publishInfo
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
call sym.runtime.netpollunblock
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
call sym.runtime.netpollunblock
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x464e50
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x59ed50]
test eax, eax
jne 0x464e37
mov eax, dword [esp + 0x20]
jmp 0x464e45
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x464e87
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x59ed50]
test eax, eax
jne 0x464e72
mov eax, dword [esp + 0x20]
jmp 0x464e80
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x78]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.runtime.unlock2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x464ead
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
mov eax, dword [esp + 0x10]
test eax, eax
je 0x464ec5
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
add esp, 0x1c
ret
lea eax, [0x4d7877]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_poll.runtime_pollUnblock

Function at 0x468220
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x59eb47], 0
je 0x46823a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x468240
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x59eb47], 0
je 0x46825b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

Function at 0x469020
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x46903a
mov ecx, 0x14
jmp 0x469043
shl ecx, 2
add ecx, 0xe10
mov dword [0x59ec64], ecx
ret
Function at 0x482f40
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x59ec64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48312a
sub esp, 0x48
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 0xa]
mov edx, dword [0x57620c]
movzx ebx, word [eax + 0xc]
movzx ebp, word [eax + 8]
movzx esi, word [eax + 2]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
call sym.time.Date
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.004689be
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.004689be
call sym.time.Time.abs
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x93a80
call sym.runtime.uint64mod
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
lea eax, [ebp + edx]
sar eax, 0x10
sar ebp, 0x1f
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x483017
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x483031
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x4830a8
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x48307e
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x48307a
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x483073
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x483080
mov ebx, 0x1d
jmp 0x48309e
mov ebp, eax
jmp 0x483080
mov ebp, eax
cmp ebp, 0xd
jae 0x48311d
lea eax, [ebp - 1]
lea edx, [0x56f560]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x483113
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x4830a8
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x4830da
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x4830e2
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
add esp, 0x48
ret
mov ecx, 0xd
call sym.runtime.panicIndex
mov eax, ebp
mov ecx, 0xd
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.time.pseudoUnix
Function at 0x4a49c0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x59ec64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a4a61
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx], ecx
jne 0x4a4a57
movzx ecx, byte [eax + 4]
cmp byte [edx + 4], cl
jne 0x4a4a57
movzx ecx, byte [eax + 5]
cmp byte [edx + 5], cl
jne 0x4a4a57
movzx ecx, byte [eax + 6]
cmp byte [edx + 6], cl
jne 0x4a4a57
movzx ecx, byte [eax + 7]
cmp byte [edx + 7], cl
jne 0x4a4a57
movzx ecx, byte [eax + 8]
cmp byte [edx + 8], cl
jne 0x4a4a57
movzx ecx, byte [eax + 9]
cmp byte [edx + 9], cl
jne 0x4a4a57
movzx ecx, byte [eax + 0xa]
cmp byte [edx + 0xa], cl
jne 0x4a4a57
movzx ecx, byte [eax + 0xb]
cmp byte [edx + 0xb], cl
jne 0x4a4a57
movzx ecx, byte [eax + 0xc]
cmp byte [edx + 0xc], cl
jne 0x4a4a57
add eax, 0x10
mov dword [esp], eax
lea eax, [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x4c
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
jmp 0x4a4a59
xor eax, eax
mov byte [esp + 0x1c], al
add esp, 0x10
ret
call sym.runtime.morestack_noctxt
jmp sym.type:.eq.fmt.fmt
Function at 0x4a80b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x59ec64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a81a1
sub esp, 0x1c
mov ecx, dword [esp + 0x20]
test byte [ecx], al
mov edx, dword [esp + 0x24]
and edx, 0x7f
shl edx, 5
add ecx, edx
mov dword [esp + 0x18], ecx
xor eax, eax
jmp 0x4a80ec
mov ebx, dword [esp + 0xc]
inc ebx
mov ecx, dword [esp + 0x18]
mov eax, ebx
cmp eax, 4
jge 0x4a8125
mov dword [esp + 0xc], eax
lea edx, [ecx + eax*8]
mov dword [esp], edx
call sym.sync_atomic.LoadUint64
mov eax, dword [esp + 0x24]
cmp dword [esp + 4], eax
sete cl
mov edx, dword [esp + 0x28]
cmp dword [esp + 8], edx
sete bl
and ebx, ecx
test bl, bl
je 0x4a80e1
mov byte [esp + 0x2c], 1
add esp, 0x1c
ret
xor eax, eax
mov edx, 0x84222325
jmp 0x4a812f
inc eax
cmp eax, 4
jge 0x4a8144
mov dword [esp + 0x14], eax
lea ebx, [ecx + eax*8]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
xor esi, esi
jmp 0x4a819a
and edx, 3
lea eax, [ecx + edx*8]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call sym.sync_atomic.StoreUint64
mov byte [esp + 0x2c], 0
add esp, 0x1c
ret
mov edi, ebp
and edi, 0xff
xor edx, edi
shr ebp, 8
mov edi, ebx
shl edi, 0x18
mov dword [esp + 0x10], edi
mov eax, edx
mov edi, 0x1b3
mul edi
inc esi
mov edi, dword [esp + 0x10]
or ebp, edi
shr ebx, 8
mov edx, eax
mov eax, dword [esp + 0x14]
cmp esi, 8
jl 0x4a816b
jmp 0x4a812e
call sym.runtime.morestack_noctxt
jmp sym.internal_bisect._dedup_.seenLossy
Function at 0x401500
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46614c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
jmp 0x40152f
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 4
jge 0x40157f
mov dword [ebp - 8], 0
jmp 0x401550
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 8], 4
jge 0x40157d
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x20]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 8]
lea edx, [ebp + ecx*4 - 0x1c]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov al, byte [eax]
mov byte [edx + ecx], al
jmp 0x40153e
jmp 0x401526
cmp dword [ebp - 0x20], 0xb0
jge 0x4016a7
mov dword [ebp - 8], 0
jmp 0x40159e
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 4
jge 0x4015d6
mov edx, dword [ebp - 8]
add edx, 1
and edx, reloc.WSOCK32.dll_closesocket
jns 0x4015b7
dec edx
or edx, 0xfffffffc
inc edx
movzx eax, byte [ebp + edx*4 - 0x19]
movzx ecx, byte [eax + str.cw]
mov edx, dword [ebp - 8]
movzx eax, byte [ebp + edx*4 - 0x1c]
xor eax, ecx
mov ecx, dword [ebp - 8]
mov byte [ebp + ecx*4 - 0x1c], al
jmp 0x401595
movzx edx, byte [ebp - 0x1c]
mov eax, dword [ebp - 4]
xor edx, dword [eax*4 + 0x462620]
mov byte [ebp - 0x1c], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24], 1
jmp 0x401602
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 4
jge 0x401650
mov dword [ebp - 8], 0
jmp 0x40161a
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x40164e
mov ecx, dword [ebp - 8]
lea edx, [ebp + ecx*4 - 0x1c]
mov eax, dword [ebp - 8]
lea ecx, [ebp + eax*4 - 0x1c]
mov eax, dword [ebp - 0x24]
movzx ecx, byte [ecx + eax - 1]
mov eax, dword [ebp - 0x24]
movzx edx, byte [edx + eax]
xor edx, ecx
mov eax, dword [ebp - 8]
lea ecx, [ebp + eax*4 - 0x1c]
mov eax, dword [ebp - 0x24]
mov byte [ecx + eax], dl
jmp 0x401611
jmp 0x4015f9
mov dword [ebp - 0x24], 0
jmp 0x401662
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 4
jge 0x4016a2
mov dword [ebp - 8], 0
jmp 0x40167a
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 4
jge 0x4016a0
mov eax, dword [ebp - 8]
lea ecx, [ebp + eax*4 - 0x1c]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov cl, byte [ecx + eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
jmp 0x401671
jmp 0x401659
jmp 0x40157f
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0044892a
mov esp, ebp
pop ebp
ret
Function at 0x4016c0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004017b0
add esp, 8
mov dword [ebp - 4], 1
jmp 0x4016e8
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0xa
jge 0x401751
mov dword [ebp - 8], 0
jmp 0x401700
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x40171f
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
mov cl, byte [edx + str.cw]
mov byte [eax], cl
jmp 0x4016f7
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401800
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
call fcn.00401880
add esp, 4
mov ecx, dword [ebp - 4]
shl ecx, 4
add ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004017b0
add esp, 8
jmp 0x4016df
mov dword [ebp - 0xc], 0
jmp 0x401763
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x10
jge 0x401782
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc]
mov cl, byte [edx + str.cw]
mov byte [eax], cl
jmp 0x40175a
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401800
add esp, 8
mov eax, dword [ebp + 8]
add eax, 0xa0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004017b0
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x4019d0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0xa0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004017b0
add esp, 8
mov dword [ebp - 8], 0
jmp 0x4019fd
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x10
jge 0x401a1c
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
mov al, byte [ecx + 0x462520]
mov byte [edx], al
jmp 0x4019f4
push 0x10
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00401800
add esp, 8
mov dword [ebp - 4], 9
jmp 0x401a3c
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jle 0x401aa5
mov eax, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004017b0
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401ac0
add esp, 4
mov dword [ebp - 0xc], 0
jmp 0x401a76
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x10
jge 0x401a95
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc]
mov cl, byte [edx + 0x462520]
mov byte [eax], cl
jmp 0x401a6d
push 0x10
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401800
add esp, 8
jmp 0x401a33
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004017b0
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x401ff0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x46614c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov eax, dword [0x4626b0]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov byte [ebp - 0x120], 0
push 0x103
push 0
lea ecx, [ebp - 0x11f]
push ecx
call fcn.00448bd0
add esp, 0xc
mov dword [ebp - 4], 0x104
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x124], 1
push 0x467860
call fcn.00448c50
add esp, 4
push eax
push 0
push 0x467860
call fcn.00448bd0
add esp, 0xc
mov dword [0x4678a0], 0
mov byte [ebp - 0x10], 0x63
jmp 0x40207d
mov dl, byte [ebp - 0x10]
add dl, 1
mov byte [ebp - 0x10], dl
movsx eax, byte [ebp - 0x10]
cmp eax, 0x7a
jg 0x4020dc
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x4020da
push 0
push 0
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x120]
push ecx
push 0
push 0
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 1
jne 0x4020da
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 0x10]
mov byte [eax + 0x467860], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x402074
mov eax, dword [ebp - 8]
mov dword [0x4678a0], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044892a
mov esp, ebp
pop ebp
ret
Function at 0x402270
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x46614c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x14], 0x53
mov byte [ebp - 0x13], 0x68
mov byte [ebp - 0x23], 0x46
mov byte [ebp - 0x22], 0x6f
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0x33
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x50
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x26], 0x47
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x74
mov byte [ebp - 0xe], 0x32
mov byte [ebp - 0xd], 0x2e
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0x27], 0x48
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0
mov byte [ebp - 0x1a], 0x68
mov byte [ebp - 0x19], 0x41
mov byte [ebp - 0x20], 0x64
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x18], 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x402345
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402345
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40238a
push 0x467660
push 0
push 0
push 0x8023
push 0
call dword [ebp - 4]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x402387
push 0x467660
push 0
push 0
push 0x801c
push 0
call dword [ebp - 4]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x402387
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044892a
mov esp, ebp
pop ebp
ret

Function at 0x4023a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4023dd
cmp dword [ebp + 0xc], 3
jne 0x4023c4
mov eax, 0x125
jmp 0x4023ee
mov ecx, dword [ebp + 8]
push ecx
call fcn.00422040
add esp, 4
test eax, eax
jne 0x4023db
mov eax, 0x125
jmp 0x4023ee
jmp 0x4023ec
mov edx, dword [ebp - 4]
and edx, 0x10
jne 0x4023ec
mov eax, 0x125
jmp 0x4023ee
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402820
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], eax
movzx ecx, byte [ebp + 8]
cmp ecx, 1
jge 0x40285e
movzx edx, byte [ebp + 8]
imul edx, edx, 0xc
movzx eax, byte [edx + 0x467640]
and eax, 1
jne 0x40285e
movzx ecx, byte [ebp + 8]
imul ecx, ecx, 0xc
cmp dword [ecx + 0x467648], 0
jne 0x402868
mov eax, 3
jmp 0x40292b
movzx edx, byte [ebp + 0x14]
movzx eax, byte [ebp + 8]
imul eax, eax, 0xc
movzx ecx, word [eax + 0x467642]
imul edx, ecx
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x10000
jbe 0x402892
mov byte [ebp - 1], 4
jmp 0x402927
movzx edx, byte [ebp + 8]
imul edx, edx, 0xc
movzx eax, word [edx + 0x467642]
imul eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
push 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
movzx ecx, byte [ebp + 8]
imul ecx, ecx, 0xc
mov edx, dword [ecx + 0x467648]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [ebp - 0x18]
je 0x4028d5
mov byte [ebp - 1], 1
jmp 0x402927
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [0x46765c]
push edx
movzx eax, byte [ebp + 8]
imul eax, eax, 0xc
mov ecx, dword [eax + 0x467648]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402906
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 8]
je 0x40290c
mov byte [ebp - 1], 1
jmp 0x402927
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [0x46765c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00448ea0
add esp, 0xc
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret