joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463d15
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x463e2d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x463e2d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00492426
mov esi, eax
test esi, esi
je 0x463e2d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x463e2d
mov ecx, esi
call fcn.00463ca0
cmp edi, eax
jge 0x463e2d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x463db3
mov dword [esp + 0x34], 1
jmp 0x463e0e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x463e2d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004632a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x46add0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x2bae480]
xor edx, edx
cmp eax, edx
jne 0x46adf6
xor eax, eax
mov byte [eax + 0x2bae380], al
inc eax
cmp eax, 0x100
jl 0x46adde
mov dword [0x2bae480], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x2bae380
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x46ae87
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x46ae5a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x46ae28
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x46af00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x46af53
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46af3a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4718d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49edee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004721f0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x2b5a75c
call fcn.00490763
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x471963
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00490763
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47195c
push 0
mov ecx, eax
call fcn.00468a00
mov dword [esi + 0xc], eax
jmp 0x471965
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x471965
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x492dc9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x492e01
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00490e7d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00490e55
jmp 0x492e0d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4944b7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4944f9
call fcn.00499f70
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4944f9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4944f0
xor eax, eax
jmp 0x494501
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00494507
pop edi
pop esi
pop ebx
ret 4
Function at 0x49a4a0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49a4ce
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49a4ec
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049a406
jmp 0x49a4ec
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49a4ec
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049a406
test edi, edi
mov eax, edi
jne 0x49a4d6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x86340c
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x487c0928
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000fa26
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100140ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 4
call fcn.10001480
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
add ecx, 0x20
call fcn.10001480
mov byte [ebp - 4], 1
mov byte [ebp - 0x48], 0
push 0x37
push 0
lea eax, [ebp - 0x47]
push eax
call fcn.10005d30
add esp, 0xc
mov byte [ebp - 0x48], 0x53
mov byte [ebp - 0x29], 0x75
mov byte [ebp - 0x3d], 0x69
mov byte [ebp - 0x1b], 0x5c
mov byte [ebp - 0x28], 0x72
mov byte [ebp - 0x2f], 0x6f
mov byte [ebp - 0x35], 0x5c
mov byte [ebp - 0x16], 0x73
mov byte [ebp - 0x1c], 0x5c
mov byte [ebp - 0x20], 0x73
mov byte [ebp - 0x40], 0x5c
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x23], 0x56
mov byte [ebp - 0x2e], 0x77
mov byte [ebp - 0x39], 0x73
mov byte [ebp - 0x47], 0x6f
mov byte [ebp - 0x43], 0x61
mov byte [ebp - 0x34], 0x5c
mov byte [ebp - 0x3f], 0x5c
mov byte [ebp - 0x3e], 0x4d
mov byte [ebp - 0x12], 0x6c
mov byte [ebp - 0x2d], 0x73
mov byte [ebp - 0x42], 0x72
mov byte [ebp - 0x46], 0x66
mov byte [ebp - 0x45], 0x74
mov byte [ebp - 0x30], 0x64
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x24], 0x74
mov byte [ebp - 0x3a], 0x6f
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x2c], 0x5c
mov byte [ebp - 0x33], 0x57
mov byte [ebp - 0x41], 0x65
mov byte [ebp - 0x1e], 0x6f
mov byte [ebp - 0x18], 0x69
mov byte [ebp - 0x17], 0x6e
mov byte [ebp - 0x2b], 0x5c
mov byte [ebp - 0x37], 0x66
mov byte [ebp - 0x14], 0x61
mov byte [ebp - 0x1d], 0x6e
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x32], 0x69
mov byte [ebp - 0x3c], 0x63
mov byte [ebp - 0x31], 0x6e
mov byte [ebp - 0x3b], 0x72
mov byte [ebp - 0x1a], 0x55
mov byte [ebp - 0x38], 0x6f
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x2a], 0x43
mov byte [ebp - 0x36], 0x74
mov byte [ebp - 0x44], 0x77
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 4
call fcn.10001510
push str.DisplayName
mov ecx, dword [ebp - 0x4c]
add ecx, 0x20
call fcn.10001510
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x40], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10005d14
mov esp, ebp
pop ebp
ret
Function at 0x100012e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x100140ec]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x124], ecx
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
mov ecx, dword [ebp - 0x124]
add ecx, 4
call fcn.10001550
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10001326
xor al, al
jmp 0x10001394
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0x104
push 0
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x103
je 0x10001388
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + 0x40]
add eax, 1
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x40], eax
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0x104
jmp 0x10001334
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10005d14
mov esp, ebp
pop ebp
ret

Function at 0x100013b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x100140ec]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x124], ecx
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 0x124]
add ecx, 4
call fcn.10001550
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100013f6
xor al, al
jmp 0x10001464
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0x104
push 0
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x103
je 0x10001458
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + 0x3c]
add eax, 1
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0x104
jmp 0x10001404
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10005d14
mov esp, ebp
pop ebp
ret
Function at 0x10002240
Capabilities:
Enumerate browser history

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000fb68
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100140ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x2c]
call fcn.100026c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
push 0x100103a8
push 1
push 0
push str._J7_
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x100022b7
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100026f0
mov al, byte [ebp - 0x61]
jmp 0x100023c4
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [eax + 0x1c]
call edx
test eax, eax
jge 0x100022e8
mov byte [ebp - 0x62], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100026f0
mov al, byte [ebp - 0x62]
jmp 0x100023c4
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 1
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [eax + 0xc]
call edx
test eax, eax
jl 0x10002346
cmp dword [ebp - 0x34], 0
jne 0x1000230c
jmp 0x10002346
mov eax, dword [ebp - 0x5c]
movzx ecx, word [eax]
cmp ecx, 0x68
jne 0x10002344
mov edx, dword [ebp - 0x5c]
movzx eax, word [edx + 2]
cmp eax, 0x74
jne 0x10002344
mov ecx, dword [ebp - 0x5c]
movzx edx, word [ecx + 4]
cmp edx, 0x74
jne 0x10002344
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x54]
add ecx, 1
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x54], ecx
jmp 0x100022e8
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.10002670
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x18
call fcn.10002670
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x18
call fcn.10002640
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov ecx, dword [ebp - 0x8c]
call fcn.10002fd0
mov byte [ebp - 0x85], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100026f0
mov al, byte [ebp - 0x85]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10005d14
mov esp, ebp
pop ebp
ret
Function at 0x100046a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov dword [edx], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x10005660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
call fcn.10005610
test eax, eax
je 0x10005691
mov dword [ebp - 4], 0x101
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
call fcn.10005750
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x10005741
cmp dword [ebp - 8], 0
je 0x10005741
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 4
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push str.InstallDate
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
call fcn.10005750
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x10005737
cmp dword [ebp - 0x14], 0
je 0x10005737
lea edx, [ebp - 0x20]
push edx
call fcn.10005790
add esp, 4
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x14]
jbe 0x10005737
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
xor edx, edx
mov ecx, 0xe10
div ecx
xor edx, edx
mov ecx, 0x18
div ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x100057b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_ManagementPrefetchParameters
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
call fcn.10005750
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x1000584b
cmp dword [ebp - 8], 0
je 0x1000584b
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 4
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push str.BootId
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
call fcn.10005750
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x10005841
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x10005d14
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100140ec]
jne 0x10005d1e
repz ret
jmp fcn.10007eac
Function at 0x1000e9f7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10007826
and dword [ebp - 4], 0
cmp dword [0x10015a3c], 0
mov ebx, eax
jne 0x1000eaa8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000eb59
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000eb59
push eax
call fcn.100077b4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10015a3c], eax
call esi
push eax
call fcn.100077b4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10015a40], eax
call esi
push eax
call fcn.100077b4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10015a44], eax
call esi
push eax
call fcn.100077b4
pop ecx
mov dword [0x10015a4c], eax
test eax, eax
je 0x1000eaa8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100077b4
pop ecx
mov dword [0x10015a48], eax
mov eax, dword [0x10015a48]
cmp eax, ebx
je 0x1000eb00
cmp dword [0x10015a4c], ebx
je 0x1000eb00
push eax
call fcn.1000782f
push dword [0x10015a4c]
mov esi, eax
call fcn.1000782f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000eb00
test edi, edi
je 0x1000eb00
call esi
test eax, eax
je 0x1000eaf7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000eaf7
test byte [ebp - 0xc], 1
jne 0x1000eb00
or dword [ebp + 0x10], 0x200000
jmp 0x1000eb39
mov eax, dword [0x10015a40]
cmp eax, ebx
je 0x1000eb39
push eax
call fcn.1000782f
pop ecx
test eax, eax
je 0x1000eb39
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000eb39
mov eax, dword [0x10015a44]
cmp eax, ebx
je 0x1000eb39
push eax
call fcn.1000782f
pop ecx
test eax, eax
je 0x1000eb39
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10015a3c]
call fcn.1000782f
pop ecx
test eax, eax
je 0x1000eb59
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000eb5b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret