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

Disassembly:
cmp dword [0x4151c4], 0
jne 0x403a14
call fcn.004039dc
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x403a41
test cl, 7
je 0x403a41
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
dec esi
inc ecx
jmp 0x403a22
cmp esi, 8
jb 0x403ac5
mov edi, esi
shr edi, 3
xor eax, dword [ecx]
add ecx, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
sub esi, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
mov edx, eax
movzx eax, dl
mov eax, dword [eax*4 + 0x4151c0]
xor eax, dword [ecx - 4]
shr edx, 8
xor eax, edx
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
dec edi
jne 0x403a4b
xor edx, edx
test esi, esi
jbe 0x403ae5
push ebx
movzx edi, byte [edx + ecx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4151c0]
inc edx
cmp edx, esi
jb 0x403acc
pop ebx
pop edi
pop esi
ret 0xc
Function at 0x40aed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push 0x20
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 8], ecx
call fcn.0040b7e4
xor eax, eax
push 4
xor ecx, ecx
mov dword [ebp + 8], eax
xor ebx, ebx
pop edx
cmp eax, 0xa
jg 0x40afde
cmp ebx, edx
jge 0x40af25
lea esi, [ebp + ebx*4 - 0x28]
mov dword [ebp - 4], esi
cmp ecx, edx
jge 0x40af27
mov edi, dword [ebp - 8]
lea esi, [ecx + eax*4]
lea edi, [edi + esi*4 + 0x14]
mov esi, dword [ebp - 4]
add dword [ebp - 4], edx
inc ebx
inc ecx
cmp ebx, edx
movsd dword es:[edi], dword [esi]
jl 0x40af0a
cmp ecx, edx
jne 0x40af2f
inc eax
mov dword [ebp + 8], eax
xor ecx, ecx
cmp ebx, edx
jl 0x40aef6
cmp eax, 0xa
jg 0x40afde
mov dword [ebp - 4], 0x41aeb0
movzx esi, byte [ebp - 0x1b]
mov al, byte [ebp - 0x28]
xor al, byte [esi + 0x41afd0]
movzx esi, byte [ebp - 0x1a]
mov bl, byte [esi + 0x41afd0]
movzx esi, byte [ebp - 0x19]
xor byte [ebp - 0x27], bl
mov bl, byte [esi + 0x41afd0]
movzx esi, byte [ebp - 0x1c]
xor byte [ebp - 0x26], bl
mov bl, byte [esi + 0x41afd0]
mov esi, dword [ebp - 4]
xor al, byte [esi]
xor byte [ebp - 0x25], bl
inc dword [ebp - 4]
push 3
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x24]
pop edi
xor esi, esi
mov bl, byte [eax + esi - 4]
xor byte [eax + esi], bl
inc esi
cmp esi, edx
jl 0x40af8a
add eax, edx
dec edi
jne 0x40af88
xor ebx, ebx
cmp dword [ebp + 8], 0xa
jg 0x40afde
cmp ebx, edx
jge 0x40afc7
lea eax, [ebp + ebx*4 - 0x28]
cmp ecx, edx
jge 0x40afc9
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 8]
lea esi, [ecx + esi*4]
lea edi, [edi + esi*4 + 0x14]
mov esi, eax
inc ebx
add eax, edx
inc ecx
cmp ebx, edx
movsd dword es:[edi], dword [esi]
jl 0x40afab
cmp ecx, edx
jne 0x40afd0
inc dword [ebp + 8]
xor ecx, ecx
cmp ebx, edx
jl 0x40af9d
cmp dword [ebp + 8], 0xa
jle 0x40af43
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40afe5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
add ecx, 0x24
push 4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 9
pop edi
xor eax, eax
mov ecx, dword [ebp - 4]
lea esi, [ebp + eax - 0x1c]
add ecx, 2
mov dword [ebp - 8], edi
movzx edx, byte [ecx + 1]
movzx ebx, byte [ecx - 1]
mov dl, byte [eax + edx*4 + 0x417eb0]
xor dl, byte [eax + ebx*4 + 0x4186b0]
movzx ebx, byte [ecx - 2]
xor dl, byte [eax + ebx*4 + 0x418ab0]
movzx ebx, byte [ecx]
xor dl, byte [eax + ebx*4 + 0x4182b0]
add ecx, edi
mov byte [esi], dl
add esi, edi
dec dword [ebp - 8]
jne 0x40b00d
inc eax
cmp eax, edi
jl 0x40b000
push 0x10
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call fcn.0040b7e4
add dword [ebp - 4], 0x10
dec dword [ebp - 0xc]
jne 0x40affe
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f185
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4
Function at 0x401159
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push 0xc
push 0
push 0x4033d8
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x4033d8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401beb
add esp, 0xc
cmp dword [0x4033d8], 0
je 0x40119d
call fcn.004013c7
xor eax, eax
jmp 0x40138f
cmp dword [0x4033dc], 0
je 0x4011b2
call fcn.004015c8
xor eax, eax
jmp 0x40138f
lea edx, [ebp - 0x118]
push edx
push 0x20019
push 0
push str.SQLEW
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.004019b0
add esp, 0xc
push eax
push 0x80000001
call dword [0x40200c]
test eax, eax
jne 0x40121f
mov dword [ebp - 0x114], 4
lea ecx, [ebp - 0x114]
push ecx
push 0x4033e0
push 0
push 0
push str.DCOMSCMInfoLevel
mov edx, dword [ebp - 0x118]
push edx
call dword [0x402010]
mov eax, dword [ebp - 0x118]
push eax
call dword [0x402014]
push 0
push 0
push 0
push 0
call dword [0x40201c]
mov dword [0x4033e4], eax
push 0
push 0
call dword [0x4020e8]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jge 0x401274
cmp dword [0x4033e0], 0
jbe 0x401268
mov ecx, dword [ebp - 0x110]
push ecx
push str.Server:_CoInitializeEx
call fcn.00401ac0
add esp, 8
mov edx, dword [ebp - 0x110]
push edx
call sub.MSVCRT.dll_exit
lea eax, [ebp - 0x11c]
push eax
push 1
push 0x15
push 0x4033d0
push 0x402138
call dword [0x4020ec]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jge 0x4012c7
cmp dword [0x4033e0], 0
jbe 0x4012bb
mov ecx, dword [ebp - 0x110]
push ecx
push str.Server:_CoRegisterClassObject
call fcn.00401ac0
add esp, 8
mov edx, dword [ebp - 0x110]
push edx
call sub.MSVCRT.dll_exit
push 1
push 0x401393
call dword [0x402060]
cmp dword [0x4033e0], 0
jbe 0x4012ec
push 0
push str.Server:_Waiting
call fcn.00401ac0
add esp, 8
push str.DCOMSCMShutdownEvent
push 0
push 1
push 0
call dword [0x40201c]
mov dword [ebp - 0x10c], eax
mov eax, 1
test eax, eax
je 0x401341
push 0
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [0x402054]
test eax, eax
je 0x401332
push 0
mov edx, dword [0x4033e4]
push edx
call dword [0x402054]
test eax, eax
jne 0x401334
jmp 0x401341
push 0xc8
call dword [0x402058]
jmp 0x401303
mov eax, dword [0x4033e4]
push eax
call dword [0x402028]
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [0x402028]
mov edx, dword [ebp - 0x11c]
push edx
call dword [0x4020e4]
call dword [0x4020f0]
cmp dword [0x4033e0], 0
jbe 0x401385
push 0
push str.Server:_Done
call fcn.00401ac0
add esp, 8
push 0
call dword [0x402024]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4013c7
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x108], 0
push 0x104
lea eax, [ebp - 0x104]
push eax
push 0
call dword [0x402040]
lea ecx, [ebp - 0x114]
push ecx
push 0x4030cc
push 0x80000000
call dword [section..rdata]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0x401458
push 0x4030fc
call dword [0x402044]
add eax, 1
push eax
push 0x403104
push 1
push 0
push 0
mov edx, dword [ebp - 0x114]
push edx
call dword [0x402004]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x114]
push eax
call dword [0x402014]
cmp dword [ebp - 0x108], 0
je 0x401466
jmp 0x4015c2
lea ecx, [ebp - 0x114]
push ecx
push 0x40310c
push 0x80000000
call dword [section..rdata]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0x4014fa
lea edx, [ebp - 0x104]
push edx
call dword [0x402044]
add eax, 1
push eax
lea eax, [ebp - 0x104]
push eax
push 1
push 0
push 0
mov ecx, dword [ebp - 0x114]
push ecx
call dword [0x402004]
mov dword [ebp - 0x108], eax
push 0x4033e8
call dword [0x402044]
add eax, 1
push eax
push 0x4033ec
push 1
push 0
push str.AllowRemoteActivation
mov edx, dword [ebp - 0x114]
push edx
call dword [0x402004]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x114]
push eax
call dword [0x402014]
cmp dword [ebp - 0x108], 0
je 0x401508
jmp 0x4015c0
push 0x403160
call dword [0x402048]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x401541
cmp dword [0x4033e0], 0
je 0x40153f
call dword [0x402020]
push eax
push 0x40316c
call fcn.00401ba2
add esp, 8
jmp 0x4015be
push str.DllRegisterServer
mov ecx, dword [ebp - 0x110]
push ecx
call dword [0x40204c]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x40158e
mov edx, dword [ebp - 0x110]
push edx
call dword [0x402050]
cmp dword [0x4033e0], 0
je 0x40158c
call dword [0x402020]
push eax
push str.Proxy_DLL_registration
call fcn.00401ba2
add esp, 8
jmp 0x4015bc
call dword [ebp - 0x10c]
mov eax, dword [ebp - 0x110]
push eax
call dword [0x402050]
xor eax, eax
jmp 0x4015c4
push 0x4031b0
push 0x80000000
call dword [0x402008]
mov eax, 0x80004005
jmp 0x4015c4
jmp 0x4015a5
jmp 0x4015a5
jmp 0x4015a5
jmp 0x4015a5
mov esp, ebp
pop ebp
ret

Function at 0x4015c8
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push str.CLSID2A751E00_998E_11D0_9CF6_00AA00BBB533
push 0x80000000
call dword [0x402008]
push str.CLSID2A751E00_998E_11D0_9CF6_00AA00BBB533LocalServer32
push 0x80000000
call dword [0x402008]
push str.PSDCSCM.DLL
call dword [0x402048]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40162e
push str.DllUnregisterServer
mov eax, dword [ebp - 4]
push eax
call dword [0x40204c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401624
call dword [ebp - 8]
mov ecx, dword [ebp - 4]
push ecx
call dword [0x402050]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10004c60
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov esi, eax
lea edi, [esi + 4]
push edi
call fcn.10004960
mov eax, dword [edi]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x40000
cmp eax, ecx
je 0x10004c91
push ecx
mov ecx, dword [edi]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [esi + 0x40], 0
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
jne 0x10004cbf
push 0
push 0xc
call ebx
push eax
push 0xb
call ebx
push eax
push 1
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x40]
test eax, eax
je 0x10004cd7
mov edx, dword [edi]
push eax
push 1
push 0x80
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x44], 0
jne 0x10004cff
push ebp
mov ebp, dword [0x100552ec]
push 0
push 0x32
call ebx
push eax
push 0x31
call ebx
push eax
push 1
push 0x7c
push ebp
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 0x44], eax
pop ebp
mov eax, dword [esi + 0x44]
test eax, eax
je 0x10004d17
push eax
mov eax, dword [edi]
push 0
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x3c], 0
mov byte [esi + 0x48], 0
jne 0x10004d33
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esi + 0x3c], eax
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x10004d57
mov ecx, dword [edi]
push 0x3f5
push ecx
call ebx
mov edx, dword [esi + 0x3c]
push 0
push edx
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x38], 8
jb 0x10004d62
mov esi, dword [esi + 0x24]
jmp 0x10004d65
add esi, 0x24
mov eax, dword [edi]
push 0x3f6
push eax
call ebx
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, eax
test esi, esi
je 0x10004d9c
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10004d9c
push 0
push esi
call ebx
mov edx, dword [edi]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [edi]
push 5
push eax
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x10005ae0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x10005af3
push 0x80004005
call fcn.10005650
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10005b00
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10005b40
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x224
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x220], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x234]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x10]
mov esi, eax
test esi, esi
jne 0x10005bae
test ecx, ecx
je 0x10005ba0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], ecx
je 0x10005bbc
test ecx, ecx
je 0x10005c61
push ecx
jmp 0x10005c5b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x3c]
push edx
push 0
push ecx
mov dword [esp + 0x34], pe_nt_image_headers32
call esi
test eax, eax
jne 0x10005c2e
jmp 0x10005bf0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.10005b40
mov edi, eax
test edi, edi
jne 0x10005c7d
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push eax
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x34], pe_nt_image_headers32
call esi
test eax, eax
je 0x10005bf0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10005c45
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10005c61
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1003ec9d
add esp, 0x224
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10005c8c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x10005c63
Function at 0x10006150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x100430d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10054020]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x414]
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x14], eax
call dword [0x10054030]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x410]
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x100061d9
call fcn.100057d0
mov esi, eax
jmp 0x100062bf
mov edx, dword [ebp - 0x14]
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x100061f5
call fcn.100057d0
jmp 0x100062b6
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x1000620e
call fcn.100057d0
jmp 0x100062b6
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, ebx
mov dword [ebp - 0x14], ebx
jae 0x10006244
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x10006232
lea eax, [ebp]
call fcn.100096e0
lea esi, [ebp - 0x1c]
call fcn.100094a0
mov eax, 0x8007000e
jmp 0x100062d2
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.10009590
mov dword [ebp - 4], 1
jmp 0x1000626c
mov esi, dword [ebp]
test esi, esi
jne 0x1000627a
mov esi, 0x8007000e
jmp 0x100062b8
call dword [0x10054030]
mov ecx, dword [ebp - 0x20]
push ebx
push esi
push ebx
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1000629b
call fcn.100057d0
jmp 0x100062b6
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.10006ec0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x100062d0
lea eax, [ebp]
call fcn.100096e0
nop
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.1003ec9d
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000a380
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10042af8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.100020a0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000a3d4
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.100024e0
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.100020a0
cmp dword [esp + 0x24], 8
jb 0x1000a41a
mov eax, dword [esp + 0x10]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x1000bcd0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100412d2
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x244]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x20], esi
mov edi, edx
mov word [esi + 4], bx
push 0x208
lea eax, [esp + 0x2a]
mov dword [esp + 0x240], ebx
push ebx
push eax
mov dword [esp + 0x28], 1
mov word [esp + 0x30], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 8
mov dword [esp + 0x14], 0x208
mov dword [esp + 0x18], 1
jb 0x1000bd70
mov edi, dword [edi + 4]
jmp 0x1000bd73
add edi, 4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000bdca
mov eax, dword [esp + 0x14]
cmp eax, 0x104
ja 0x1000bda1
mov word [esp + eax*2 + 0x24], bx
jmp 0x1000bda9
mov word [esp + 0x22c], bx
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000bdb0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.100025e0
mov eax, esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x22c
ret 4
Function at 0x1000f330
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x10045bed
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x254], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x27c]
push ebp
mov dword [esp + 0x20], ebp
call fcn.10034440
xor ebx, ebx
lea edi, [ebp + 0x1c]
mov dword [esp + 0x274], ebx
mov esi, 7
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov word [edi + 4], bx
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x4c], ebx
mov word [ebp + 0x3c], bx
mov dword [ebp + 0x78], esi
mov dword [ebp + 0x74], ebx
mov word [ebp + 0x64], bx
mov dword [ebp + 0x94], esi
mov dword [ebp + 0x90], ebx
mov word [ebp + 0x80], bx
mov dword [ebp + 0xb0], esi
mov dword [ebp + 0xac], ebx
mov word [ebp + 0x9c], bx
mov dword [ebp + 0xcc], esi
mov dword [ebp + 0xc8], ebx
mov word [ebp + 0xb8], bx
mov dword [ebp + 0xe8], esi
mov dword [ebp + 0xe4], ebx
mov word [ebp + 0xd4], bx
mov dword [ebp + 0x108], esi
mov dword [ebp + 0x104], ebx
mov word [ebp + 0xf4], bx
push ebx
mov byte [esp + 0x278], 8
call dword [sym.imp.MSVCR80.dll__time64]
add esp, 4
push eax
call dword [sym.imp.MSVCR80.dll_srand]
add esp, 4
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x5c], ebx
call fcn.10001fc0
lea ecx, [ebp + 0xd0]
call fcn.10023d70
cmp dword [ebp + 0xe4], ebx
je 0x1000f53d
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
push 0x208
lea eax, [esp + 0x5e]
push ebx
mov byte [esp + 0x27c], 9
push eax
mov word [esp + 0x64], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [esp + 0x58]
mov word [esp + 0x25e], bx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000f4a0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x5c]
push eax
lea esi, [esp + 0x44]
call fcn.100025e0
push str.__r_t_n
mov eax, esi
call fcn.100228c0
add esp, 4
push str.__r_t_n
mov eax, esi
call fcn.10022930
add esp, 4
push 9
push str..CEIZ.log
mov ecx, esi
call fcn.100024e0
mov ecx, esi
push ecx
lea esi, [ebp + 0xd0]
push esi
lea ecx, [esp + 0x28]
call fcn.10024290
add esp, 8
push 0xffffffffffffffff
push ebx
mov ecx, esi
mov byte [esp + 0x27c], 0xa
call fcn.100020a0
mov esi, 8
cmp dword [esp + 0x38], esi
jb 0x1000f52a
mov edx, dword [esp + 0x24]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x54], esi
jb 0x1000f53d
mov eax, dword [esp + 0x40]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp + 0xec], ebx
mov eax, ebp
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x264
ret 4