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

Disassembly:
imul eax, dword [ecx], 0x3963412e
stosd dword es:[edi], eax
mov ebp, 0x209e5c8
cmp al, 0xec
outsb dx, byte [esi]
sbb ebx, dword cs:[edx + ebp*2 + 0x26f714ce]

Function at 0x5cb248
Capabilities:
Encode data using xor

Disassembly:
pop esi
imul esp, dword [edi + 0x4fe723d4], 0x6c
invalid
loopne 0x5cb19d
jp 0x5cb22d
push esi
int 0xf6
scasd eax, dword es:[edi]
rol byte [ebp + 0x6c382afb], cl
xchg byte [eax + 0x67], al
div byte [edx]
pop ecx
pop edi
mov esp, dword [esi - 0x33]
xchg edx, eax
or eax, 0xdcf4db5
sbb al, 0xb2
add ch, byte [eax - 0x49]
cwde
xor bh, cl
fcomi st(3)
and al, 0xfc
push ds
cmpsb byte [si], byte es:[di]
sbb dl, 0xc8
mov ecx, 0x3d4db0b7
aaa
or al, 0x60
push ebx
xchg ebx, eax
mov ebp, esi
pushfd
pop edx
fcom dword [ecx - 0x2e]
push ecx
sar byte [0xeba41aad], cl
cmp eax, 0xeba41aad
in eax, dx
loopne 0x5cb22f
pop eax
shr dword [ecx + 0x46586c90], cl
push cs
jp 0x5cb246
mov ch, bh
dec ebp
jae 0x5cb2bd
jbe 0x5cb1eb
mov dword [0x9edc36ae], eax
iretd
scasb al, byte es:[edi]
fcomp qword ss:[esi + 0x262723cf]
push ebx
rcr eax, cl
pop edx
call 0xd088c802
dec eax
cmp ebx, edx
xchg ecx, eax
frstor dword [ebx + 0x4e]
or esi, esi
jle 0x5cb22b
arpl word [esi + 0xb], cx
idiv byte [esi - 0x39]
inc ebp
and eax, 0x400b7da8
mov ebx, 0x3fcfb1f2
mov ecx, edi
cld
xor eax, 0xc29f5925
salc
push esi
xor byte [edx + 0x3ca92c86], cl
dec esi
int 0x77
jl int.005cb248
pop ebp
xchg eax, esp
push 0xd
jp 0x5cb25e
pop edx
mov dword [ebx], edx
in eax, dx
invalid
xchg ebx, eax
sbb byte [esi + 0x4fcd78a2], bl
lodsd eax, dword [esi]
and dword gs:[esi - 0x3ee98937], ecx
sub ah, byte [esp + ecx*4]
dec edx
les ecx, [0x2f68933]
fadd st(7), st(0)
or al, 0x57
mov word [esi + ebp + 0x30bebdb7], ss
add esp, dword [ebx + 0x545a7d62]
mov edx, 0x8217365d
cmp eax, 0xad377a34
invalid

Function at 0x5cefd5
Capabilities:
Encode data using xor

Disassembly:
jg 0x5ceff6
push edi
sbb al, 0x79
add dword [esi], eax
mov ebp, 0x20e136f1
int 0xd7
in al, 0xe7
out 0xce, eax
test byte cs:[ebp - 0x6e], ch
popfd
mov dh, 0x2d
int3
Function at 0x5fd0a3
Capabilities:
Encode data using base64

Disassembly:
test dword [ebx + 0x1c370d34], edi
jbe 0x5fd036
test al, 0xf6
add edx, edx
mov esi, 0x40bb2cd5
cmp ebp, esi
cmc
salc
insb byte es:[edi], dx
jns 0x5fcfc5
salc
dec ebp
pop ecx
mov ah, 0x3d
cmpsb byte [esi], byte es:[edi]
invalid
adc dl, ah
invalid
loop 0x5fd016
sti
ljmp 0xa9c4
push esi
xchg edx, eax
stc
fldenv [ecx + 0x4e]
fnstcw word [edx]
salc
cdq
shr cl, cl
mov bh, 0xd9
jb 0x5fd0b4
bound edi, qword [ecx + 0x70]
adc eax, dword [edx + 0x52]
inc ebp
cmp byte [eax - 0x47], ch
invalid
push 0x8cd9c7b9
cdq
or eax, 0x4215a0e0
leave
jge 0x5fd049
sub al, 0x66
fsubr qword [edi + edx]
push es
invalid
jns 0x5fd037
xchg esp, eax
jnp 0x5fd062
inc edx
mov ebp, 0x471a14dc
adc bl, byte [eax + 0x49e7d573]
sbb bh, al
les ecx, [ecx]
mov ebp, edx
shr eax, 1
lea edi, [edi - 0x7042b616]
and byte [eax + 0x15], al
mov dword [eax], esi
cdq
and edi, dword [ecx - 0x6b]
in al, 0x3f
leave
mov dl, 0xc1
daa
cwde
cmpsb byte [esi], byte es:[edi]
sub al, bh
or eax, 0x7ab9e136
mov edi, 0x5caf58ea
push edx
adc byte [edx], dh
dec eax
popfd
xchg byte [edi + 7], bh
sbb dl, byte [edx]
invalid

Function at 0x6167d8
Capabilities:
Encode data using xor

Disassembly:
loope 0x6167e3
cwde
mov ecx, 0xd212c552
ja 0x61682e
sbb esi, dword [0xf0dbe5ed]
xor eax, 0xf0dbe5ed
pop ss
mov ebx, 0xb623d408
cmp ch, cl
mov al, 0xbc
cdq
xor bl, byte [edx + 0x39631d51]
jnp 0x616808
pushal
xor eax, dword [ecx + 9]
loopne 0x616841
push edi
mov dh, 0x81
pop edx
popal
xor byte [edi], cl
lodsd eax, dword [esi]
dec edx
shrd dword [esi], esi, cl
dec edx
sub eax, 0x5daf7199
adc dh, byte [esi + 0x5ce04f60]
invalid
invalid
movsd dword es:[edi], dword [esi]
leave
inc ebx
loopne 0x6168b7
xchg ebp, eax
daa
movsb byte es:[edi], byte [esi]
shl byte [eax - 0x2c], cl
pop edi
push dword [eax + 0x61]
invalid
and dword [0xc356edc7], 0x37a95623
ret 0x4090
Function at 0x650bfe
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x658220
cmp edx, dword [eax]
je 0x650c20
add eax, 8
inc ecx
cmp eax, 0x6582b0
jl 0x650c11
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x658220]
jne 0x650d4e
mov eax, dword [0xa5b864]
cmp eax, 1
je 0x650d28
test eax, eax
jne 0x650c51
cmp dword [0x658164], 1
je 0x650d28
cmp edx, 0xfc
je 0x650d4e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x650c88
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00651310
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00651540
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x650ccb
lea eax, [ebp - 0x1a4]
push eax
call fcn.00651540
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x654a50
push edi
call fcn.00652d10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00651310
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00651320
lea eax, [ebp - 0xa0]
push 0x654a30
push eax
call fcn.00651320
push dword [esi + 0x658224]
lea eax, [ebp - 0xa0]
push eax
call fcn.00651320
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
or byte [edx + 0x65], cl
add byte [eax - 0x18], dl
bound ebx, qword [edi]
add byte [eax], al
lea eax, [ebp + 8]
lea esi, [esi + 0x658224]
push 0
push eax
push dword [esi]
call fcn.00651540
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]
Function at 0x402060
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403230
push 0x402260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x4041c4], 0xffffffff
mov dword [0x4041c8], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x4041c0]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x4041bc]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x4041cc], ecx
call fcn.00402250
mov eax, dword [0x404174]
test eax, eax
jne 0x4020f1
push 0x402240
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00402220
push 0x40400c
push 0x404008
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x4041b8]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x4041b4]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x404004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x4021ff
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x402165
cmp al, 0x22
jne 0x402157
cmp byte [esi], 0x22
jne 0x40216e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x40217e
cmp al, 0x20
ja 0x40217e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x40216e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x40219f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x4021a4
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x4021e4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x40216e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x4021ff

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..retplne
mov ebx, 0x40de38
nop
mov ecx, 0x730616e6
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x3c1666ec
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40e350
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432867
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43a4a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebx], 0x4369ac
mov dword [ebx + 0x60], 0x43692c
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], 0x436784
mov edx, dword [ebx]
mov esi, dword [edx + 4]
add esi, ebx
mov dword [ebp - 0x10], 1
call fcn.00408c10
lea edi, [ebx + 4]
push esi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], 0
call fcn.0040fd70
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x40e3db
mov eax, dword [esi + 0xc]
or eax, 4
or eax, 4
push 0
mov ecx, esi
call fcn.00408ad0
mov dword [ebp - 4], 2
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push edi
mov dword [ebx + ecx], 0x4369a8
call fcn.0040f9f0
lea edx, [edi + 8]
mov dword [edi + 0x10], edx
lea ecx, [edi + 0x18]
mov dword [edi + 0x20], ecx
lea edx, [edi + 0x1c]
mov dword [edi + 0x24], edx
mov dword [edi], 0x43696c
mov byte [edi + 0x50], 0
mov byte [edi + 0x49], 0
lea ecx, [edi + 0x28]
mov dword [edi + 0x30], ecx
xor ecx, ecx
lea eax, [edi + 0xc]
mov dword [edi + 0x14], eax
lea edx, [edi + 0x2c]
mov dword [edi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [edi + 0x24]
mov dword [eax], ecx
mov edx, dword [edi + 0x34]
mov dword [edx], ecx
mov eax, dword [edi + 0x10]
mov dword [eax], ecx
mov edx, dword [edi + 0x20]
mov dword [edx], ecx
mov eax, dword [edi + 0x30]
mov edx, dword [0x468954]
mov dword [eax], ecx
mov dword [edi + 0x54], ecx
mov dword [edi + 0x4c], edx
mov dword [edi + 0x44], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40f9f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43251b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43a4a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0x436930
call fcn.004204f2
push 4
mov dword [ebp - 4], 0
call fcn.00420e45
mov edi, eax
add esp, 4
test edi, edi
je 0x40fa6c
call fcn.0041fb82
mov dword [edi], eax
call fcn.0041f941
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041f876
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40fa62
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041f89e
jmp 0x40fa6e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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 4
Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret

Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3f553fae
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x191467fe
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x1000194d
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
cmp dword [0x1003b75c], eax
push esi
mov esi, ecx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
jne 0x1002adb4
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor ecx, ecx
inc ecx
mov eax, ecx
cmp eax, dword [ebp - 0x10]
mov dword [0x1003b75c], ecx
sbb eax, eax
mov dword [0x1003b758], eax
and eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, esi
pop esi
leave
ret 4
mov eax, dword [0x1003b758]
jmp 0x1000198e

Function at 0x10007bac
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
test byte [0x1003b8a0], 1
push ebx
push esi
push edi
jne 0x10007bd1
or dword [0x1003b8a0], 1
call fcn.10007b56
mov dword [0x1003b89c], eax
push 4
pop eax
call fcn.10001a44
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10007c70
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x48]
lea edi, [eax - 1]
not edi
and edi, esi
sub edi, eax
mov dword [ebp - 8], eax
mov eax, dword [0x1003b894]
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xffff1000
add esi, 0x11000
add esi, ebx
cmp edi, esi
jb 0x10007c70
cmp eax, 1
je 0x10007cad
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10007c70
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x10007c37
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x10007c6c
xor eax, eax
inc eax
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
cmp edi, eax
jae 0x10007c74
xor eax, eax
jmp 0x10007c64
cmp eax, esi
jae 0x10007c7b
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x1003b894]
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10007c64
mov dword [ebp - 4], edi
jmp 0x10007c8f
Function at 0x10007db1
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10025d29

