joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459d24
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x459d5c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459d3d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459d4c
or bl, 4
test esi, 0x20000000
je 0x459d57
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x460420
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x460432
add esp, 0xfffffff0
call fcn.00403c14
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00426b28
mov eax, dword [0x4b1d30]
mov dword [eax + 4], ebx
mov dword [eax], 0x4607c4
mov eax, dword [0x4b1d48]
mov dword [eax + 4], ebx
mov dword [eax], 0x4607d0
mov eax, ebx
call fcn.004607dc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41b8a8]
call fcn.0040386c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41b8a8]
call fcn.0040386c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41b8a8]
call fcn.0040386c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41b8a8]
call fcn.0040386c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41b8a8]
call fcn.0040386c
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45cbf4
push eax
push 0
push 0
mov eax, dword [0x4b1fcc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42858c]
call fcn.00429d24
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42858c]
call fcn.00429d24
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42858c]
call fcn.00429d24
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00460c2c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460af4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460af4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460af4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46056f
call fcn.00403c6c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4608d8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x460a83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460a64
mov dl, 1
mov eax, dword [0x41bf0c]
call fcn.0040386c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040472c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x460a53
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044e818
test al, al
je 0x460a46
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x460a94
lea eax, [ebp - 0x254]
call fcn.0040a0ec
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x460a46
xor eax, eax
push ebp
push 0x460a3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x460acc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x460a28
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040499c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x460a28
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040499c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460a46
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x460949
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00420b18
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460a8a
lea eax, [ebp - 0x260]
call fcn.0040472c
ret

Function at 0x4613cc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4b3bbc]
cmp byte [eax + 0xa5], 0
jne 0x46143d
cmp dword [0x4b3bd4], 0
jne 0x4613fe
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x461388
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b3bd4], eax
cmp dword [0x4b3bd0], 0
jne 0x461419
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b3bd0], eax
cmp dword [0x4b3bd8], 0
jne 0x46143d
push esp
push 0
push 0
push 0x46132c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4b3bd8], eax
pop edx
ret
Function at 0x461ad0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b3bbc]
cmp dword [eax + 0x30], 0
je 0x461b7a
cmp dword [ebx + 0x94], 0
jne 0x461b74
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x461a60
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461b74
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x461b3a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461b74
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041e0dc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x461b49
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4626d8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46270d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040481c
jmp 0x46271a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404780
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x463854
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x463895
mov eax, esi
call fcn.00449ed8
test al, al
je 0x463895
mov eax, dword [ebx + 0x84]
call fcn.00449bd4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x463895
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449bd4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x486a1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x486b9d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b1434], 0
jne 0x486b7a
push 0x4b3c2c
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x486b73
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b1434], 0
jne 0x486b5b
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404d78
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404bec
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00408a6c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x486bb4
call fcn.0040a184
mov eax, dword [ebp - 0xc]
call fcn.00404bec
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x486adc
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404d78
jmp 0x486b13
lea eax, [ebp - 8]
mov edx, 0x486bd4
call fcn.004047c4
xor eax, eax
push ebp
push 0x486b09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0046aec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x486b13
mov eax, dword [ebp - 8]
call fcn.00404bec
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4b1434], eax
cmp dword [0x4b1434], 0
jne 0x486b46
mov ecx, dword [0x4b1f7c]
mov dl, 1
mov eax, dword [0x407df0]
call fcn.0040d224
call fcn.00404140
push 0x486be0
mov eax, dword [0x4b1434]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3c44], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486b7a
push 0x4b3c2c
call sub.kernel32.dll_LeaveCriticalSection_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486ba4
lea eax, [ebp - 0x18]
call fcn.0040472c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404750
ret
Function at 0x491de0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x87], 0
je 0x491e1b
cmp dword [ebx + 0x5c], 0
je 0x491e1b
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.0048a138
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x491f66
cmp dword [ebx + 0x7c], 0
jne 0x491e41
mov dl, 1
mov eax, dword [0x41b964]
call fcn.0040386c
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x491f3f
mov eax, dword [ebx + 0xc]
push eax
mov al, byte [0x491f6c]
push eax
mov al, byte [0x491f70]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x4b1fa4]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x481e9c]
call fcn.0048476c
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x491f38
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.0048a138
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.0048a138
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x487730]
call fcn.00405c1c
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1a
jge 0x491f0b
mov edx, dword [0x4b21e8]
mov al, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x491f1c
cmp eax, 0x1007
jne 0x491f18
mov byte [ebx + 0x74], 0x18
jmp 0x491f1c
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491f66
mov eax, dword [ebp - 4]
call fcn.0040389c
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.0048a138
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x49fb44
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bdc
xor eax, eax
push ebp
push 0x49fc2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x49fc3c
lea edi, [ebp - 0x2c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00404bec
inc eax
mov dword [ebp - 0xc], eax
mov edi, 1
xor esi, esi
jmp 0x49fc04
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
cmp al, 0x27
je 0x49fb9d
cmp al, byte [ebp - 5]
jne 0x49fba2
xor bl, 1
jmp 0x49fc00
test bl, bl
jne 0x49fc00
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
and eax, 0xff
bt dword [ebp - 0x2c], eax
jae 0x49fc00
cmp byte [ebp + 8], 0
je 0x49fbd0
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
sub al, 0x3a
je 0x49fc00
add al, 0xfe
sub al, 3
jb 0x49fc00
mov esi, edi
inc esi
jmp 0x49fc00
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x3a
jne 0x49fbf4
mov eax, dword [ebp - 0xc]
mov al, byte [eax - 1]
sub al, 0x20
je 0x49fbf0
add al, 0xf8
sub al, 2
jb 0x49fbf0
sub al, 2
je 0x49fbf0
sub al, 0x11
jne 0x49fc00
mov esi, edi
jmp 0x49fc00
mov eax, dword [ebp - 0xc]
cmp byte [eax + 1], 0x3a
jne 0x49fc00
mov esi, edi
inc esi
inc dword [ebp - 0xc]
inc edi
test esi, esi
jne 0x49fc14
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
jne 0x49fb8f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fc31
lea eax, [ebp - 4]
call fcn.0040472c
ret
Function at 0x103559e
Capabilities:
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1063194]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x80
push dword [esi]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x103561c
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x20c]
push ecx
xor ebx, ebx
push ebx
push 0x100a654
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1035614
mov eax, dword [esi]
push 1
lea ecx, [ebp - 0x20c]
push ecx
push eax
call edi
test eax, eax
je 0x1035614
push 4
push ebx
lea eax, [ebp - 0x20c]
push eax
jmp 0x1035619
push 4
push ebx
push dword [esi]
call edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.01021557
leave
ret 4

Function at 0x1035f52
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
mov ebx, 0x100a670
cmp edi, esi
je 0x1035ff2
push edi
call fcn.01021488
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x1035ff2
push eax
push edi
push esi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1035fe4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x1001678
push dword [ebp - 0xc]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1035fe4
cmp dword [ebp + 0xc], esi
je 0x1035fe4
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push eax
push ebx
push dword [ebp + 0xc]
call fcn.01015a11
add esp, 0x18
mov dword [ebp - 4], 1
push dword [ebp - 0xc]
call fcn.010213a1
pop ecx
cmp dword [ebp - 4], esi
jne 0x1036007
cmp dword [ebp + 0xc], esi
je 0x1036007
push esi
push esi
push esi
push esi
push ebx
push dword [ebp + 0xc]
call fcn.01015a11
add esp, 0x18
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x103c4cc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov dword [ebp - 8], esi
cmp dword [ebp + 0xc], ebx
jne 0x103c4f3
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [ebp + 8]
cmp eax, 4
jne 0x103c504
mov dword [ebp - 4], 0x100cba8
jmp 0x103c52c
cmp eax, 9
jne 0x103c512
mov dword [ebp - 4], 0x100cb80
jmp 0x103c52c
cmp eax, 0xa
jne 0x103c520
mov dword [ebp - 4], 0x100ac9c
jmp 0x103c52c
cmp eax, 8
jne 0x103c4ea
mov dword [ebp - 4], 0x100cb4c
call fcn.0103aedf
test eax, eax
je 0x103c4ea
lea eax, [ebp + 8]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp + 8], ebx
push dword [esi + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
test eax, eax
jne 0x103c4ea
cmp dword [ebp + 8], 1
jbe 0x103c4ea
add dword [ebp + 8], 4
push dword [ebp + 8]
call fcn.01054617
mov edi, eax
pop ecx
cmp edi, ebx
je 0x103c4ea
push dword [ebp + 8]
push ebx
push edi
call fcn.010219e0
add esp, 0xc
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 8]
push edi
push ebx
push ebx
push dword [ebp - 4]
push dword [eax + 0x10]
call esi
push edi
test eax, eax
je 0x103c599
call fcn.01021189
pop ecx
jmp 0x103c4ea
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0103c474
push edi
call fcn.01021189
xor eax, eax
cmp dword [esi + 8], ebx
pop ecx
setne al
jmp 0x103c4ec
Function at 0x104027b
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1040264
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1040282
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
clc
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
clc
add byte [eax], al
add byte [ebx + 0x448d2478], cl
or bh, bh
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10402e0
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10402c7
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10402d0
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10402da
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10402bc
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1040246
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x104032d
dec eax
je 0x1040324
sub eax, 3
je 0x104031b
mov dword [ebp - 4], 0x40
jmp 0x104034a
mov dword [ebp - 4], 4
jmp 0x1040330
mov dword [ebp - 4], 0x20
jmp 0x1040330
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x104037c
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
invalid
invalid
je 0x1040357

