joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100319bc
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 0x100319d3
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

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

Disassembly:
push esi
mov edx, 0x10075594
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, 0x10075920
jl 0x10031a03
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, 0x10075bc4
jl 0x10031a43
mov ecx, dword [0x10076910]
xor ecx, dword [0x10075594]
and ecx, edi
xor ecx, dword [0x10076910]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x10075590], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x10075bc4]
mov dword [0x10075f50], eax
pop esi
ret

Function at 0x10034411
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005af93
call fcn.10059bf8
sub esp, 0x18
cmp byte [ebp + 0x14], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x1003443e
mov eax, dword [ebp + 0x10]
mov edx, dword [edx]
sub edx, dword [eax]
sar edx, 1
push edx
call fcn.1001d185
jmp 0x100344e8
mov dword [ebp - 0x20], 0x445c
cmp dword [ebp - 0x20], 0x4675
jle 0x100344c7
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
xor esi, esi
mov dword [ebp - 0x1c], esi
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov ecx, edi
xor ebx, ebx
shl esi, cl
mov dword [ebp - 0x14], esi
mov ecx, ebx
mov dword [ebp - 0x24], esi
xor edi, edi
shl esi, cl
mov eax, esi
mov ecx, 0x10073e38
xor eax, edi
cdq
push edx
push eax
call fcn.10001ae9
inc edi
cmp edi, 0x41fa
jl 0x10034483
mov esi, dword [ebp - 0x14]
inc ebx
cmp ebx, 0x7ade
jl 0x1003447a
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x714e
jl 0x1003446e
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x65a4
jl 0x10034469
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x4388
jge 0x100344e3
mov edx, str.inhlfj_ohsqpsads_bezoogrws_mvtiirrk_meabcd_oywb_icohmci
mov ecx, 0x10073e38
call fcn.100034b8
mov eax, dword [ebp + 0x18]
inc 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 0x10035104
Capabilities:
Create pipe

Disassembly:
mov eax, 0x1005afa7
call fcn.10059bf8
sub esp, 0x30
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x100351ce
mov dword [ebp - 0x1c], 0x7da9
cmp dword [ebp - 0x1c], 0x80f0
jle 0x10035190
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov eax, edi
xor ebx, ebx
xor eax, esi
mov dword [ebp - 0x24], eax
mov esi, eax
mov eax, esi
lea ecx, [ebp - 0x3c]
or eax, ebx
cdq
push edx
push eax
call fcn.10001a21
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003515c
mov eax, dword [eax]
push eax
call fcn.10041a06
pop ecx
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.10001e51
inc ebx
cmp ebx, 0x2768
jl 0x10035143
mov esi, dword [ebp - 0x18]
inc edi
cmp edi, 0x3d22
jl 0x10035138
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x516f
jl 0x10035136
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x100351a9
push 0x1547
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
cmp dword [ebp - 0x1c], 0x7ce9
jge 0x100351bd
push str.ksjfebwr_aspgcdo_agrrrspeb_hrtxdw_uoqmdbu_hxfucwmhh_gcqiei_lal_ucgra
call fcn.10041a06
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edx], 0
je 0x100351df
xor dl, dl
mov ecx, 0x5acc
call fcn.10037464
mov dword [ebp - 0x24], 0x7339
cmp dword [ebp - 0x24], 0x73ff
jle 0x10035245
xor esi, esi
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 0x18], edi
mov eax, esi
mov dword [ebp - 0x1c], 0x3892
cdq
idiv edi
mov ebx, edx
mov esi, ebx
mov edi, 0x2cb0
mov eax, esi
mov ecx, 0x10073e38
cdq
push edx
push eax
call fcn.10001ae9
inc esi
dec edi
jne 0x1003520e
dec ebx
dec dword [ebp - 0x1c]
jne 0x10035207
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x6c95
jl 0x100351f9
inc esi
mov dword [ebp - 0x20], esi
cmp esi, 0x11d8
jl 0x100351f4
mov dword [ebp - 4], 2
cmp dword [ebp - 0x24], 0x6fc5
jge 0x100351bd
mov edx, str.gihnrrif_cedgi_yksndsfp_ibmq_damn_wolkr_fqwhi_sie_zlk_vdprrsrxw_shcdj
mov ecx, 0x10073e38
call fcn.100034b8
jmp 0x100351bd
Function at 0x100359e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005afb1
call fcn.10059bf8
sub esp, 0xc
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x10035a1d
push ecx
lea eax, [ebp - 0x11]
mov byte [ebp - 0x11], 0
push 0
push eax
call fcn.10035bb0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x18], 0x5b8
cmp dword [ebp - 0x18], 0x86c
jle 0x10035a54
xor esi, esi
xor edi, edi
mov eax, edi
mov ecx, 0x10073e38
xor eax, esi
cdq
push edx
push eax
call fcn.10001ae9
inc edi
cmp edi, 0x4a7e
jl 0x10035a31
inc esi
cmp esi, 0xf6a
jl 0x10035a2f
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x10035a7a
push 0x222b
push 0x180f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x2d5
jge 0x10035a0c
mov edx, str.vhqypfs_olxuixhw_svkecrj_yoyyzcd_llro_flwqcas_lpfd_axay_fgsxc_nwyxctzp_gcg_qdknf
mov ecx, 0x10073e38
call fcn.100034b8
jmp 0x10035a0c
Function at 0x10036ded
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x1005afda
call fcn.10059bf8
sub esp, 0x18
push ebx
push esi
mov byte [ebp - 0x14], cl
xor esi, esi
mov dword [ebp - 0x20], 0x5cc6
cmp dword [ebp - 0x20], 0x5f3d
push edi
mov dword [ebp - 0x10], esp
jle 0x10036e71
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x1c], esi
mov eax, esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
lea ecx, [eax + esi]
mov eax, ebx
shl eax, cl
mov ecx, 0x10073e38
or eax, edi
cdq
push edx
push eax
call fcn.10001ae9
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x646a
jl 0x10036e24
inc esi
push 0
mov dword [ebp - 0x1c], esi
cmp esi, 0x166f
pop esi
jl 0x10036e1c
inc ebx
cmp ebx, 0x6841
jl 0x10036e19
inc edi
cmp edi, 0x5144
jl 0x10036e17
push esi
push esi
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp - 0x14], 0
je 0x10036eac
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x10036ec2
push esi
push 0x23fe
push esi
push esi
push 0x21fa
push 0x2065
push 0x2539
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
jmp 0x10036ec2
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x10036ec2
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MapDialogRect]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x20], 0x5a69
jge 0x10036edd
mov edx, str.eqfmi_hxqeqfeuk_zkxqncvrc_pdc_tkbyunxny_saaeuzkct
mov ecx, 0x10073e38
call fcn.100034b8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x640014a0
Capabilities:
Create pipe
Create thread
Create two anonymous pipes

Disassembly:
push 0xffffffffffffffff
push 0x640224c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6402c09c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48]
xor edi, edi
push 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edi
call fcn.64012101
add esp, 4
cmp eax, edi
je 0x640014f2
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov esi, eax
jmp 0x640014f4
xor esi, esi
mov dword [esp + 0x34], esi
push edi
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x48], edi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x40], 1
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.kernel32.dll_CreatePipe]
test eax, eax
mov ebx, dword [sym.imp.kernel32.dll_GetLastError]
mov ebp, dword [sym.imp.kernel32.dll_CloseHandle]
je 0x64001594
mov edi, dword [esi + 8]
test edi, edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
je 0x64001561
call ebx
push edi
mov dword [esp + 0x1c], eax
call ebp
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, dword [esp + 0x14]
mov dword [esi + 8], eax
mov edi, dword [esi + 0xc]
test edi, edi
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
je 0x6400158b
call ebx
push edi
mov dword [esp + 0x18], eax
call ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, dword [esp + 0x18]
mov dword [esi + 0xc], eax
xor edi, edi
push edi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.kernel32.dll_CreatePipe]
test eax, eax
je 0x64001602
mov edi, dword [esi]
test edi, edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
je 0x640015d0
call ebx
push edi
mov dword [esp + 0x18], eax
call ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, dword [esp + 0x18]
mov dword [esi], eax
mov edi, dword [esi + 4]
test edi, edi
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
je 0x640015f9
call ebx
push edi
mov dword [esp + 0x18], eax
call ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
xor edi, edi
mov ecx, dword [esp + 0x24]
mov edx, esi
call fcn.640011c0
push edi
push edi
push esi
push 0x640010d0
push edi
push edi
call dword [sym.imp.kernel32.dll_CreateThread]
mov esi, eax
cmp esi, edi
je 0x64001631
call ebx
push esi
mov edi, eax
call ebp
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x64001f30
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 0x64001f49
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x64001f84
push edi
push ebx
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x64001f80
lea ebx, [ebx]
cmp esi, eax
jae 0x64001f84
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x64001f70
cmp esi, eax
jb 0x64001f8a
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 0x640023f0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x64022b60
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x6402c09c]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
mov dword [esp + 0x78], ebx
mov edi, dword [esp + 0x80]
push 0x40000000
push edi
call fcn.6400df80
call eax
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
mov byte [esp + 0x64], 1
push ebx
jne 0x6400248b
push 0x640265fe
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.64001860
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 2
call fcn.64002020
push 0x64029d44
lea ecx, [esp + 0x38]
push ecx
call fcn.6401216b
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
push esi
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x640024e6
push ebx
push 0x640265fe
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.64001860
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 3
call fcn.64002020
push 0x64029d44
lea eax, [esp + 0x38]
push eax
call fcn.6401216b
cmp esi, ebx
je 0x64002500
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov ebx, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push ebx
call dword [sym.imp.kernel32.dll_SetLastError]
lea eax, [edi - 0x10]
mov dword [esp + 0x64], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x64002524
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x58
ret
Function at 0x64002bf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x64002c5e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x64002c2f
cmp eax, 2
jne 0x64002c4a
test esi, esi
mov eax, dword [esp]
je 0x64002c58
test eax, eax
je 0x64002c53
test al, 1
jne 0x64002c4a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x64002c58
mov eax, 0xd
pop ecx
ret 8
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8
Function at 0x64006120
Capabilities:
Enumerate services

