joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x5c]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
pop edi
add esp, 0x54
ret

Function at 0x402000
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 8]
ret 8

Function at 0x402030
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
ret 8

Function at 0x418180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x4181a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4181a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418198
mov eax, 1
add ebx, ebx
jne 0x4181bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4181b0
jne 0x4181cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181b0
xor ecx, ecx
sub eax, 3
jb 0x4181e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418252
mov ebp, eax
add ebx, ebx
jne 0x4181eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4181f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41821c
inc ecx
add ebx, ebx
jne 0x418208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4181fd
jne 0x418219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41823c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41822d
jmp 0x41819e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41823c
add edi, ecx
jmp 0x41819e
pop esi
mov edi, esi
mov ecx, 0x3b2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41825a
cmp byte [edi], 0
jne 0x41825a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41825f
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x4182ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x180b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18114]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41828c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18118]
or eax, eax
je 0x4182c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4182a9
call dword [esi + 0x1811c]
popal
jmp 0x40a630
Function at 0x4086cd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406bc5
and dword [ebp - 4], 0
cmp dword [0x40fa04], 0
mov ebx, eax
jne 0x40877e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40882f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40882f
push eax
call fcn.00406b53
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40fa04], eax
call esi
push eax
call fcn.00406b53
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40fa08], eax
call esi
push eax
call fcn.00406b53
mov dword [esp], 0x40b3d0
push edi
mov dword [0x40fa0c], eax
call esi
push eax
call fcn.00406b53
pop ecx
mov dword [0x40fa14], eax
test eax, eax
je 0x40877e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406b53
pop ecx
mov dword [0x40fa10], eax
mov eax, dword [0x40fa10]
cmp eax, ebx
je 0x4087d6
cmp dword [0x40fa14], ebx
je 0x4087d6
push eax
call fcn.00406bce
push dword [0x40fa14]
mov esi, eax
call fcn.00406bce
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4087d6
test edi, edi
je 0x4087d6
call esi
test eax, eax
je 0x4087cd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4087cd
test byte [ebp - 0xc], 1
jne 0x4087d6
or dword [ebp + 0x10], 0x200000
jmp 0x40880f
mov eax, dword [0x40fa08]
cmp eax, ebx
je 0x40880f
push eax
call fcn.00406bce
pop ecx
test eax, eax
je 0x40880f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40880f
mov eax, dword [0x40fa0c]
cmp eax, ebx
je 0x40880f
push eax
call fcn.00406bce
pop ecx
test eax, eax
je 0x40880f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40fa04]
call fcn.00406bce
pop ecx
test eax, eax
je 0x40882f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408831
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f6b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10004cb7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
push 0x43e6
push dword [ebp - 0x20]
push 1
call fcn.10004daa
add esp, 0xc
jmp 0x10004d99
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x10004d8d
mov dword [ebp - 0x1c], 0x30d9
mov dword [ebp - 0x2c], str.fsyeq_jxtvinyd_bxagwxpb_ywjxxfci_fojxkz_bgms_kduk_aptwdiprz_nyop_vgs_bcmsdobbu_zgyqbpvgq
cmp dword [ebp - 0x1c], 0x3141
jle 0x10004d49
and dword [ebp - 0x14], 0
jmp 0x10004cef
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x658f
jge 0x10004d49
and dword [ebp - 0x18], 0
jmp 0x10004d05
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x16be
jge 0x10004d47
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
call fcn.10001ac3
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.10014e06
push eax
call fcn.1004881f
pop ecx
lea ecx, [ebp - 0x4c]
call fcn.10014dfc
jmp 0x10004cfe
jmp 0x10004ce8
call dword [sym.imp.USER32.dll_DestroyCaret]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x2d44
jge 0x10004d65
push dword [ebp - 0x2c]
call fcn.1004881f
pop ecx
jmp 0x10004d81
or dword [ebp - 4], 0xffffffff
jmp 0x10004d8b
jmp 0x10004d99
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001bbe3
Capabilities:
Encode data using xor
Start service