Function at 0x104038d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7ec
push ebx
push esi
push edi
call fcn.0103fb6b
ret

Function at 0x1042b30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
xor ebx, ebx
push 0x104
mov ecx, esi
mov dword [ebp - 8], ebx
call fcn.010158a3
push 0x20019
push 2
push ebx
push 1
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov edi, eax
cmp edi, 0xffffffff
je 0x1042ba1
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push ebx
push ebx
push 0x100e14c
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1042b9a
cmp dword [ebp - 4], ebx
jbe 0x1042b9a
mov dword [ebp - 8], 1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
mov ecx, esi
call fcn.01015023
mov eax, dword [ebp - 8]
pop edi
pop ebx
leave
ret 8
Function at 0x405bbf
Capabilities:
Enumerate processes

Disassembly:
push 0x24c
mov eax, 0x47b6d2
call fcn.004514b0
mov esi, ecx
mov ebx, esi
call fcn.00405d36
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x405bec
xor al, al
jmp 0x405c5d
lea eax, [ebp - 0x258]
push eax
push ebx
mov dword [ebp - 0x258], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x405c50
and dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
call fcn.00405689
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405cbf
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040573c
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x405c06
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
call fcn.00451533
ret
Function at 0x406005
Capabilities:
Check if file exists

Disassembly:
push 0xb4
mov eax, 0x47f032
call fcn.004514b0
call fcn.00406507
xor edi, edi
inc edi
push edi
xor esi, esi
push esi
call fcn.00406906
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
mov dword [ebp - 4], esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], cx
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
lea ebx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.004063f8
lea eax, [ebp - 0x48]
push eax
call fcn.0040634e
add esp, 0xc
call section..text
lea eax, [ebp - 0x9c]
cmp dword [ebp - 0x54], esi
je 0x4060d3
push 0x491b68
push eax
call fcn.0040623a
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004062ab
lea ecx, [ebp - 0x80]
push str..dll
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004062cd
add esp, 0x18
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00405e9a
push esi
push edi
lea ecx, [ebp - 0x80]
call fcn.0040573c
push esi
push edi
lea ecx, [ebp - 0xb8]
call fcn.0040573c
jmp 0x4060f0
push str..dll
push eax
lea ebx, [ebp - 0x48]
call fcn.0040623a
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00405e9a
push esi
push edi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.0040573c
push edi
push 0xa
call fcn.00406906
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [ebp - 0x18], 8
mov ebx, eax
mov eax, dword [ebp - 0x2c]
jae 0x406120
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
call fcn.00405555
push 0x491b6c
push 0xc9
push ebx
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, esi
jne 0x406146
xor ebx, ebx
jmp 0x406154
push eax
push ebx
lea eax, [ebp - 0x80]
call fcn.00407353
pop ecx
pop ecx
mov ebx, eax
push esi
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.0040573c
cmp ebx, esi
je 0x4061fc
push edi
push 0x32
call fcn.00406906
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
jae 0x406180
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4061fc
push edi
push 0x3c
call fcn.00406906
pop ecx
pop ecx
call fcn.00402406
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4061a6
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, esi
je 0x4061fc
push edi
push 0x46
call fcn.00406906
lea eax, [ebp - 0xc0]
push eax
call fcn.00440fb6
add esp, 0xc
push str.DownloaderHelper2
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4061e7
push dword [ebp - 0xc0]
call eax
pop ecx
test al, al
jne 0x4061ed
mov dword [0x4b895c], edi
push esi
push 0x7d0
call fcn.00406906
pop ecx
pop ecx
jmp 0x406202
mov dword [0x4b895c], edi
push esi
push 0x834
call fcn.00406906
pop ecx
pop ecx
call fcn.0040360b
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040573c
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.0040573c
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.0040573c
xor eax, eax
call fcn.00451533
ret