joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ecd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 2
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x404f6a
mov cx, word [eax + 0xe]
cmp cx, 8
ja 0x404f6a
push 1
pop esi
shl esi, cl
movzx edi, si
lea eax, [edi*4 + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ecx]
add eax, ecx
test ebx, ebx
je 0x404f6a
test si, si
mov word [ebx], 0x300
mov word [ebx + 2], si
jbe 0x404f59
lea ecx, [ebx + 5]
mov dl, byte [eax + 2]
mov byte [ecx - 1], dl
mov dl, byte [eax + 1]
mov byte [ecx], dl
mov dl, byte [eax]
mov byte [ecx + 1], dl
and byte [ecx + 2], 0
add ecx, 4
add eax, 4
dec edi
jne 0x404f3c
push ebx
call dword [sym.imp.GDI32.dll_CreatePalette]
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x404fd9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push 2
push 0x76
push dword [0x4150d8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40507d
push eax
push dword [0x4150d8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40507d
push ebx
push edi
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_GetDC]
push 1
mov cl, byte [esi + 0xe]
pop edi
mov ebx, eax
push 0
push dword [0x4151cc]
shl edi, cl
push ebx
call dword [sym.imp.GDI32.dll_SelectPalette]
push ebx
call dword [sym.imp.GDI32.dll_RealizePalette]
mov ecx, dword [esi]
push 0
movzx eax, di
push esi
lea eax, [ecx + eax*4]
add eax, esi
push eax
push 4
push esi
push ebx
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push eax
push 0
push 0x172
push 0x85
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push ebx
mov esi, eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop ebx
pop esi
ret

Function at 0x405121
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
je 0x40515b
mov ecx, dword [ebp + 8]
push esi
lea edx, [eax + 1]
mov eax, dword [ebp + 0x10]
movzx esi, byte [ecx]
and eax, 0xff
xor eax, esi
mov esi, dword [0x4152e0]
inc ecx
mov eax, dword [esi + eax*4]
mov esi, dword [ebp + 0x10]
shr esi, 8
xor esi, eax
dec edx
mov dword [ebp + 0x10], esi
jne 0x405135
pop esi
mov eax, dword [ebp + 0x10]
pop ebp
ret
Function at 0x405160
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
or dword [ebp - 0xc], 0xffffffff
cmp dword [ebp + 8], 0xffffffff
je 0x4051de
push ebx
push esi
mov esi, 0x8000
push edi
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.00407c8f
pop ecx
mov dword [ebp - 8], eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push eax
push esi
push dword [ebp - 8]
push dword [ebp + 8]
call edi
test eax, eax
je 0x4051d2
cmp dword [ebp - 4], ebx
je 0x4051d2
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00405121
add esp, 0xc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push ebx
push eax
push esi
push dword [ebp - 8]
push dword [ebp + 8]
jmp 0x4051a5
push dword [ebp - 8]
call fcn.00407c9d
pop ecx
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
not eax
leave
ret

Function at 0x405445
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov byte [ebp - 4], 0x13
mov byte [ebp - 3], 0x35
mov byte [ebp - 2], 0x86
mov byte [ebp - 1], 7
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
push ebx
call fcn.00407c8f
mov esi, eax
pop ecx
test esi, esi
je 0x405493
xor edx, edx
test ebx, ebx
jbe 0x405493
sub edi, esi
mov eax, edx
lea ecx, [edx + esi]
and eax, 3
mov al, byte [ebp + eax - 4]
xor al, byte [edi + ecx]
inc edx
cmp edx, ebx
mov byte [ecx], al
jb 0x40547d
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40549a
Capabilities:
Get file size

Disassembly:
push esi
xor esi, esi
push edi
push esi
push 0x80
push 3
push esi
push 1
push 0xc0000000
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40551c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push esi
push esi
push 4
push esi
push edi
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
cmp ebx, esi
je 0x405514
push ebp
push esi
push esi
push esi
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
cmp ebp, esi
je 0x40550c
push dword [esp + 0x18]
push dword [esp + 0x18]
push ebp
call fcn.00405521
add esp, 0xc
mov esi, eax
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, esi
pop edi
pop esi
ret
Function at 0x40edbe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov eax, dword [esp + 0x10]
mov ebp, esp
push esi
push edi
mov esi, dword [ebp + 0xc]
shr esi, 2
mov edx, dword [ebp + 8]
mov ecx, esi
dec esi
test ecx, ecx
jle 0x40edff
movzx edi, byte [edx]
inc edx
movzx ecx, byte [edx]
shl ecx, 8
inc edx
or edi, ecx
movzx ecx, byte [edx]
shl ecx, 0x10
inc edx
or edi, ecx
movzx ecx, byte [edx]
shl ecx, 0x18
inc edx
or edi, ecx
mov ecx, esi
xor eax, edi
dec esi
test ecx, ecx
jg 0x40edd7
xor esi, esi
mov ecx, dword [ebp + 0xc]
and ecx, 3
cmp ecx, 1
je 0x40ee26
cmp ecx, 2
je 0x40ee1d
cmp ecx, 3
jne 0x40ee2b
movzx esi, byte [edx]
shl esi, 0x10
inc edx
movzx ecx, byte [edx]
shl ecx, 8
inc edx
or esi, ecx
movzx ecx, byte [edx]
or esi, ecx
xor eax, esi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10001d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1001d2e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.10015746
push eax
lea ecx, [esp + 0x30]
call fcn.1001ab72
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x1c]
push edx
call edi
push eax
call fcn.10015746
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.1001aafa
mov eax, dword [esi + 0xec]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x10001e96
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0xe8]
call fcn.1001a5f5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0xf8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.1001ad66
test edi, edi
je 0x10001e42
mov edi, dword [edi + 4]
mov eax, dword [esi + 0xec]
push edi
push eax
call fcn.1001a736
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x100], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0xec]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0xe8]
sub ecx, edi
test edx, edx
je 0x10001eb7
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.1001abe4
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x100034d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1001d568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x1000357a
mov eax, dword [0x10027140]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.10018a86
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.10018ad5
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.10018a5f
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x10003561
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x10003561
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x6c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.10018754
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10003590
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x100035f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x10003800
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x100038f2
lea ecx, [esp + 0x10]
push ecx
push str..htm
push 0x80000000
mov ecx, edi
call fcn.10003590
test eax, eax
jne 0x100038f2
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x80000000
mov ecx, edi
call fcn.10003590
test eax, eax
jne 0x100038f2
lea edx, [esp + 0x10]
push 0x100263e0
push edx
call fcn.1000d074
mov esi, eax
add esp, 8
test esi, esi
jne 0x100038c3
lea eax, [esp + 0x10]
push 0x100263dc
push eax
call fcn.1000d074
mov esi, eax
add esp, 8
test esi, esi
jne 0x100038c3
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x100038c6
mov byte [esi], 0
push 0x100263d8
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x100056c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.10005424
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.100053d9
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10005702
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10005414
cwde
scasd eax, dword es:[edi]
jbe 0x10005712
lea eax, [ebp - 0x40]
push eax
call fcn.10005424
push eax
push esi
push dword [ebp + 8]
call fcn.100053d9
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.10005414
mov word [edx], ds
invalid
Function at 0x10005cc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.100053d9
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10005424
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100053d9
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.10005424
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100053d9
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.10005414
loop 0x10005ee4
test byte [ecx - 0x80], bl
movsd dword es:[edi], dword [esi]
int3
cli
invalid
Function at 0x10008370
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1001dbc6
push eax
mov dword fs:[0], esp
sub esp, 0x18c
lea ecx, [esp + 8]
push esi
call fcn.10008340
push 0x1002688c
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100083cb
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xbc7
jmp 0x100084c8
call fcn.10005bf0
cmp eax, 7
mov dword [0x10028684], eax
je 0x100083e9
cmp eax, 6
je 0x100083e9
cmp eax, 8
je 0x100083e9
cmp eax, 0xa
jne 0x100083fc
call fcn.1000c2d0
test eax, eax
jne 0x100083fc
mov eax, 0xbc0
jmp 0x100084c8
push ebp
mov ebp, dword [esp + 0x1a4]
push edi
push ebp
lea ecx, [esp + 0x18]
call fcn.10008e00
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x100084c4
cmp ebp, 2
je 0x100084c4
mov eax, dword [0x10028684]
cmp eax, 9
je 0x10008443
cmp eax, 5
jne 0x100084c4
cmp dword [0x10028688], 1
jne 0x100084c4
mov eax, dword [0x10027140]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x10], eax
push 0x89
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a4], 1
call fcn.10018b1d
push 0x98
lea ecx, [esp + 0x14]
call fcn.10018b1d
push 0x40030
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a0], 0
call fcn.10018754
lea ecx, [esp + 0xc]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.10018754
mov eax, edi
pop edi
pop ebp
mov ecx, dword [esp + 0x190]
pop esi
mov dword fs:[0], ecx
add esp, 0x198
ret 4

Function at 0x100084e0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x184
lea ecx, [esp]
push esi
call fcn.10008340
push str.runmicrodog
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000852b
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xbc8
pop esi
add esp, 0x184
ret 4
call fcn.10005bf0
cmp eax, 7
mov dword [0x10028684], eax
je 0x10008549
cmp eax, 6
je 0x10008549
cmp eax, 8
je 0x10008549
cmp eax, 0xa
jne 0x10008561
call fcn.1000c2d0
test eax, eax
jne 0x10008561
mov eax, 0xbc0
pop esi
add esp, 0x184
ret 4
mov eax, dword [esp + 0x18c]
push edi
push eax
lea ecx, [esp + 0xc]
call fcn.1000b100
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x184
ret 4
Function at 0x10008a90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x240
push ebx
push ebp
push esi
push edi
push 0x100
push 0x10028484
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x100
push 0x10028584
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x10028484
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.inf_rcusbwdm.inf
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
and ecx, 3
lea eax, [esp + 0x110]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x10008bdc
mov ebp, dword [sym.imp.KERNEL32.dll_FindClose]
push eax
call ebp
or ecx, 0xffffffff
mov edi, 0x10028584
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x100269c0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.drivers_rcusbwdm.sys
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x110]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call ebx
cmp eax, 0xffffffff
je 0x10008bdc
push eax
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x240
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x240
ret
Function at 0x10009030
Capabilities:
Set registry value

Disassembly:
sub esp, 0x110
lea eax, [esp + 4]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor ebx, ebx
push eax
push 0xf003f
push ebx
push str.SOFTWARE
push 0x80000002
call esi
test eax, eax
je 0x10009060
mov ebx, 0xbbc
push ebp
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x10]
push edi
lea edx, [esp + 0x10]
push ecx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.rcdrvinfo
push eax
call ebp
test eax, eax
je 0x10009094
mov ebx, 0xbbc
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
test eax, eax
je 0x100090aa
mov ebx, 0xbbc
mov edx, dword [esp + 0x14]
push edx
call edi
test eax, eax
je 0x100090ba
mov ebx, 0xbbc
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
push str.SOFTWARE_rcdrvinfo
push 0x80000002
call esi
test eax, eax
je 0x100090db
mov ebx, 0xbbc
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x10026a0c
push eax
call ebp
test eax, eax
je 0x10009107
mov ebx, 0xbbc
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x1c]
push 4
push ecx
push 4
push 0
push str.build_no
push edx
mov dword [esp + 0x34], 0x30
call ebp
test eax, eax
je 0x10009135
mov ebx, 0xbbc
mov edi, 0x10026a00
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x24]
push ecx
push 1
push eax
push str.product_time
push edx
call ebp
pop edi
pop ebp
test eax, eax
je 0x10009188
mov ebx, 0xbbc
mov eax, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
test eax, eax
je 0x1000919e
mov ebx, 0xbbc
mov ecx, dword [esp + 0xc]
push ecx
call esi
test eax, eax
mov eax, 0xbbc
jne 0x100091b0
mov eax, ebx
pop esi
pop ebx
add esp, 0x110
ret

Function at 0x100091c0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
push edi
push 0x100
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esi + 0x104]
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, dword [esp + 0x10]
mov ecx, esi
push edi
call fcn.10009230
test eax, eax
jne 0x10009224
mov eax, dword [esp + 0xc]
cmp eax, 1
jne 0x1000920b
push edi
mov ecx, esi
call fcn.100095f0
pop edi
pop esi
ret 8
cmp eax, 2
push edi
mov ecx, esi
je 0x1000921f
call fcn.100095f0
test eax, eax
jne 0x10009224
push edi
mov ecx, esi
call fcn.10009490
pop edi
pop esi
ret 8