joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007da2
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
cmp byte [ebp + 0x18], 0
push ebx
push esi
push edi
je 0x10007f3b
mov dword [esp + 0x10], 0x935
cmp dword [esp + 0x10], 0xbea
jle 0x10007e48
push 0
push 0x1b12
push 0x699
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor esi, esi
xor edi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov eax, ebx
cdq
idiv ecx
lea eax, [edi + esi]
and eax, edx
lea ecx, [esp + 0x18]
cdq
push edx
push eax
call fcn.10001a8a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10007e08
mov eax, dword [eax]
push eax
call fcn.10046da3
pop ecx
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.100045f1
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0xb66
jl 0x10007de8
inc ebx
cmp ebx, 0x4b8f
jl 0x10007de2
inc edi
cmp edi, 0x5b2a
jl 0x10007de0
inc esi
cmp esi, 0x1b9
jl 0x10007dde
cmp dword [esp + 0x10], 0x6f4
jge 0x10007e5d
push str.cnvwyzsfb_uokongaiy_owdsyfd_zpk_myxp_qbsk_nplxixib
call fcn.10046da3
pop ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
cmp ecx, dword [eax]
je 0x10007eac
push 0x1378
push 0x6063
push dword [ebp + 8]
mov edx, 0x2030
mov cl, 1
push 0x7009
push 0x6ac3
push 0x67b3
push 1
push 1
push 0x45fd
push 0x235a
push 0x3c1a
push 0x2696
call fcn.10007233
add esp, 0x30
mov dword [esp + 0x14], 0x2794
cmp dword [esp + 0x14], 0x28b7
jle 0x10007f24
xor esi, esi
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esp + 0x10], 0x2a56
mov ebx, edi
mov esi, 0x3094
mov eax, ebx
lea ecx, [esp + 0x30]
cdq
push edx
push eax
call fcn.10001a8a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10007eed
mov eax, dword [eax]
push eax
call fcn.10046da3
pop ecx
push 0
push 1
lea ecx, [esp + 0x38]
call fcn.100045f1
dec ebx
dec esi
jne 0x10007ed5
mov esi, dword [esp + 0xc]
add edi, esi
dec dword [esp + 0x10]
jne 0x10007ece
inc esi
mov dword [esp + 0xc], esi
cmp esi, 0x35e2
jl 0x10007ec4
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp dword [esp + 0x14], 0x24ca
jge 0x10007f44
push str.regpsnbit_sqsa_xwpz_gibnh
call fcn.10046da3
pop ecx
jmp 0x10007f44
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000e1d9
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1005d231
call fcn.1005c610
sub esp, 0x10
cmp byte [ebp + 0x20], 0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ebx
je 0x1000e267
cmp byte [ebp + 0x10], 0
je 0x1000e23b
mov ebx, dword [ebp + 0x3c]
mov edi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [edi], eax
cmp eax, dword [ecx]
jge 0x1000e35e
xor esi, esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
mov ecx, ebx
call fcn.100115f8
mov ecx, dword [ebp + 0xc]
inc dword [edi]
mov eax, dword [edi]
cmp eax, dword [ecx]
jl 0x1000e21d
jmp 0x1000e35e
mov edx, dword [ebp + 8]
mov dword [edx], 0
cmp dword [edx], 4
jge 0x1000e35e
mov esi, dword [ebp + 0x34]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x6b46
inc dword [edx]
cmp dword [edx], 4
jl 0x1000e250
jmp 0x1000e35e
mov dword [ebp + 0x20], 0x18d7
xor esi, esi
cmp dword [ebp + 0x20], 0x1c60
jle 0x1000e2a6
mov edi, esi
mov ebx, esi
mov eax, edi
mov ecx, 0x10078098
cdq
idiv ebx
mov eax, edx
cdq
push edx
push eax
call fcn.10003fb2
inc ebx
cmp ebx, 0x13f
jl 0x1000e27d
inc edi
cmp edi, 0x369b
jl 0x1000e27b
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], esi
cmp dword [ebp + 0x20], 0x1846
jge 0x1000e2e2
mov edx, str.xars_zucvpkd_dziev_fmn_xkegwwz_ramrtnux
mov ecx, 0x10078098
call fcn.100065fc
jmp 0x1000e2e2
cmp byte [ebp + 0x24], 0
je 0x1000e355
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x38]
mov edi, dword [ebp + 0x14]
mov eax, dword [ecx]
mov eax, dword [ecx]
mov eax, dword [ebp + 0x2c]
inc dword [eax]
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
mov eax, dword [edx]
mov eax, dword [ebp + 0x28]
cmp dword [eax], esi
jne 0x1000e30e
mov eax, dword [edi]
cmp dword [eax], esi
je 0x1000e311
xor esi, esi
inc esi
mov eax, dword [edx]
xor ecx, ecx
cmp esi, eax
setg cl
mov dword [edx], ecx
xor ecx, ecx
mov eax, dword [edx]
mov dword [ebx], eax
mov eax, dword [ebx]
sub eax, 0x11b55e9
cmp eax, 0x48214d2f
mov eax, dword [ebp - 0x1c]
setne cl
cmp ecx, 5
mov eax, dword [eax]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [edi]
setge dl
xor ecx, ecx
cmp edx, 0x2657cf7a
setge cl
mov dword [eax + 4], ecx
jmp 0x1000e35e
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000e735
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005d265
call fcn.1005c610
sub esp, 0x3c
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x20], 0x109b
cmp dword [ebp - 0x20], 0x10ce
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ebx
jle 0x1000e7bb
xor esi, esi
mov dword [ebp - 0x1c], esi
xor edi, edi
mov dword [ebp - 0x18], edi
mov ecx, edi
mov dword [ebp - 0x14], esi
xor ebx, ebx
shl esi, cl
xor edi, edi
mov dword [ebp - 0x14], 0x1ce2
mov eax, edi
mov ecx, 0x10078098
xor eax, esi
cdq
push edx
push eax
call fcn.10003fb2
add edi, ebx
dec dword [ebp - 0x14]
jne 0x1000e779
inc ebx
cmp ebx, 0x7089
jl 0x1000e770
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x736e
jl 0x1000e767
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x4985
jl 0x1000e762
mov ebx, dword [ebp - 0x24]
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0xd5b
jge 0x1000e7f6
mov edx, str.mwmvi_vny_fdb_wpru_ogacf_iceli_biealvfuo_eqmficrpq
mov ecx, 0x10078098
call fcn.100065fc
jmp 0x1000e7f6
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x18], 0
je 0x1000e887
sub esp, 0x18
mov ecx, esp
push dword [ebp + 0xc]
call fcn.100040c7
lea ecx, [ebp - 0x30]
call fcn.1000de76
add esp, 0x18
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], eax
je 0x1000e87f
push dword [ebp - 0x20]
and dword [ebp - 0x38], 0
xor ecx, ecx
push eax
push dword [ebp - 0x30]
mov word [ebp - 0x48], cx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
call fcn.10011e53
mov ecx, dword [ebp + 0x1c]
lea edx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.1000e711
lea ecx, [ebp - 0x48]
push 0
push 1
test eax, eax
jns 0x1000e87a
mov eax, dword [ebp + 8]
mov byte [eax], 1
call fcn.100048bd
lea ecx, [ebp - 0x30]
call fcn.1000a322
jmp 0x1000e88d
call fcn.100048bd
mov eax, dword [ebp + 8]
mov byte [eax], 0
jmp 0x1000e870
mov dword [ebx], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000e949
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov eax, 0x1005d26f
call fcn.1005c610
sub esp, 0x10
mov byte [ebp - 0x14], cl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test cl, cl
je 0x1000e975
movzx eax, word [edx]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.1001181f
jmp 0x1000ea35
mov dword [ebp - 0x1c], 0xdda
cmp dword [ebp - 0x1c], 0x11b1
jle 0x1000e9e6
push 0x677
push 0x315
push 0xc4c
push 0x2708
push 0x170d
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
xor esi, esi
mov ebx, esi
mov edi, esi
mov dword [ebp - 0x18], esi
mov esi, edi
mov edi, 0x3642
mov eax, esi
mov ecx, 0x10078098
xor eax, ebx
cdq
push edx
push eax
call fcn.10003fb2
dec esi
dec edi
jne 0x1000e9b4
mov edi, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x316d
jl 0x1000e9ad
inc ebx
push 0
pop esi
cmp ebx, 0x1f65
jl 0x1000e9a8
jmp 0x1000e9e8
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], 0xc21
jge 0x1000ea21
mov edx, str.wumvvzi_fhaydec_vvofvjr_eunrzo_pwxlloz_wigib_ccmr_zewld_stykex_qaqzbkjw
mov ecx, 0x10078098
call fcn.100065fc
jmp 0x1000ea21
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x1000ea35
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100127ea
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ebp + 0x28], 0
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], ecx
je 0x100128bd
cmp byte [ebp + 0x18], 0
je 0x100128a3
mov edx, dword [ebp + 0x20]
xor ecx, ecx
push edi
mov edi, dword [ebp + 0x24]
push 0
mov eax, dword [edx]
test eax, eax
pop esi
sete cl
sub ecx, 0x377cf84d
je 0x10012853
mov eax, dword [edx]
xor ecx, ecx
cmp eax, 7
mov eax, dword [edx]
sete cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp + 0x20]
sete dl
sub edx, 4
neg edx
sbb edx, edx
inc edx
mov dword [eax], edx
mov eax, dword [eax]
mov dword [ebx], eax
mov eax, dword [ebx]
sub eax, dword [edi]
je 0x10012853
xor ecx, ecx
inc ecx
jmp 0x10012855
mov ecx, esi
mov eax, dword [edi]
xor edx, edx
add ecx, eax
mov eax, dword [edi]
cmp ecx, eax
setl dl
neg edx
mov dword [edi], edx
cmp dword [edi], esi
jne 0x10012870
cmp dword [ebx], esi
jne 0x10012870
mov eax, dword [ebx]
mov ecx, dword [ebp - 4]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ecx], eax
mov eax, dword [ecx]
mov eax, dword [ecx]
xor ecx, ecx
mov eax, dword [edi]
mov edx, dword [ebx]
mov eax, dword [esi]
cmp edx, eax
setl cl
xor edx, edx
mov dword [edi], ecx
mov ecx, dword [esi]
mov eax, dword [edi]
cmp eax, ecx
mov eax, dword [ebp + 0xc]
setne dl
pop edi
mov dword [eax], edx
jmp 0x100128e6
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x100128e6
xor esi, esi
push esi
push 0x20e
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x100128e6
cmp byte [ebp + 0x2c], 0
je 0x100128d8
mov byte [ebp + 0x2b], 0
cmp byte [ebp + 0x2b], 0
je 0x100128e6
push ecx
xor cl, cl
call fcn.100124e0
pop ecx
jmp 0x100128e6
mov eax, dword [ebp + 0x1c]
cmp byte [eax], 0
je 0x100128e6
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10017c45
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d5be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x2e09
mov dword [ebp - 0x24], str.dfww_dhchktx_vxseene_dyeoakewp_dftz_rkwyptvtq_lbqrvrh_kkwrtxvc_eubcrizb
cmp dword [ebp - 0x1c], 0x30ac
jle 0x10017cdb
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
and dword [ebp - 0x14], 0
jmp 0x10017c99
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6518
jge 0x10017cdb
and dword [ebp - 0x18], 0
jmp 0x10017caf
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x8a1
jge 0x10017cd9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sar eax, cl
cdq
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
mov ecx, 0x10078098
call fcn.10003fb2
jmp 0x10017ca8
jmp 0x10017c92
push fcn.100041d1
push fcn.100041c0
push 1
push 0x18
lea eax, [ebp - 0x44]
push eax
call fcn.10046ef0
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0x2a90
jge 0x10017d13
mov edx, dword [ebp - 0x24]
mov ecx, 0x10078098
call fcn.100065fc
jmp 0x10017d2f
mov dword [ebp - 4], 1
jmp 0x10017d3f
push 0x271b
push 0x2f1e
push 0x782e
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
push 1
push 0x566b
push 1
call fcn.10015dc5
add esp, 0x20
push 0x18
pop eax
imul eax, eax, 0
lea eax, [ebp + eax - 0x44]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000419a
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0
push fcn.100041d1
push 1
push 0x18
lea eax, [ebp - 0x44]
push eax
call fcn.10046b5b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001bd27
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d713
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001be6c
mov dword [ebp - 0x24], 0x18d
mov dword [ebp - 0x28], str.ysjxlo_npuuv_aslrtuhhj_myijyrh_uwzpxfzn_wiii_iyqaqee
cmp dword [ebp - 0x24], 0x463
jle 0x1001bdd4
and dword [ebp - 0x20], 0
jmp 0x1001bd79
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3e85
jge 0x1001bdd4
and dword [ebp - 0x18], 0
jmp 0x1001bd8f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1b36
jge 0x1001bdd2
and dword [ebp - 0x1c], 0
jmp 0x1001bda5
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7537
jge 0x1001bdd0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov ecx, 0x10078098
call fcn.10003fb2
jmp 0x1001bd9e
jmp 0x1001bd88
jmp 0x1001bd72
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0xfffffe5f
jge 0x1001bdf4
mov edx, dword [ebp - 0x28]
mov ecx, 0x10078098
call fcn.100065fc
jmp 0x1001be10
or dword [ebp - 4], 0xffffffff
jmp 0x1001be1a
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1001be4c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1001be4a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
jmp 0x1001be6a
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1001be6a
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1001bee6
lea eax, [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1001beac
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x1001beaa
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
jmp 0x1001bee6
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x78]
push eax
call fcn.100134dd
pop ecx
mov esi, eax
lea edi, [ebp - 0x6c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
call fcn.100157f5
shl eax, 1
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + eax*4]
sub eax, 0x12c
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10022169
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
je 0x100221f7
cmp byte [ebp + 0xc], 0
je 0x100221ec
mov edx, dword [ebp + 0x18]
xor ebx, ebx
cmp dword [edx], ebx
jne 0x100221b1
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
sub eax, dword [ecx]
mov dword [ecx], eax
mov eax, dword [ecx]
xor ecx, ecx
cmp eax, 0x8bd8
setl cl
cmp ecx, dword [edx]
jl 0x100221b1
mov eax, dword [esi]
cmp dword [eax + 4], ebx
je 0x100221b4
xor ebx, ebx
inc ebx
mov eax, dword [edi]
xor edx, edx
mov edi, dword [ebp + 0x2c]
push 4
pop esi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [ebp + 0x1c]
add ecx, ebx
mov eax, dword [eax]
cmp ecx, eax
mov eax, dword [edi]
sete dl
xor ecx, ecx
sub esi, edx
cmp esi, eax
mov eax, dword [ebp + 0x24]
setge cl
mov eax, dword [eax]
add eax, 0x16580849
add eax, ecx
mov dword [edi], eax
jmp 0x100222d5
call dword [sym.imp.USER32.dll_GetMessageTime]
jmp 0x100222d5
cmp byte [ebp + 0x28], 0
je 0x10022212
xor ebx, ebx
push ebx
push 0x20e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x100222d5
mov dword [esp + 0x1c], 0x37dc
cmp dword [esp + 0x1c], 0x3844
push 0
pop ebx
jle 0x100222a1
mov dword [esp + 0x18], ebx
mov edx, ebx
mov dword [esp + 0x14], 0x6c88
mov dword [esp + 0x10], edx
mov edi, ebx
mov esi, ebx
mov ecx, esi
mov eax, edi
shl eax, cl
lea ecx, [esp + 0x20]
xor eax, edx
cdq
push edx
push eax
call fcn.10001a8a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002225b
mov eax, dword [eax]
push eax
call fcn.10046da3
pop ecx
push ebx
push 1
lea ecx, [esp + 0x28]
call fcn.100045f1
mov edx, dword [esp + 0x10]
inc esi
cmp esi, 0xcb8
jl 0x1002223d
inc edi
cmp edi, 0x1b42
jl 0x1002223b
mov esi, dword [esp + 0x18]
add edx, esi
dec dword [esp + 0x14]
mov dword [esp + 0x10], edx
jne 0x10022239
inc esi
mov dword [esp + 0x18], esi
cmp esi, 0x4068
jl 0x1002222b
mov edx, dword [ebp + 0x14]
mov dword [edx], ebx
cmp dword [edx], 3
jge 0x100222c0
mov esi, dword [ebp + 0x20]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xa75c96dd
inc dword [edx]
cmp dword [edx], 3
jl 0x100222ae
cmp dword [esp + 0x1c], 0x344a
jge 0x100222d5
push str.ejepjbr_bvjv_lubdxljix_amx_wsclf_zwpzghoh_fnpozvq_txjewz
call fcn.10046da3
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10022d18
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, edx
mov byte [ebp - 4], cl
xor edx, edx
test cl, cl
je 0x10022d35
push edx
push edx
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x10022da2
mov ecx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
mov eax, dword [ecx]
mov eax, dword [ecx]
mov eax, dword [ebp + 0x20]
inc dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [edi]
mov eax, dword [ebp + 0x14]
cmp dword [eax], edx
jne 0x10022d59
mov eax, dword [esi]
cmp dword [eax], edx
je 0x10022d5c
xor edx, edx
inc edx
mov eax, dword [edi]
xor ecx, ecx
cmp edx, eax
setg cl
mov dword [edi], ecx
mov ecx, dword [ebp + 0x24]
mov eax, dword [edi]
pop edi
mov dword [ecx], eax
mov eax, dword [ecx]
xor ecx, ecx
sub eax, 0x11b55e9
cmp eax, 0x48214d2f
mov eax, dword [ebp + 8]
setne cl
cmp ecx, 5
mov eax, dword [eax]
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [esi]
setge cl
xor edx, edx
cmp ecx, 0x2657cf7a
setge dl
mov dword [eax + 4], edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10023ab0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005d93d
call fcn.1005c610
sub esp, 0x14
push ebx
push esi
mov dword [ebp - 0x20], 0x3452
xor esi, esi
cmp dword [ebp - 0x20], 0x351b
push edi
mov dword [ebp - 0x10], esp
jle 0x10023b33
mov edi, esi
mov dword [ebp - 0x1c], esi
mov ebx, esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0x1cd9
mov edi, esi
mov esi, dword [ebp - 0x14]
mov eax, esi
mov ecx, 0x10078098
xor eax, edi
cdq
push edx
push eax
call fcn.10003fb2
inc edi
cmp edi, 0x2988
jl 0x10023aeb
add esi, ebx
dec dword [ebp - 0x18]
push 0
mov dword [ebp - 0x14], esi
pop esi
jne 0x10023ae6
mov edi, dword [ebp - 0x1c]
dec ebx
cmp ebx, 0xffffecfd
jg 0x10023adc
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0x5d12
jl 0x10023ada
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push 0xf25
push ecx
push 0x7186
push ecx
push ecx
push dword [ebp + 0x2c]
push esi
push 0x50a3
push dword [ebp + 8]
push 0x449e
push ecx
push 0x5cc
push 0x4f19
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push ecx
push dword [ebp + 0x30]
push 0x2c08
push ecx
call fcn.10023bba
add esp, 0x4c
mov dword [ebp - 4], esi
cmp dword [ebp - 0x20], 0x31bb
jge 0x10023b8f
mov edx, str.qrerzyp_lanzk_dvtv_cnl_ipf_ccjownxyz_jrqss_mybcnaa_opjbkh_ihkzmddq_snqhib
mov ecx, 0x10078098
call fcn.100065fc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10023fb4
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push 0
pop eax
push 1
mov dword [ebp - 4], 0x5dab
mov edi, edx
cmp dword [ebp - 4], 0x5fef
mov esi, ecx
pop ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], ebx
jle 0x1002403e
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
xor ebx, ebx
xor edi, edi
mov eax, edi
lea ecx, [ebp - 0x24]
and eax, ebx
cdq
push edx
push eax
call fcn.10001a8a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10024008
mov eax, dword [eax]
push eax
call fcn.10046da3
pop ecx
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.100045f1
inc edi
cmp edi, 0x31a2
jl 0x10023fef
inc ebx
cmp ebx, 0xc2b
jl 0x10023fed
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.GDI32.dll_GetRegionData]
mov edi, dword [ebp - 0xc]
xor ebx, ebx
inc ebx
cmp dword [ebp - 4], 0x5c9d
jge 0x10024052
push str.quqfnv_qdytzp_hisrncsc_lzotbyo_bnydxz_dinlil_bugmk_xbagtan_nsoazsxom_stzbe_apwsqpl_azxyo
call fcn.10046da3
pop ecx
cmp byte [ebp + 0x2c], 0
je 0x100240d7
mov esi, dword [ebp + 0x1c]
xor edx, edx
mov ecx, dword [esi]
mov eax, dword [edi]
cmp ecx, eax
mov eax, dword [esi]
sete dl
xor ecx, ecx
cmp edx, eax
mov edx, dword [ebp + 0x20]
setl cl
cmp dword [esi], ecx
jge 0x1002407e
mov eax, dword [edx]
cmp dword [eax + 4], 0
jne 0x10024080
xor ebx, ebx
mov eax, dword [edi]
xor ecx, ecx
cmp ebx, eax
mov eax, dword [ebp + 0x24]
sete cl
xor ebx, ebx
mov dword [eax], ecx
mov ecx, dword [edx]
mov eax, dword [eax]
mov edx, dword [edx]
cmp eax, dword [ecx + 4]
mov eax, dword [edi]
setge bl
xor ecx, ecx
cmp ebx, eax
setle cl
add ecx, dword [edx]
cmp ecx, dword [edx + 4]
jge 0x100240ae
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
cmp eax, dword [edi]
jg 0x100240be
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x100240c2
and dword [ebp - 8], 0
mov eax, dword [esi]
xor ecx, ecx
cmp eax, dword [ebp - 8]
mov eax, dword [ebp + 8]
setg cl
mov dword [esi], ecx
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x100240f7
mov dword [esi], 0
cmp dword [esi], 3
jge 0x100240f7
mov edx, dword [ebp + 0x28]
mov ecx, dword [esi]
mov eax, dword [edx]
mov dword [eax + ecx*4], 0xaa6f
inc dword [esi]
cmp dword [esi], 3
jl 0x100240e5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10024dc7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x18], 0
push esi
mov esi, ecx
je 0x10024e04
cmp byte [ebp + 0x20], 0
je 0x10024df8
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
jmp 0x10024df1
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xaa6f
inc dword [edx]
cmp dword [edx], 3
jl 0x10024de4
jmp 0x10024e3a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
jmp 0x10024e3a
cmp byte [ebp + 0x10], 0
je 0x10024e2c
mov dword [edx], 0
cmp dword [edx], 2
jge 0x10024e3a
mov esi, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xffff
inc dword [edx]
cmp dword [edx], 2
jl 0x10024e18
jmp 0x10024e3a
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop ebp
ret

Function at 0x10024f6d
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ebp + 0xc], 0
je 0x10024f88
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x10024f95
xor dl, dl
call fcn.1002411b
jmp 0x10024f95
cmp byte [ecx], 0
je 0x10024f95
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop ecx
pop ebp
ret