Function at 0x10007dc1
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10025b98

Function at 0x1000840a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
je 0x10008453
cmp word [eax], 0
push ebx
push esi
push edi
je 0x1000844e
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp word [esi], 0
jne 0x10008457
cmp word [edi], 0
je 0x10008497
push dword [ebp + 8]
call ebx
cmp word [eax], 0
mov dword [ebp + 8], eax
jne 0x1000842e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
mov ax, word [edi]
test ax, ax
je 0x10008497
movzx ecx, word [esi]
movzx eax, ax
sub ecx, eax
jne 0x1000843a
push esi
call ebx
push edi
mov dword [ebp - 4], eax
call ebx
mov ecx, dword [ebp - 4]
sub eax, edi
sub ecx, esi
xor eax, ecx
test eax, 0xfffffffe
jne 0x1000843a
cmp esi, dword [ebp - 4]
jae 0x10008434
inc esi
inc esi
movzx ecx, word [esi]
inc edi
inc edi
movzx eax, word [edi]
sub ecx, eax
jne 0x10008482
jmp 0x10008434
mov eax, dword [ebp + 8]
jmp 0x10008450

Function at 0x1000927c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1003b164]
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x208], esi
call fcn.10007faf
cmp eax, esi
jne 0x1000930b
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x208]
mov dword [ebp - 0x20c], 0x100
call edi
test eax, eax
lea ecx, [ebp - 0x208]
je 0x10009328
call fcn.10007f3c
push dword [ebp - 0x210]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
lea ecx, [ebp - 0x208]
mov esi, eax
call fcn.10007f3c
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
call fcn.10023cf0
leave
ret 4
lea eax, [ebp - 0x204]
push eax
call fcn.1000927c
cmp eax, esi
je 0x100092c2
jmp 0x1000930a
Function at 0x1000b7de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
push 2
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 8], esi
jne 0x1000b83f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1000b82d
call esi
mov esi, eax
lea ecx, [ebp - 4]
call fcn.10008ada
mov eax, esi
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret 0x10
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x1000b819
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x1000b860
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, ebx
jne 0x1000b88d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1000b87b
call esi
mov esi, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1000b819
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x1000b870
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp byte [ebx + esi], 0
mov edi, esi
je 0x1000b8fb
lea edi, [ebx + 1]
cmp edi, 0x400
ja 0x1000b8d4
push edi
call fcn.10007cb7
test al, al
je 0x1000b8d4
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.10001a44
mov dword [ebp + 8], esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1000b8e2
mov esi, 0x8007000e
jmp 0x1000b870
push edi
lea ecx, [ebp - 4]
call fcn.10009e94
mov dword [ebp + 8], eax
jmp 0x1000b8c6
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov byte [eax + ebx], 0
test edi, edi
jne 0x1000b912
xor eax, eax
push dword [ebp + 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.1000afd5
jmp 0x1000b86e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea ebx, [esi + esi]
cmp ebx, 0x400
ja 0x1000b94a
push ebx
call fcn.10007cb7
test al, al
je 0x1000b94a
mov eax, ebx
add eax, 3
and eax, 0xfffffffc
call fcn.10001a44
mov eax, esp
push esi
push edi
push eax
call fcn.10007df9
jmp 0x1000b901
push ebx
lea ecx, [ebp - 4]
call fcn.10009e94
jmp 0x1000b940