Disassembly:
push 0xffffffffffffffff
push 0x64023069
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6402c09c]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x28], edi
call dword [0x6402c06c]
mov eax, dword [0x6402d560]
mov edx, dword [eax + 0xc]
mov ecx, 0x6402d560
call edx
mov ebx, dword [esp + 0x68]
add eax, 0x10
mov dword [ebx], eax
push 4
push edi
mov dword [esp + 0x68], edi
push edi
mov dword [esp + 0x34], 1
call fcn.6400e560
call eax
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x64006314
mov ebp, dword [sym.imp.advapi32.dll_EnumServicesStatusW]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x2c]
push ecx
push 0x24
lea edx, [esp + 0x44]
push edx
push 3
push 0x13f
push eax
mov dword [esp + 0x40], edi
call ebp
mov esi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
cmp esi, edi
je 0x640061cf
cmp eax, 0xea
jne 0x64006214
mov esi, dword [esp + 0x24]
add esi, 0x24
xor ecx, ecx
mov eax, esi
mov edx, 0x24
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.64011d1d
add esp, 4
mov edi, eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
push edi
push 3
push 0x13f
push eax
call ebp
jmp 0x64006218
mov edi, dword [esp + 0x2c]
xor ebp, ebp
cmp dword [esp + 0x18], ebp
jbe 0x64006310
mov ecx, dword [edi]
push ecx
lea ecx, [esp + 0x18]
call fcn.640025a0
mov dword [esp + 0x60], 1
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.640028b0
add eax, 0x10
add esp, 4
cmp byte [esp + 0x70], 0
mov dword [esi], eax
je 0x64006269
call fcn.64004dd0
add esp, 4
test al, al
jne 0x64006275
jmp 0x640062db
call fcn.64003e50
add esp, 4
test al, al
jne 0x640062db
push 0x64027e94
push 4
push 0x64027eb8
call fcn.64006890
add esp, 0xc
push eax
mov ecx, ebx
call fcn.64002670
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.64003150
add esp, 8
mov byte [esp + 0x60], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.640029f0
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x640062db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 0
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 0x64006300
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 1
add edi, 0x24
cmp ebp, dword [esp + 0x18]
jb 0x64006224
mov eax, dword [esp + 0x1c]
push eax
call fcn.6400e5f0
call eax
mov eax, ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x6400b120
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2f34
call fcn.64017df0
mov eax, dword [0x6402c09c]
xor eax, esp
mov dword [esp + 0x2f30], eax
push ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push edi
push 0x64027fa0
push 0x12
push 0x64027fc4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov byte [esp + 0x37], 0
call fcn.64006b80
add esp, 0xc
push eax
call fcn.6400df80
call eax
mov esi, eax
cmp esi, 0xffffffff
jne 0x6400b19b
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f30]
xor ecx, esp
call fcn.6401257c
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x2710
lea edx, [esp + 0x82c]
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.64012c00
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x834]
push ecx
push 0xc
lea edx, [esp + 0x38]
push edx
push 0x2d1400
push esi
call fcn.6400e2b0
call eax
test eax, eax
je 0x6400b254
mov eax, dword [esp + 0x838]
push edi
lea edi, [esp + 0x444]
lea ecx, [esp + 0x82c]
call fcn.6400afb0
mov eax, dword [esp + 0x844]
add esp, 4
push 1
lea edi, [esp + 0x5c]
lea ecx, [esp + 0x82c]
call fcn.6400afb0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov eax, edi
push eax
call fcn.64002810
lea ecx, [esp + 0x440]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.64002810
mov byte [esp + 0x13], 1
xor edi, edi
xor eax, eax
push edi
lea edx, [esp + 0x24]
push edx
push 0x28
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x3c]
push eax
push edi
push edi
push 0x700a0
push esi
mov dword [esp + 0x50], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
call fcn.6400e2b0
call eax
test eax, eax
je 0x6400b2b0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [esp + 0x2f3c]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.6401257c
mov esp, ebp
pop ebp
ret
Function at 0x6400f350
Capabilities:
Create thread

Disassembly:
cmp byte [0x6402d4c0], 0
jne 0x6400f3b6
push esi
push edi
push str.hukoxxrk13c
mov byte [0x6402d4c0], 1
call dword [sym.imp.kernel32.dll_LoadLibraryW]
push 0x640242e0
push 0xb
push 0x640242d4
mov esi, eax
call fcn.64006890
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
add esp, 0xc
push eax
push esi
call edi
push 0x640242a4
push 0x19
push 0x64024288
mov dword [0x6402d4b8], eax
call fcn.64006890
add esp, 0xc
push eax
push esi
call edi
pop edi
mov dword [0x6402d4bc], eax
pop esi
jmp 0x640116c0
ret
push 0
push 0
push 0
push 0x64011630
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
ret

Function at 0x64010690
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x64021c78
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6402c09c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.64010660
add esp, 4
mov eax, dword [eax]
push eax
push 0
mov dword [esp + 0x1c], 0
call fcn.640064f0
push eax
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov esi, eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x64010702
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x64010719
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push 0
push esi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
sete al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x640119e2
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x6402c09c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.64011921
mov eax, 0x64000000
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.64012c00
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 0x64011a31
cmp dword [ebp - 0x1c], 5
jb 0x64011a49
jmp 0x64011a45
cmp dword [ebp - 0x10], 1
jne 0x64011a49
cmp dword [ebp - 0x1c], 4
ja 0x64011a45
jne 0x64011a49
cmp dword [ebp - 0x18], 0
jbe 0x64011a49
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x64024b1c
call fcn.640117b7
test eax, eax
jge 0x64011a6a
mov byte [0x64030344], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.6401257c
add ebp, 0x78
leave
ret

Function at 0x6401257c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6402c09c]
jne 0x64012586
repz ret
jmp fcn.640156cc