Disassembly:
mov eax, 0x1005fd8f
call fcn.1005f0d0
sub esp, 0x14
mov byte [ebp - 0x14], cl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test cl, cl
je 0x1001bcad
mov dword [ebp - 0x18], 0x157b
cmp dword [ebp - 0x18], 0x1907
jle 0x1001bc53
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x1c], esi
lea eax, [esi + ebx]
mov ecx, 0x10079cd8
xor eax, edi
cdq
push edx
push eax
call fcn.10015096
inc esi
cmp esi, 0x38fe
jl 0x1001bc23
inc ebx
push 0
pop esi
cmp ebx, 0x24f7
jl 0x1001bc20
inc edi
cmp edi, 0x4677
jl 0x1001bc1e
mov dword [ebp - 4], 2
cmp dword [ebp - 0x18], 0x13cd
jge 0x1001bc72
mov edx, str.vukpdhdqa_gzh_mchoczlxs_mdzpnhggk
mov ecx, 0x10079cd8
call fcn.1001996e
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp + 0x20]
add ecx, 0x3ec3e1b8
mov eax, dword [eax]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
jmp 0x1001bcd0
mov edx, dword [ebp + 0x30]
mov dword [edx], 0
cmp dword [edx], 1
jge 0x1001bcd0
mov esi, dword [ebp + 0x14]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x9d4346
inc dword [edx]
cmp dword [edx], 1
jl 0x1001bcbe
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001c1bc
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1005fdb3
call fcn.1005f0d0
sub esp, 0x28
cmp byte [ebp + 8], 0
push ebx
push esi
mov esi, ecx
je 0x1001c292
cmp byte [esi], 0
jne 0x1001c29d
mov edx, dword [ebp + 0xc]
xor cl, cl
call fcn.1001b2be
push 2
lea ecx, [ebp - 0x24]
call fcn.100152de
push 8
pop eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0xb9dd952e
push 1
mov dword [ebp - 0x14], 0xfffffffd
mov dword [ebp - 0x14], ebx
pop edx
jmp 0x1001c22a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov dword [eax + ecx*4], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1001c21e
mov dword [ebp - 0x14], ebx
jmp 0x1001c243
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x18], 0xfffffffe
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1001c235
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], ebx
jl 0x1001c285
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov eax, dword [ebp - 0x24]
cmp dword [eax + ecx*4], ebx
setne dl
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
je 0x1001c280
push 0x6743
push ebx
xor dl, dl
mov ecx, 0x39a5
call fcn.1001c1bc
pop ecx
pop ecx
dec dword [ebp - 0x34]
jns 0x1001c250
lea ecx, [ebp - 0x24]
call fcn.10015361
mov byte [esi], 1
jmp 0x1001c29d
xor ebx, ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001cab6
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005fdf0
call fcn.1005f0d0
sub esp, 0x14
push ebx
push esi
mov dword [ebp - 0x20], 0x346d
mov esi, 0x10079cd8
cmp dword [ebp - 0x20], 0x36d8
push edi
mov dword [ebp - 0x10], esp
jle 0x1001cb05
xor edi, edi
xor ebx, ebx
mov eax, edi
mov ecx, esi
cdq
idiv ebx
mov eax, edx
cdq
push edx
push eax
call fcn.10015096
inc ebx
cmp ebx, 0x2e16
jl 0x1001cae2
inc edi
cmp edi, 0x9ce
jl 0x1001cae0
cmp byte [ebp + 0x1c], 0
je 0x1001cb77
mov edi, dword [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov eax, dword [edi]
mov ecx, dword [edi]
mov eax, dword [edi]
cmp ecx, eax
setl dl
cmp edx, dword [edi]
mov edx, dword [ebp + 0xc]
jne 0x1001cb29
mov eax, dword [edx]
mov eax, dword [edi]
xor ecx, ecx
mov eax, dword [edi]
cmp eax, 1
mov eax, dword [ebp + 0x28]
sete cl
mov dword [eax], ecx
mov eax, dword [eax]
mov eax, dword [edi]
mov eax, dword [edx]
mov edx, dword [ebp + 0x24]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [edx]
add eax, dword [ecx + 0xc]
xor ecx, ecx
cmp eax, 0x58528353
mov eax, dword [ebp + 0x30]
setl cl
mov dword [eax], ecx
xor ecx, ecx
mov eax, dword [eax]
cmp eax, 0x758185f1
mov eax, dword [ebp + 0x18]
setle cl
sub ecx, 9
mov dword [eax], ecx
jmp 0x1001cc96
mov dword [ebp - 0x1c], 0x793e
cmp dword [ebp - 0x1c], 0x79be
jle 0x1001cbc4
xor edi, edi
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [ebp - 0x14], 0x4027
xor edi, edi
mov eax, ebx
mov ecx, esi
xor eax, edi
cdq
push edx
push eax
call fcn.10015096
inc edi
cmp edi, 0x2111
jl 0x1001cb97
mov edi, dword [ebp - 0x18]
add ebx, edi
dec dword [ebp - 0x14]
jne 0x1001cb95
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x55c
jl 0x1001cb8c
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x75d3
jge 0x1001cbfe
mov edx, str.ggyf_hmcpczg_rmqladbzo_mehlqn_uunhhtuo_elb_phmzlj_ijekxtlr_kneij_fgjuv_nwmiecq_ekpa
mov ecx, esi
call fcn.1001996e
jmp 0x1001cbfe
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], 0x3b7c
cmp dword [ebp - 0x1c], 0x3d66
jle 0x1001cc36
xor edi, edi
xor ebx, ebx
mov eax, ebx
mov ecx, esi
and eax, edi
cdq
push edx
push eax
call fcn.10015096
inc ebx
cmp ebx, 0x4f8e
jl 0x1001cc16
inc edi
cmp edi, 0x45db
jl 0x1001cc14
mov edx, dword [ebp + 0x2c]
mov dword [edx], 0
cmp dword [edx], 3
jge 0x1001cc59
mov edi, dword [ebp + 0x20]
mov ecx, dword [edx]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0xddf34ffd
inc dword [edx]
cmp dword [edx], 3
jl 0x1001cc47
mov dword [ebp - 4], 2
cmp dword [ebp - 0x1c], 0x3b5d
jge 0x1001cc96
mov edx, str.azs_ehmif_oxfsw_jfgjasvxq_lguvouo_hjsubke_xobzeyrz_utgqil_jofrivd_sbiz_whvjn
mov ecx, esi
call fcn.1001996e
jmp 0x1001cc96
mov dword [ebp - 4], 4
cmp dword [ebp - 0x20], 0x328f
jge 0x1001ccb2
mov edx, str.vplpwb_mkzxaz_nxfvd_aeuvpjlj_fppwek_azpdbtddh_bjddcdol
mov ecx, esi
call fcn.1001996e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001dc20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x1001dc37
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

Function at 0x1001dc59
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov edx, 0x1007b404
push edi
mov esi, edx
mov edi, 0x7fffffff
mov ecx, dword [esi + 0x9c4]
xor ecx, dword [esi + 0x9c0]
and ecx, edi
xor ecx, dword [esi + 0x9c0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0xff4]
xor eax, ecx
mov dword [esi], eax
add esi, 4
cmp esi, 0x1007b790
jl 0x1001dc67
mov esi, 0x9908b0df
mov ecx, dword [edx + 0xd50]
xor ecx, dword [edx + 0xd4c]
and ecx, edi
xor ecx, dword [edx + 0xd4c]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, esi
xor eax, ecx
xor eax, dword [edx]
mov dword [edx + 0x38c], eax
add edx, 4
cmp edx, 0x1007ba34
jl 0x1001dca7
mov ecx, dword [0x1007c780]
xor ecx, dword [0x1007b404]
and ecx, edi
xor ecx, dword [0x1007c780]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x1007b400], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x1007ba34]
mov dword [0x1007bdc0], eax
pop esi
ret

Function at 0x1001ebf0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005feb2
call fcn.1005f0d0
sub esp, 0xc
mov byte [ebp - 0x14], cl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test cl, cl
je 0x1001ec97
mov dword [ebp - 0x18], 0x4fc2
cmp dword [ebp - 0x18], 0x5075
jle 0x1001ec52
xor esi, esi
xor edi, edi
xor ebx, ebx
mov eax, ebx
mov ecx, 0x10079cd8
xor eax, edi
or eax, esi
cdq
push edx
push eax
call fcn.10015096
inc ebx
cmp ebx, 0x405d
jl 0x1001ec24
inc edi
cmp edi, 0x287d
jl 0x1001ec22
inc esi
cmp esi, 0x1a3a
jl 0x1001ec20
push 0
push 0x238f
call dword [sym.imp.USER32.dll_RemovePropA]
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x4da0
jge 0x1001ec7b
mov edx, str.fuyebms_watgfkb_ohlb_jqlfickyg_szq_kshsfqj_uewurarwb
mov ecx, 0x10079cd8
call fcn.1001996e
jmp 0x1001ecab
push 0
push 0x1086
push 0
push 0x1e9
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001eda8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
mov dword [esp + 0x10], 0x14e2
mov esi, ecx
cmp dword [esp + 0x10], 0x1736
push edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
jle 0x1001ee42
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
xor edi, edi
mov esi, edi
mov dword [esp + 0x10], 0x6724
xor ebx, ebx
lea eax, [esi + ebx]
cdq
lea ecx, [esp + 0x20]
push edx
push eax
call fcn.10001ac3
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001edff
mov eax, dword [eax]
push eax
call fcn.1004881f
pop ecx
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.10015918
inc ebx
cmp ebx, 0x62be
jl 0x1001ede6
dec esi
dec dword [esp + 0x10]
jne 0x1001ede4
inc edi
cmp edi, 0x2f88
jl 0x1001edda
push 0xb91
push 0x952
push 0
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x14], 0x1499
jge 0x1001ee57
push str.suemeiudx_udcudc_lvwhha_pjr_pignutxtx_lojv_adtkp_bpasca_fcertpq_erglgbeyp_enoqqedbp_znbj_yfvxlca
call fcn.1004881f
pop ecx
mov dword [esp + 0x10], 0x49b1
cmp dword [esp + 0x10], 0x4a5b
jle 0x1001eecb
xor edi, edi
mov dword [esp + 0x14], edi
xor ebx, ebx
mov eax, edi
mov edi, 0x48a5
cdq
idiv ebx
mov esi, edx
mov eax, esi
lea ecx, [esp + 0x38]
cdq
push edx
push eax
call fcn.10001ac3
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001ee95
mov eax, dword [eax]
push eax
call fcn.1004881f
pop ecx
push 0
push 1
lea ecx, [esp + 0x40]
call fcn.10015918
inc esi
dec edi
jne 0x1001ee7d
mov edi, dword [esp + 0x14]
inc ebx
cmp ebx, 0x558c
jl 0x1001ee71
inc edi
mov dword [esp + 0x14], edi
cmp edi, 0x1627
jl 0x1001ee6f
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x10], 0x4756
jge 0x1001eee0
push str.ifqkkdpn_tmdlbfc_mxnhvheu_qwgpcoha_clvmsuyc_xpizm_kvc_wjgrkxrf_urhswp_vly_pcuzjqdej_hnffgik_rrzdpbvfq
call fcn.1004881f
pop ecx
cmp byte [ebp + 0x18], 0
je 0x1001ef08
mov dword [esi], 0
cmp dword [esi], 1
jge 0x1001ef20
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
mov eax, dword [edx]
mov dword [eax + ecx*4], 0xaab5
inc dword [esi]
cmp dword [esi], 1
jl 0x1001eef4
jmp 0x1001ef20
mov eax, dword [esp + 0x1c]
push dword [esp + 0x1c]
mov ecx, dword [ebp + 0x10]
push dword [eax + 4]
push dword [eax]
push dword [ecx + 4]
call fcn.10021ee6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001f196
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
cmp byte [ebp + 8], 0
mov eax, ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [esp + 0x24], eax
je 0x1001f1fd
cmp byte [ebp + 0x14], 0
je 0x1001f1e8
mov dword [esi], 1
cmp dword [esi], 0xffffffe4
je 0x1001f2bb
xor ebx, ebx
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], bl
je 0x1001f1dc
push ecx
push ecx
mov cl, 1
call fcn.1001ebf0
pop ecx
pop ecx
dec dword [esi]
cmp dword [esi], 0xffffffe4
jne 0x1001f1c7
jmp 0x1001f2bb
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x1aab
call dword [sym.imp.GDI32.dll_PolyPolyline]
jmp 0x1001f2bb
mov dword [esp + 0x20], 0x2e94
cmp dword [esp + 0x20], 0x30d4
push 0
pop ebx
jle 0x1001f27d
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0x40db
mov esi, dword [esp + 0x14]
mov edi, ebx
mov eax, esi
lea ecx, [esp + 0x28]
xor eax, edi
cdq
push edx
push eax
call fcn.10001ac3
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001f242
mov eax, dword [eax]
push eax
call fcn.1004881f
pop ecx
push ebx
push 1
lea ecx, [esp + 0x30]
call fcn.10015918
inc edi
cmp edi, 0x1098
jl 0x1001f228
mov esi, dword [esp + 0x1c]
add dword [esp + 0x14], esi
dec dword [esp + 0x18]
jne 0x1001f222
inc esi
mov dword [esp + 0x1c], esi
cmp esi, 0x2177
jl 0x1001f216
mov eax, dword [esp + 0x24]
cmp byte [ebp + 0x10], 0
je 0x1001f295
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push ecx
mov ecx, eax
call fcn.10021a10
jmp 0x1001f2a6
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x1001f2a6
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp dword [esp + 0x20], 0x2c61
jge 0x1001f2bb
push str.tdgyhigp_yxyu_rrveozj_sda_ybxqeq_biafkss_vmtaku_afvqib_aibzki_oqvgp_qkthekro_hhxaafxi
call fcn.1004881f
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100225ee
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006004c
call fcn.1005f0d0
sub esp, 0x14
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x100226cf
mov dword [ebp - 0x1c], 0x6122
cmp dword [ebp - 0x1c], 0x625b
jle 0x10022679
xor edi, edi
xor esi, esi
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 0x14], 0x1949
xor esi, esi
mov eax, ebx
mov ecx, 0x10079cd8
cdq
idiv esi
xor edx, edi
mov eax, edx
cdq
push edx
push eax
call fcn.10015096
inc esi
cmp esi, 0x4493
jl 0x1002262d
mov esi, dword [ebp - 0x18]
add ebx, esi
dec dword [ebp - 0x14]
jne 0x1002262b
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x1090
jl 0x10022622
inc edi
cmp edi, 0xf1c
jl 0x1002261d
push 1
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x6104
jge 0x10022695
mov edx, str.ohwwx_mbwvmsezi_onhsrizcj_fjbtzlwv_pbvld_mjhtfvfu
mov ecx, 0x10079cd8
call fcn.1001996e
mov eax, dword [ebp + 0x28]
or dword [ebp - 4], 0xffffffff
cmp byte [eax], 0
je 0x100226ef
push 0x64ec
mov edx, 0x10ea
xor cl, cl
call fcn.100237a2
pop ecx
jmp 0x100226ef
mov dword [edx], 0
cmp dword [edx], 4
jge 0x100226ef
mov esi, dword [ebp + 0x18]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x102d149f
inc dword [edx]
cmp dword [edx], 4
jl 0x100226dd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret