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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x46ded1
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x46dfa5
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x488198]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x488198]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x488198]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x488198]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x488198]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x488198]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x488198]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x488198]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x46deee
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x46dfc5
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x488198]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x46dfab
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x47c75a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x496278
cmp edx, dword [eax]
je 0x47c77c
add eax, 8
inc ecx
cmp eax, 0x496308
jl 0x47c76d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x496278]
jne 0x47c8aa
mov eax, dword [0xbeb238]
cmp eax, 1
je 0x47c884
test eax, eax
jne 0x47c7ad
cmp dword [0x495f74], 1
je 0x47c884
cmp edx, 0xfc
je 0x47c8aa
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x47c7e4
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0047fae0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004800b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x47c827
lea eax, [ebp - 0x1a4]
push eax
call fcn.004800b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x48973c
push edi
call fcn.00480f80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0047fae0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0047faf0
lea eax, [ebp - 0xa0]
push 0x48971c
push eax
call fcn.0047faf0
push dword [esi + 0x49627c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0047faf0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00480ee8
add esp, 0x2c
pop edi
jmp 0x47c8aa
lea eax, [ebp + 8]
lea esi, [esi + 0x49627c]
push 0
push eax
push dword [esi]
call fcn.004800b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
pop esi
leave
ret
Function at 0xc14f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0xc14ffc
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0xc15045
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00c2e4a0
add esp, 8
test eax, eax
jne 0xc15043
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0xc15047
jmp 0xc14ff3
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0xc2133a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0xc2134a
xor eax, eax
jmp 0xc21513
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0xc214cb
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xc52ef4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xc52ef4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xc52ef4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xc52ef4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xc52ef4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xc52ef4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xc52ef4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xc52ef4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0xc21353
cmp dword [ebp + 0x10], 0
je 0xc2150d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0xc52ef4]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0xc214d1
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x4010b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4010c9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401104
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401100
lea ebx, [ebx]
cmp esi, eax
jae 0x401104
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4010f0
cmp esi, eax
jb 0x40110a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401230
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ecx
xor eax, eax
mov cl, 0x1c
jmp 0x401240
xor byte [eax + 0x429ec0], cl
add eax, 1
cmp eax, 0x2cbadc
jl 0x401240
mov eax, dword [esp + 8]
push esi
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40129c
push 0
lea ecx, [esp + 8]
push ecx
push 0x2cbadc
push 0x429ec0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
Function at 0x4013b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1c0]
sub esp, 0x240
mov eax, dword [0x428ae4]
xor eax, ebp
mov dword [ebp + 0x1bc], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x7c], edi
call dword [0x429eb0]
push 0x228
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.0040e760
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x70], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x74], esi
jne 0x401417
xor eax, eax
jmp 0x401521
lea ecx, [ebp - 0x70]
push ecx
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x401517
jmp 0x401433
mov edi, dword [ebp - 0x7c]
test edi, edi
jne 0x40143b
xor ebx, ebx
jmp 0x401483
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x40147f
lea edi, [eax + eax]
mov eax, edi
call fcn.0041c2d0
mov esi, esp
test esi, esi
je 0x40147f
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push edx
push 0
push eax
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x401481
xor eax, eax
mov ebx, eax
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x4014ca
lea edi, [eax + eax]
mov eax, edi
call fcn.0041c2d0
mov esi, esp
test esi, esi
je 0x4014ca
mov eax, dword [ebp - 0x80]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
lea edx, [ebp - 0x4c]
push edx
push 0
push eax
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4014cc
xor eax, eax
mov ecx, ebx
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4014f0
test dl, dl
je 0x4014ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4014f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4014d0
xor eax, eax
jmp 0x4014f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov esi, dword [ebp - 0x74]
je 0x401510
lea ecx, [ebp - 0x70]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x401430
jmp 0x401517
mov dword [ebp - 0x78], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x78]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1bc]
xor ecx, ebp
call fcn.0040b116
add ebp, 0x1c0
mov esp, ebp
pop ebp
ret
Function at 0x401550
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41ffd8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x428ae4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
call dword [0x429eb0]
lea ecx, [esp + 0x1c]
call fcn.00402731
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.00401790
mov byte [esp + 0x40], 1
call fcn.00402b0d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4015bf
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
push 4
push 0x423fc0
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.00401cb0
mov ecx, dword [esp + 0x10]
push 0
push ecx
lea ecx, [esp + 0x24]
call fcn.004027f6
test eax, eax
je 0x401642
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, edi
lea ecx, [esp + 0x1c]
call fcn.0040242b
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00402a39
mov eax, dword [eax]
push eax
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40163e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x401600
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x1c]
call fcn.0040235b
lea eax, [ebx - 0x10]
mov byte [esp + 0x40], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401676
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40169b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
call fcn.00402764
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4016d0
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
sub esp, 0x114
mov eax, dword [0x428ae4]
xor eax, esp
mov dword [esp + 0x110], eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x6f78a0]
push 0
push eax
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [0x6f78a0]
push ecx
lea edx, [esp + 4]
push str._c_del__q__s
push edx
call fcn.0040b180
add esp, 0xc
push 0
push 0
lea eax, [esp + 8]
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40b116
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428ae4]
jne 0x40b120
repz ret
jmp fcn.0040f223

Function at 0x419155
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041043d
xor ebx, ebx
cmp dword [0x6f82d4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41922a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x419195
xor eax, eax
jmp 0x4192ee
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x41918e
push eax
call fcn.004103da
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x6f82d4], eax
call esi
push eax
call fcn.004103da
mov dword [esp], 0x422e88
push edi
mov dword [0x6f82d8], eax
call esi
push eax
call fcn.004103da
mov dword [0x6f82dc], eax
lea eax, [ebp - 8]
push eax
call fcn.0040b2a4
test eax, eax
pop ecx
pop ecx
je 0x4191f8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040f69f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41922a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004103da
cmp eax, ebx
pop ecx
mov dword [0x6f82e4], eax
je 0x41922a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004103da
pop ecx
mov dword [0x6f82e0], eax
mov eax, dword [0x6f82e0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4192a3
cmp dword [0x6f82e4], esi
je 0x4192a3
push eax
call fcn.00410446
pop ecx
call eax
cmp eax, ebx
je 0x419270
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x6f82e4]
call fcn.00410446
pop ecx
call eax
test eax, eax
je 0x419270
test byte [ebp - 0x18], 1
jne 0x4192a3
lea eax, [ebp - 0xc]
push eax
call fcn.0040b2db
test eax, eax
pop ecx
je 0x41928b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040f69f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x41929a
or dword [ebp + 0x10], 0x200000
jmp 0x4192d4
or dword [ebp + 0x10], 0x40000
jmp 0x4192d4
mov eax, dword [0x6f82d8]
cmp eax, esi
je 0x4192d4
push eax
call fcn.00410446
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4192d4
mov eax, dword [0x6f82dc]
cmp eax, esi
je 0x4192d4
push dword [ebp - 4]
push eax
call fcn.00410446
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x6f82d4]
call fcn.00410446
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f939
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x428ae4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0041f8ce
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0040e760
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x41f988
cmp dword [ebp - 0x1c], 5
jb 0x41f9a0
jmp 0x41f99c
cmp dword [ebp - 0x10], 1
jne 0x41f9a0
cmp dword [ebp - 0x1c], 4
ja 0x41f99c
jne 0x41f9a0
cmp dword [ebp - 0x18], 0
jbe 0x41f9a0
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x423f74
call fcn.0041f7bf
test eax, eax
jge 0x41f9c1
mov byte [0x6f83a8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040b116
add ebp, 0x78
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x10018ff
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push 0x1001220
push 0x80000002
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001967
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push 0x1001204
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100195e
cmp dword [ebp - 0x10], 4
jne 0x100195e
cmp dword [ebp - 8], 1
jne 0x100195e
inc edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
leave
ret

Function at 0x1001c41
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, section..data
push esi
call fcn.01001971
test eax, eax
jne 0x1001c63
push 0xffffffffffffffff
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [section..data]
xor eax, eax
mov edi, esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
cmp ecx, eax
je 0x1001cd5
mov eax, dword [ebp + 8]
mov ebx, dword [edi + 8]
test dword [ebp + 0xc], ebx
je 0x1001cc6
movzx esi, word [eax]
mov edx, eax
cmp si, word [ecx]
jne 0x1001ca3
movzx esi, si
inc ecx
inc ecx
test si, si
je 0x1001cde
inc edx
inc edx
movzx esi, word [edx]
cmp si, word [ecx]
je 0x1001c92
cmp word [edx], 0
jne 0x1001cc6
sub edx, eax
sar edx, 1
cmp edx, dword [ebp - 8]
jle 0x1001cc1
mov dword [ebp - 8], edx
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], ebx
jmp 0x1001cc6
jne 0x1001cc6
inc dword [ebp - 4]
add edi, 0xc
mov ecx, dword [edi]
test ecx, ecx
jne 0x1001c7d
cmp dword [ebp - 4], 1
je 0x1001ce2
mov eax, dword [ebp - 4]
neg eax
sbb eax, eax
jmp 0x1001ce5
mov eax, ebx
jmp 0x1001ce5
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100263e
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1005794]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
xor ebx, ebx
inc edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
cmp dword [0x10061f0], edi
jne 0x100266c
mov eax, edi
jmp 0x10027f3
push 0x1216
call fcn.01001836
pop ecx
test eax, eax
jne 0x1002682
push edi
call dword [sym.imp.msvcrt.dll_exit]
push ebx
lea eax, [ebp - 0x44]
push eax
push 0x10f5
call fcn.010016d6
test eax, eax
je 0x100267b
push esi
mov esi, dword [sym.imp.msvcrt.dll_wcschr]
push dword [ebp - 0x44]
push 0x14a4
call fcn.01001836
pop ecx
pop ecx
test eax, eax
je 0x100267b
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0xfffffffffffffff6
call fcn.01001740
test eax, eax
je 0x100271a
push ebx
lea eax, [ebp - 0x40]
push eax
push 0x10
lea eax, [ebp - 0x3c]
push eax
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
cmp eax, ebx
je 0x10027f0
lea eax, [ebp - 0x3c]
push 0xd
push eax
call esi
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x3c]
jne 0x100270c
push 0xa
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1002787
push 0xa
lea eax, [ebp - 0x3c]
jmp 0x100270e
push 0xd
push eax
call esi
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x1002787
push dword [sym.imp.msvcrt.dll__iob]
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x18]
push 0x10
push eax
call dword [sym.imp.msvcrt.dll_fgets]
add esp, 0xc
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x40], ebx
je 0x10027f0
lea eax, [ebp - 0x18]
push 0xa
push eax
call dword [sym.imp.msvcrt.dll_strchr]
pop ecx
pop ecx
cmp eax, ebx
je 0x100275c
mov byte [eax], bl
lea eax, [ebp - 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002762
push 0x10
sub eax, edx
lea ecx, [ebp - 0x3c]
push ecx
inc eax
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edi, edi
mov dword [ebp - 0x40], eax
inc edi
cmp dword [ebp - 0x40], ebx
je 0x10027f0
lea eax, [ebp - 0x3c]
push 0x60
push eax
call dword [sym.imp.msvcrt.dll__wcsupr]
pop ecx
push eax
call fcn.01001c41
cmp eax, 0x40
je 0x10027f0
cmp eax, 0x20
je 0x10027e1
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 3
jge 0x10027e5
push 0xeac
call fcn.01001836
pop ecx
test eax, eax
je 0x100267b
push ebx
lea eax, [ebp - 0x44]
push eax
push 0x10f5
call fcn.010016d6
test eax, eax
jne 0x100269c
jmp 0x100267b
mov eax, edi
jmp 0x10027f2
push 0xead
call fcn.01001836
pop ecx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.01003a8e
leave
ret