joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406523
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43f2c4], 0
push esi
jne 0x40655a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406534
mov dword [ecx*4 + 0x43f2c0], eax
inc ecx
cmp ecx, 0x100
jl 0x40652f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40658b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43f2c0]
xor eax, esi
inc ecx
dec edx
jne 0x40656d
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
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
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp loc.00401219

Function at 0x401e78
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
mov ecx, 0xa
xor edi, edi
pop esi
mov dword [0x4031a8], esi
push edi
dec ecx
jne 0x401e9b
lea eax, [ebp - 0x4c]
push eax
mov edx, dword [0x4031a8]
mov dword [ebp - 0x3c], edx
lea ecx, str.contents
mov dword [ebp - 0x28], ecx
lea eax, section..text
mov dword [ebp - 0x48], eax
call dword [sym.imp.USER32.dll_RegisterClassW]
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
push eax
push dword [0x4031a8]
push eax
push eax
push 0x1f4
push 0x2f4
push 0x578
push 0xce4
push 0
mov ecx, str.frantically
push eax
push str.contents
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4031b8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4031b8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x401f53
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ecx, [ebp - 0x40]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x401f3a
pop ebp
ret 0x10
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
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
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1000614e
Capabilities:
Encode data using xor
Get disk size

Disassembly:
mov eax, 0x1005a501
call fcn.10059d20
sub esp, 0x1c
mov byte [ebp - 0x14], cl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x10006229
test cl, cl
je 0x1000618c
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x10006187
push 0x21a2
xor esi, esi
push esi
push esi
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
jmp 0x100062b4
mov dword [ebp - 0x1c], 0x16ef
xor esi, esi
cmp dword [ebp - 0x1c], 0x17f4
jle 0x100061c5
mov edi, esi
mov ebx, esi
mov eax, ebx
mov ecx, 0x10073998
xor eax, edi
cdq
push edx
push eax
call fcn.100034ac
inc ebx
cmp ebx, 0x2f21
jl 0x100061a2
inc edi
cmp edi, 0x5af4
jl 0x100061a0
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x100061ef
push esi
push esi
push esi
push 0x15df
push 0x511
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentExPointA]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], 0x14be
jge 0x10006187
mov edx, str.lqqkyml_lvh_xepobgcs_aprdwsg_buaoddd_cusamlapn
mov ecx, 0x10073998
call fcn.10005649
jmp 0x10006187
cmp byte [ebp + 0xc], 0
je 0x1000623e
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x100062b4
mov dword [ebp - 0x1c], 0x193e
cmp dword [ebp - 0x1c], 0xdcb
jge 0x1000629a
lea eax, [ebp - 0x18]
push eax
push 0x100633e0
call fcn.100422fb
jmp 0x1000628d
dec eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push str._d__d
call fcn.100422fb
mov edx, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
call fcn.10006064
push eax
push 0x100633f4
call fcn.1004252f
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
test eax, eax
jne 0x1000625e
dec eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [eax], 0x10
jge 0x100062b4
mov ecx, dword [ebp + 8]
inc dword [ecx]
inc dword [eax]
cmp dword [eax], 0x10
jl 0x100062ab
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10019244
Capabilities:
Get disk size

Disassembly:
mov eax, 0x1005aadf
call fcn.10059d20
sub esp, 0x24
mov byte [ebp - 0x14], cl
push ebx
test dl, dl
je 0x1001937b
test cl, cl
je 0x10019286
mov byte [ebp - 0xd], 0
cmp byte [ebp - 0xd], 0
je 0x100193bc
push 0x19a9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
jmp 0x100193bc
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x100193bc
push 0xa75
push 0x715e
push 0x5f62
xor ebx, ebx
xor dl, dl
push ebx
mov ecx, 0x37e1
call fcn.100193cb
mov dword [ebp - 0x18], 0x20fc
add esp, 0x10
cmp dword [ebp - 0x18], 0x1306
jge 0x100193bc
push esi
push edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [ebp - 0x30]
mov dword [ebp - 4], ebx
mov ecx, 0x10073ab8
call fcn.1001c6a9
mov ecx, ebx
mov edi, ebx
mov esi, ebx
mov dword [ebp - 0x18], ecx
mov edx, ebx
cmp dword [ebp - 0x20], ecx
jbe 0x1001933b
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
cmp byte [eax + edx], 0x28
jne 0x1001930a
inc esi
jmp 0x10019331
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
cmp byte [eax + edx], 0x29
je 0x1001932d
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
cmp byte [eax + edx], 0x23
jne 0x10019331
inc edi
inc ecx
mov dword [ebp - 0x18], ecx
cmp esi, ecx
jl 0x1001936f
inc edx
cmp edx, dword [ebp - 0x20]
jb 0x100192f6
dec edi
test edi, edi
jle 0x10019351
push 0x10065490
call fcn.100426e6
pop ecx
dec edi
jne 0x10019340
mov ecx, dword [ebp - 0x18]
sub esi, ecx
push esi
push str._ld_n
call fcn.1004252f
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.100038eb
pop edi
pop esi
jmp 0x100193bc
push 0x10065040
call fcn.100426e6
jmp 0x1001935f
cmp byte [ebp + 8], 0
je 0x10019390
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x100193bc
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x100193bc
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x15df
push 0x511
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentExPointA]
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001a7e8
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 0x1001a7ff
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

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

Disassembly:
push esi
mov edx, 0x100d72d4
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, 0x100d7660
jl 0x1001a82f
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, 0x100d7904
jl 0x1001a86f
mov ecx, dword [0x100d8650]
xor ecx, dword [0x100d72d4]
and ecx, edi
xor ecx, dword [0x100d8650]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x100d72d0], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x100d7904]
mov dword [0x100d7c90], eax
pop esi
ret
Function at 0x1001de89
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001deef
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1001ded1
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001decf
push 0x3e8d
push 0x5616
push 0
push 0xa53
push 1
push 1
call fcn.1001cf9f
add esp, 0x18
jmp 0x1001deed
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1001deed
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x1001df03
push 1
push 0x8a7
push 0x5734
call fcn.1001d31e
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x1002d59a
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005adcf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1002d5fa
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
push 0x13e8
mov eax, dword [ebp - 0x28]
push dword [eax]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
push 0x6cf0
call fcn.1002d736
add esp, 0x18
jmp 0x1002d725
mov dword [ebp - 0x20], 0x89c
mov dword [ebp - 0x34], str.zpamar_gcrn_gfmlys
cmp dword [ebp - 0x20], 0x975
jle 0x1002d686
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
and dword [ebp - 0x1c], 0
jmp 0x1002d628
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x11eb
jge 0x1002d686
and dword [ebp - 0x14], 0
jmp 0x1002d63e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5e0d
jge 0x1002d684
and dword [ebp - 0x18], 0
jmp 0x1002d654
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6955
jge 0x1002d682
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x18]
xor edx, dword [ebp - 0x1c]
mov eax, edx
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
push dword [ebp - 0x50]
push dword [ebp - 0x54]
mov ecx, 0x10073998
call fcn.100034ac
jmp 0x1002d64d
jmp 0x1002d637
jmp 0x1002d621
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x87f
jge 0x1002d6a6
mov edx, dword [ebp - 0x34]
mov ecx, 0x10073998
call fcn.10005649
jmp 0x1002d6c2
or dword [ebp - 4], 0xffffffff
jmp 0x1002d6cc
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1002d6ef
push 0xff1
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x1002d725
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.10017c33
movsx eax, byte [eax]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
imul ecx, dword [ecx], 0xa
lea eax, [ecx + eax - 0x30]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
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 0x10030268
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005ae51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov byte [esp + 4], dl
push ebx
push esi
push edi
test dl, dl
je 0x10030414
cmp byte [ecx], 0
je 0x10030421
call fcn.10030616
mov dword [esp + 0x1c], 0x1e9e
cmp dword [esp + 0x1c], 0xe36
jge 0x10030421
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
push str._d__lf__d_n
call fcn.100422fb
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x38]
add esp, 0x10
xor esi, esi
inc eax
mov dword [esp + 0x3c], esi
xorps xmm0, xmm0
mov dword [esp + 0x40], esi
movsd qword [esp + 0x28], xmm0
push ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], esi
call fcn.1003327f
mov dword [esp + 0x54], esi
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x34]
inc eax
mov dword [esp + 0x34], esi
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.100332bc
cmp dword [esp + 0x3c], esi
je 0x10030334
push dword [esp + 0x3c]
call fcn.10042697
pop ecx
movsd xmm3, qword [0x100680b8]
mov edx, esi
mov eax, dword [esp + 0x14]
movapd xmm1, xmm3
mov ebx, dword [esp + 0x30]
test eax, eax
js 0x10030370
mov ecx, ebx
mov eax, dword [ecx]
movapd xmm0, xmm3
inc edx
add ecx, 0xc
movsd qword [eax], xmm1
subsd xmm0, qword [esp + 0x20]
mov eax, dword [esp + 0x14]
mulsd xmm1, xmm0
cmp edx, eax
jle 0x10030350
mov ecx, dword [esp + 0x18]
xor edi, edi
inc edi
cmp eax, edi
jl 0x100303cc
xor edx, edx
inc edx
cmp ecx, edx
jl 0x100303c4
cmp edx, eax
jg 0x100303c4
movapd xmm2, xmm3
cmp edx, ecx
je 0x10030394
subsd xmm2, qword [esp + 0x20]
mov eax, dword [ebx]
movsd xmm1, qword [eax + edx*8 - 8]
movsd xmm0, qword [eax + edx*8]
mulsd xmm1, qword [esp + 0x20]
mov eax, dword [ebx + 0xc]
mulsd xmm0, xmm2
addsd xmm1, xmm0
movsd qword [eax + edx*8], xmm1
inc edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp edx, ecx
jle 0x10030382
inc edi
add ebx, 0xc
cmp edi, eax
jle 0x1003037b
xorps xmm1, xmm1
test ecx, ecx
js 0x100303f5
mov edx, dword [esp + 0x30]
imul eax, eax, 0xc
mov eax, dword [eax + edx]
movd xmm0, esi
inc esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [eax]
add eax, 8
addsd xmm1, xmm0
cmp esi, ecx
jle 0x100303dd
push ecx
push ecx
movsd qword [esp], xmm1
push str._.8lf_n
call fcn.1004252f
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.1003335e
jmp 0x10030421
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10034f2f
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005afb6
call fcn.10059d20
sub esp, 0x30
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x14], cl
test cl, cl
je 0x10034fae
push 3
mov dword [ebp - 0x1c], 0x97f6af11
pop ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
jmp 0x10034f6a
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x38], esi
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ecx
jl 0x10034f60
mov dword [ebp - 0x1c], esi
jmp 0x10034fa6
mov dword [ebp - 0x18], 0xfffffff8
mov dword [ebp - 0x20], 0x989226c3
mov dword [ebp - 0x18], esi
jmp 0x10034f95
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x2c], 1
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ecx
jl 0x10034f87
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
dec dword [ebp - 0x20]
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x1a
jle 0x10034f74
jmp 0x10035020
mov dword [ebp - 0x20], 0x3a6b
cmp dword [ebp - 0x20], 0x3e47
jle 0x10035000
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x1c], esi
mov eax, esi
mov ecx, 0x10073998
xor eax, ebx
or eax, edi
cdq
push edx
push eax
call fcn.100034ac
inc esi
cmp esi, 0x57a9
jl 0x10034fc5
inc ebx
push 0
pop esi
cmp ebx, 0x27c6
jl 0x10034fc2
inc edi
cmp edi, 0x32f1
jl 0x10034fc0
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x20], 0x3972
jge 0x1003501b
mov edx, str.nxonczl_ekmqohu_hnduzkfv_widunj_boq_xaks_vwb_dzwwx_duwvx_qnnfc
mov ecx, 0x10073998
call fcn.10005649
mov eax, dword [ebp + 0x14]
dec dword [eax]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003516b
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005afc0
call fcn.10059d20
sub esp, 0x10
push ebx
push esi
mov dword [ebp - 0x14], 0x1c6b
mov eax, ecx
cmp dword [ebp - 0x14], 0x1e9a
mov ebx, edx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], eax
jle 0x100351bf
xor esi, esi
xor edi, edi
mov eax, edi
mov ecx, 0x10073998
xor eax, esi
cdq
push edx
push eax
call fcn.100034ac
inc edi
cmp edi, 0x884
jl 0x10035199
inc esi
cmp esi, 0x1298
jl 0x10035197
mov eax, dword [ebp - 0x18]
push 0x2935
sub esp, 0xc
xor dl, dl
mov ecx, eax
push ebx
call fcn.1003521b
and dword [ebp - 4], 0
add esp, 0x14
cmp dword [ebp - 0x14], 0x1a01
jge 0x100351f0
mov edx, str.kktsgeuws_nbsop_kieqdoie_wtixgsrzj_dkc_iljkafwdc_inxrrih_cdistix_qpnjimuyv
mov ecx, 0x10073998
call fcn.10005649
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41304a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x414c30
push 1
xor ebx, ebx
push ebx
push 0x414ce0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41311b
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x414cd0
push eax
call dword [ecx]
test eax, eax
jl 0x413112
cmp byte [ebp + 8], bl
je 0x41309d
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x4130ba
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x4130cc
push 0x41437c
jmp 0x4130cf
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x4130e4
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x4130f5
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x413109
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x413135
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x4017a0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x401880
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x401880
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x4017ea
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x4017f1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x4017d0
jmp 0x4017f3
mov esi, 0x1505
jmp 0x4017f3
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
lea edi, [ebx - 1]
mov edx, ebx
sub edx, 1
mov dword [esp + 8], edx
jb 0x401880
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x401824
inc edi
dec ebx
je 0x40187e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40187e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x401820
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.00408730
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x401820
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.00408750
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x401820
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x401880
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401890
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x401991
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x401991
push ebx
call fcn.00408730
add esp, 4
test eax, eax
je 0x4018ea
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x4018f1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4018d0
jmp 0x4018f3
mov esi, 0x1505
jmp 0x4018f3
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x401991
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401924
inc ebp
dec ebx
je 0x40198f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40198f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401920
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408730
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401920
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408750
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401920
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40198f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x401991
mov edi, dword [eax + 8]
jmp 0x401991
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret