joyce8/EMBER2024-capa huggingface dataset:
Function at 0x606365
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xa10a43d1
in eax, 0xb8
test dword [edx + 0x6f], esi
sbb eax, 0x4e4e2d00
xchg ecx, eax
ret
cmp eax, 0x24d158e9
mov dh, 0xb9
cmp al, 0
push edx
sti
imul edx, dword [eax], 0xee7f822f
mov dl, 0x29
fst qword [ebx]
loopne 0x606314
cwde
push ebx
cli
salc
js 0x60630a
cmp al, 0x5b
push esi
pop esi
jge 0x6062dd
insd dword es:[edi], dx
das
rcr eax, 1
add eax, 0x572df999
xlatb
out 0xff, al
push eax
adc al, 0xae
in al, 0xd2
xor esi, eax
out 0xed, al
push ebp
stc
loopne 0x60630a
inc ebx
out 0x90, eax
nop
or dh, byte [edx - 0x2d89ce4c]
idiv edi
into
enter 0xffffffffffff80e9, 0x76
outsb dx, byte [esi]
sub edx, dword [esi + ecx]
dec esi
loope 0x606340
pop ss
out dx, eax
stosd dword es:[edi], eax
push 0xec1c7802
sbb al, 0xec
pushfd
jle 0x6062d6
adc eax, 0xc7468343
pushal
jne 0x6062c2
jmp 0x6063ac
and dh, byte [ecx]
inc ebx
in al, 0x5d
sub byte [esi - 0x776f0fd5], bh
jo 0x606367
pop ebp
jl 0x60632e
sub eax, 0x7cdef2fb
pop ecx
aam 0x5b
push cs
cmp eax, dword [esi]
mov edx, ebp
outsd dx, dword [esi]
jle 0x6063b9
invalid
dec edx
mov word [edi - 0x3407bb7c], cs
aad 0x32
pop dword [esp + eax*2 + 0x32d5cbf8]
mov ecx, 0xa21f39bc
mov word [ebp + 0x7e], es
add eax, 0x775cdd67
or al, 0x65
push ss
pushfd
mov cl, 0xa9
jne 0x606328
scasb al, byte es:[edi]
adc eax, 0x6a89691a
dec ebp
loope 0x6063da
or ch, byte [edi]
push 0x4d
inc edi
salc
outsb dx, byte [esi]
or al, 0xc8
cmc
push edi
sub eax, 0xa681eede
mov bl, 0xae
inc edi
int1
sahf
sub esi, dword [ebx - 0x1a]
and eax, 0xc8330df4
pop eax
fstp st(4)
dec edx
xchg edx, ebx
mov ch, byte [edx - 0x4a087828]
jne 0x60642f
fmul qword [edx - 0x79]
fimul dword [edx - 0x8782756]
mov ch, 0x75
ja 0x606415
pop esp
in al, dx
test dword [edi + 0x30a2cd54], edi
mov eax, 0xf1b821e5
jmp 0xa6b99501
int 0x3f
insb byte es:[edi], dx
lahf
sal byte [ebx + 0x628eb2df], 1
out 0x1d, al
sub ah, dl
invalid
push ebx
wait
jmp [ebx]
mov ebp, 0x7483dde0
push edx
jecxz 0x606441
arpl dx, bx
mov al, byte [0xfc58202e]
imul eax, dword [ebp - 0x446487b1], 0xc1bbfb7d
js 0x6063de
mov ebx, 0xc1bbfb7d
arpl word [eax + ebx*2], cx
adc dword [esi - 0x55], eax
sub dword [eax], esp
insb byte es:[edi], dx
cmp eax, 0xac2d8129
movsd dword es:[edi], dword [esi]
cli
cli
xchg esi, eax
pop eax
mov ah, ch
xor byte [edi], bl
adc esi, dword [esi + 0x4edb1dff]
add edx, dword [ebx + 0x4c]
pop edx
push esp
mov ah, 0x23
xchg esi, eax
fidiv dword [eax - 0x30]
add ah, byte [ebx - 0x22]
mov edx, 0x1153165b
mov byte [0xc9dfe308], al
sub al, 0xe
pushal
push eax
inc esp
jl 0x606458
wait
sbb ebp, dword [ebp - 0x65fb63cb]
cdq
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
push ds
arpl sp, si
insb byte es:[edi], dx
cmpsd dword [esi], dword es:[edi]
xchg ecx, eax
dec eax
add eax, 0xa892c9f7
add al, al
dec edi
pop esi
mov dword [0x52ce0835], eax
imul dword [edi]
push ecx
jmp 0x47ce910e
Function at 0x628c6d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x630380
cmp edx, dword [eax]
je 0x628c8f
add eax, 8
inc ecx
cmp eax, 0x630410
jl 0x628c80
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x630380]
jne 0x628dbd
mov eax, dword [0x639d10]
cmp eax, 1
je 0x628d97
test eax, eax
jne 0x628cc0
cmp dword [0x6302a8], 1
je 0x628d97
cmp edx, 0xfc
je 0x628dbd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x628cf7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00629650
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00629ae0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x628d3a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00629ae0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62d98c
push edi
call fcn.0062b9b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00629650
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00629660
lea eax, [ebp - 0xa0]
push 0x62d96c
push eax
call fcn.00629660
push dword [esi + 0x630384]
lea eax, [ebp - 0xa0]
push eax
call fcn.00629660
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062b924
add esp, 0x2c
pop edi
jmp 0x628dbd
lea eax, [ebp + 8]
lea esi, [esi + 0x630384]
push 0
push eax
push dword [esi]
call fcn.00629ae0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100013a3
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x100013df
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
add eax, 1
cmp eax, 0x61
mov dword [ebp - 4], eax
je 0x100013da
jmp 0x100013df
mov eax, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
call eax
mov dword [ebp - 0x10], eax
jmp 0x1000143a
add esp, 0x34
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, esp
mov dword [ecx + 8], 0xc6ff96
mov dword [ecx + 4], 0x8ac21
mov dword [ecx], 0xf68
mov dword [ebp - 0xc], eax
call sub.USER32.dll_PackDDElParam
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x414
mov ecx, dword [sym.imp.USER32.dll_GetThreadDesktop]
mov dword [ebp - 0x14], eax
call ecx
sub esp, 4
mov ecx, dword [ebp - 0xc]
sub ecx, 0x3c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x100013ce
jmp 0x10001429
mov eax, dword [ebp - 0xc]
sub eax, 8
mov dword [ebp - 0x20], eax
jne 0x100013b0
jmp 0x1000143a
mov eax, esp
mov dword [eax], 0xa6b92e
mov eax, dword [sym.imp.USER32.dll_ShowCaret]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x281
mov dword [ecx], 0x281
mov ecx, dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
mov dword [ebp - 0x24], eax
call ecx
sub esp, 8
mov dword [ebp - 0x28], eax
jmp 0x100013b0
Function at 0x101886c8
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x101886f1
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x38]
mov ecx, dword [0x1020763c]
add ecx, 0xffffefd3
mov dword [0x1020763c], ecx
mov dword [esp + 0x20], eax
call fcn.10188bb5
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
je 0x101887b0
jmp 0x1018883e
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10188826
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
jne 0x10188726
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
mov dword [0x1020763c], 0xfffff682
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.101892b2
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x1020763c]
add ecx, 0xffffe5c3
mov dword [0x10207640], ecx
mov dword [esp + 0x1c], eax
jmp 0x1018883e
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10188421
lea ecx, [0x1018980a]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x78], edx
mov dword [esp + 0x38], 0x122200
mov dword [0x1020763c], 0x15a6
mov edx, dword [0x10207628]
mov dword [esp + 0x48], edx
mov edx, dword [0x1020762c]
mov dword [esp + 0x7c], edx
mov edx, dword [0x10207630]
mov dword [esp + 0x8c], edx
mov edx, dword [0x10207634]
mov dword [esp + 0x5c], edx
mov edx, dword [0x10207638]
mov dword [esp + 0x80], edx
mov dword [0x10207640], 0x109b
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x1018873d
jmp 0x10188726
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jmp 0x101886e7
Function at 0x101888c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101893dd
mov ecx, eax
add eax, 0x3c
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x14]
add esi, edx
mov edi, dword [ebp - 0x14]
mov edx, dword [edi + edx]
cmp edx, 0x4550
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
je 0x10188907
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10207640], 0x370c
mov ecx, dword [ebp - 0x14]
add ecx, dword [ecx + eax + 0x20]
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + eax + 0x24]
mov dword [0x1020763c], 0x1fed
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x1018896e
jmp 0x101889d7
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
jmp 0x101889ac
mov eax, dword [ebp - 0x34]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [ebp - 0x4d]
test al, 1
jne 0x10188a20
jmp 0x10188986
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x40]
add edx, 2
mov esi, dword [ebp - 0x30]
cmp ecx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], eax
jb 0x10188952
jmp 0x1018896e
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x14]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], bh
mov byte [ebp - 0x4d], cl
je 0x10188979
jmp 0x101889f2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
add eax, ecx
mov dword [ebp - 0x5c], eax
xor eax, eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
jmp 0x10188952
mov al, byte [ebp - 0x55]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x54]
add edx, 1
mov ah, byte [ebp - 0x4d]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x101889ac
jmp 0x10188979
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x14]
add edi, dword [edx + ecx*4]
mov dword [0x1020763c], 0x1415
mov dword [ebp - 0x34], edi
jmp 0x1018896e
Function at 0x10188a48
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x10207640]
add edi, 0x53c
mov dword [0x10207640], edi
mov dword [0x10207648], 0
mov byte [0x1020764c], 0
mov dword [0x10207644], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10188b58
mov dword [0x1020763c], 0x26c
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10207650], 0
mov edx, dword [0x10207648]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10207650], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x10207648], edx
mov dword [0x1020763c], 0x918
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1020764c], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x1020763c], 0x16c8
mov cl, byte [0x1020764c]
mov edx, dword [0x10207648]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x10207644]
add edx, 1
mov dword [0x10207644], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10188aac
jmp 0x10188a9a
mov eax, dword [ebp - 0x1c]
mov dword [0x10207640], 0x1e35
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10207640]
add eax, 0x325
mov dword [0x10207640], eax
mov eax, dword [0x10207644]
add eax, 1
mov dword [0x10207644], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10188b58
xor eax, eax
mov dword [0x1020763c], 0x182
mov dword [0x10207644], 0
mov dword [ebp - 0x20], eax
jmp 0x10188aac
Function at 0x10188bb5
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10188c64
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10188c95
xor eax, eax
mov dword [0x1020763c], 0x982
mov dword [ebp - 0x18], eax
jmp 0x10188cf0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10188be4
jmp 0x10188bf7
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x10188cf0
jmp 0x10188bf7
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x21], cl
mov al, byte [ebp - 0x21]
test al, 1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], edx
jne 0x10188c64
jmp 0x10188c7a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], edx
jne 0x10188c39
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x10188c0b
jmp 0x10188bf7
mov eax, dword [0x1020763c]
add eax, 0xfffff36e
mov dword [0x1020763c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10188bf7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10188bf7
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0x6c
je 0x10188c1c
jmp 0x10188bf7
mov eax, dword [ebp - 0x18]
add esp, 0x2c
pop ebp
ret
Function at 0x10189051
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10207644], 0
mov dword [0x10207648], 0
mov dword [0x10207654], 0
mov dword [0x1020763c], 0x53e
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101891a0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x10207640], 0xb88
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10207644], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10207648], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1020764c], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x1020763c]
add edx, 0x20cc
mov dword [0x1020763c], edx
mov cl, byte [0x1020764c]
mov edx, dword [0x10207648]
mov byte [edi + edx], cl
mov edx, dword [0x10207644]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10207648]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10207654], ebx
mov dword [0x1020763c], 0x395
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x101891a0
mov eax, dword [0x10207644]
mov ecx, dword [0x10207648]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x101890b4
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101892b2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x10207640]
mov edi, esi
add edi, 0xffffdf43
mov dword [0x1020763c], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov cl, byte [eax + 0x1018a634]
mov dl, byte [eax + 0x1018a605]
sub dl, cl
mov byte [ebp + eax - 0x28], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x38], eax
jne 0x101892e2
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
add ecx, 0xffffe336
mov dword [0x10207640], ecx
mov dword [ebp - 0x3c], eax
call fcn.10188cf8
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.101895ef
cmp eax, 0
mov dword [ebp - 0x40], eax
je 0x101893d4
mov eax, dword [ebp - 0x40]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.101891a8
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x1020763c], 0x21cb
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x14], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x50], ecx
add ecx, 0x1692
mov esi, dword [ebp - 0x44]
cmp esi, 0
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
je 0x101893ca
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
add esp, 0x54
pop esi
pop edi
pop ebp
ret
xor eax, eax
add esp, 0x54
pop esi
pop edi
pop ebp
ret
Function at 0x10328
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
xor ebx, ebx
mov word [ebp - 0x20], 0x5c
mov word [ebp - 0x1e], 0x44
mov word [ebp - 0x1c], 0x72
mov word [ebp - 0x1a], 0x69
mov word [ebp - 0x18], 0x76
mov word [ebp - 0x16], 0x65
mov word [ebp - 0x14], 0x72
mov word [ebp - 0x12], 0x5c
mov word [ebp - 0x10], 0x6b
mov word [ebp - 0xe], 0x62
mov word [ebp - 0xc], 0x64
mov word [ebp - 0xa], 0x68
mov word [ebp - 8], 0x69
mov word [ebp - 6], 0x64
mov word [ebp - 4], bx
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov ecx, dword [ebp + 8]
cmp ecx, ebx
jne 0x103bd
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
xor al, al
jmp 0x10475
push esi
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov esi, dword [ecx + 0x10]
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
jmp 0x10457
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, dword [esi + 8]
push dword [eax + 0x20]
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x10441
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_wcslen]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi + 8]
push dword [eax + 0x20]
call dword [sym.imp.ntoskrnl.exe__wcsnicmp]
add esp, 0x10
test eax, eax
je 0x1045d
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov esi, dword [esi + 0x10]
cmp esi, ebx
jne 0x103e9
jmp 0x10472
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov bl, 1
mov al, bl
pop esi
pop ebx
leave
ret 4
Function at 0x10578
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov word [ebp - 0x2c], 0x5c
mov word [ebp - 0x2a], 0x44
mov word [ebp - 0x28], 0x72
mov word [ebp - 0x26], 0x69
mov word [ebp - 0x24], 0x76
mov word [ebp - 0x22], 0x65
mov word [ebp - 0x20], 0x72
mov word [ebp - 0x1e], 0x5c
mov word [ebp - 0x1c], 0x68
mov word [ebp - 0x1a], 0x69
mov word [ebp - 0x18], 0x64
mov word [ebp - 0x16], 0x75
mov word [ebp - 0x14], 0x73
mov word [ebp - 0x12], 0x62
mov word [ebp - 0x10], bx
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push dword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
lea eax, [ebp - 0xc]
push ebx
push ebx
push 0x40
push eax
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByName]
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, dword [ebp - 4]
cmp eax, ebx
jne 0x1064e
mov eax, 0xc0000001
jmp 0x106f4
push esi
mov esi, dword [eax + 4]
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
jmp 0x106b8
push esi
call fcn.0001047a
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
cmp dword [esi + 0x10], ebx
je 0x106a2
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
push esi
call fcn.00010328
test al, al
jne 0x106be
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov esi, dword [esi + 0xc]
cmp esi, ebx
jne 0x10667
jmp 0x106d3
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov bl, 1
nop
nop
nop
nop
nop
nop
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, eax
nop
mov eax, dword [ebp + 8]
neg bl
sbb ebx, ebx
and ebx, esi
mov dword [eax], ebx
xor eax, eax
pop esi
pop ebx
leave
ret 4