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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040a294
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0046ed08
test ebx, ebx
jne 0x474c57
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00474a80
mov ebx, eax
test ebx, ebx
je 0x474d4d
cmp esi, ebx
je 0x474c80
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x474c95
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x474ccd
add eax, 0xffffff5f
sub eax, 2
jb 0x474ce5
dec eax
sub eax, 2
jb 0x474cf9
dec eax
sub eax, 2
jb 0x474cef
jmp 0x474d03
add eax, 0xfffffdff
sub eax, 2
jb 0x474ce5
dec eax
sub eax, 2
jb 0x474cf9
dec eax
sub eax, 2
jb 0x474cef
jmp 0x474d03
mov byte [esp + 0x120], 0
jmp 0x474d0b
mov byte [esp + 0x120], 2
jmp 0x474d0b
mov byte [esp + 0x120], 1
jmp 0x474d0b
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00492918
mov esi, eax
call fcn.0046b60c
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0047068c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x474d4f
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x492420
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x492441
test edi, 0x40000
je 0x49245b
test bl, bl
jne 0x4924dc
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4924dc
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x49248e
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4924a3
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x4924b2
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4924c3
cmp byte [esp + 2], 0
je 0x4924dc
cmp byte [esp + 2], 0
je 0x4924d4
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4924dc
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x492788
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4927ae
mov eax, esp
push eax
push 0x492750
call sub.user32.dll_EnumWindows
jmp 0x4927c1
mov eax, esp
push eax
push 0x492730
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x492884
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4928d4]
test bl, 4
je 0x492898
or si, 1
test bl, 8
je 0x4928a1
or si, 4
test bl, 1
je 0x4928aa
or si, 8
test bl, 2
je 0x4928b3
or si, 0x10
test bl, 0x10
je 0x4928bc
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4928cc
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4928d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x492914]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4928f3
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x492903
or bx, 4
test esi, 0x20000000
je 0x49290f
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x49b58c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x49b59e
add esp, 0xfffffff0
call fcn.004052c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ab34
mov eax, dword [0x4a8ecc]
mov dword [eax + 4], ebx
mov dword [eax], 0x49b9e8
mov eax, dword [0x4a8ed8]
mov dword [eax + 4], ebx
mov dword [eax], 0x49b9f4
mov eax, ebx
call fcn.0049ba00
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x4241b8]
call fcn.00404d78
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4241b8]
call fcn.00404d78
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4241b8]
call fcn.00404d78
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4241b8]
call fcn.00404d78
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4241b8]
call fcn.00404d78
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x496280
push eax
push 0
push 0
mov eax, dword [0x4a9064]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x44536c]
call fcn.0044a374
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x44536c]
call fcn.0044a374
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x44536c]
call fcn.0044a374
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x44536c]
call fcn.0044a374
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x44536c]
call fcn.0044a374
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.0049bf60
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49bdd0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49bdd0
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49bdd0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49bdd0
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49bdd0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49b719
call fcn.0040531c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x49bb70
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49bd1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x49bcfe
mov dl, 1
mov eax, dword [0x426780]
call fcn.004325ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.0040682c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x49bced
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.0047e204
test al, al
je 0x49bce0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x49bd2c
lea eax, [ebp - 0x394]
call fcn.004118e0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x49bce0
xor eax, eax
push ebp
push 0x49bcd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x49bd9c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x49bcc2
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406a14
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x49bcc2
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406a14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bce0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x49bbe3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.004324e8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bd24
lea eax, [ebp - 0x3a0]
call fcn.0040681c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4af280]
cmp byte [eax + 0xad], 0
jne 0x49c8ee
cmp dword [0x4af298], 0
jne 0x49c8ae
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4a8da4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4af298], eax
cmp dword [0x4af294], 0
jne 0x49c8c9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4af294], eax
cmp dword [0x4af29c], 0
jne 0x49c8ee
push esp
push 0
push 0
mov eax, dword [0x4a8da0]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4af29c], eax
pop edx
ret
Function at 0x49cc14
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x49cc2b
add esp, 0xfffffff0
call fcn.004052c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ab34
mov eax, dword [0x4a8e08]
cmp byte [eax], 0
jne 0x49cc58
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4a9044]
cmp word [eax + 2], 0
jne 0x49cc72
mov eax, dword [0x4a9044]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0049ed0c
mov eax, dword [0x4a9118]
cmp word [eax + 2], 0
jne 0x49cc8c
mov eax, dword [0x4a9118]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0049ef1c
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44536c]
call fcn.0044a374
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x49f4cc
mov dl, 1
mov eax, dword [0x4241b8]
call fcn.00404d78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4241b8]
call fcn.00404d78
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x448a04]
call fcn.0045116c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x49ce6c
mov eax, dword [0x4a8f44]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00451600
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x49f7b4
mov dl, 1
mov eax, dword [0x4241b8]
call fcn.00404d78
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4a8f44]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041172c
test eax, eax
je 0x49cd9d
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00411510
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00411710
test eax, eax
je 0x49cdb5
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406a14
push ebx
push 0x49e6dc
call fcn.00492868
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4a8e08]
cmp byte [eax], 0
jne 0x49ce06
mov eax, ebx
call fcn.0049cfe0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0049f9e0
mov eax, ebx
call fcn.004a0614
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49ce63
call fcn.0040531c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49d2b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x49d356
cmp dword [ebx + 0x94], 0
jne 0x49d350
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x49d200
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x49d350
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_GetWindowLongW
test al, 8
je 0x49d316
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x49d350
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.0042ef88
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x49d325
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x49d574
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4af280]
cmp dword [eax + 0x170], 0
je 0x49d6d9
test bl, bl
jne 0x49d627
cmp dword [esi + 0x9c], 0
jne 0x49d61c
mov eax, esi
call fcn.004a0464
push eax
push 0x49d480
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x49d5ed
mov eax, dword [0x4af280]
cmp byte [eax + 0xd3], 0
je 0x49d5ed
mov eax, dword [esi + 0xd8]
call fcn.00407e30
mov edi, eax
cmp edi, 0
jl 0x49d5ed
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x49d5d6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x49d61c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042ef88
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x49d5fc
inc dword [esi + 0x9c]
jmp 0x49d6d9
cmp dword [esi + 0x9c], 0
jle 0x49d6d9
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x49d6d9
cmp dword [esi + 0x44], 0
je 0x49d684
mov eax, dword [0x4af280]
cmp byte [eax + 0xd3], 0
je 0x49d684
mov eax, dword [esi + 0xd8]
call fcn.00407e30
mov edi, eax
cmp edi, 0
jl 0x49d684
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x49d66d
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x49d6b3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042ef88
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x49d693
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x490740]
call fcn.00407ff0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x49e328
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x49e393
cmp byte [ebx + 0xd3], 0
jne 0x49e393
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406968
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x49e380
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x49e3a0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040682c
jmp 0x49e3a0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040682c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x49fbc8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x49fc36
mov eax, esi
call fcn.004783d8
test al, al
je 0x49fc36
mov eax, dword [ebx + 0x84]
call fcn.00478058
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x49fc36
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x49fc2a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00478058
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0046f0e8
jmp 0x49fc36
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0049fa00
pop esi
pop ebx
ret
Function at 0x10002135
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.10001f10
mov ebx, eax
test edi, edi
je 0x100021f5
test esi, esi
je 0x100021f5
push 0x104
lea eax, [ebp - 0x110]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, esi
lea ecx, [ebp - 0x110]
call fcn.10001fec
mov edi, eax
cmp edi, 0xffffffff
je 0x100021f5
lea eax, [ebp - 0x110]
push 0x1000d3a8
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
push 0
mov esi, eax
push edi
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push esi
push 5
lea eax, [ebp - 0xc]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x114]
add esp, 0x28
push eax
push 0x40
push 5
push ebx
call esi
mov eax, dword [ebp - 0xc]
mov dword [ebx], eax
mov al, byte [ebp - 8]
mov byte [ebx + 4], al
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x114]
push 5
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000bb3f
leave
ret

Function at 0x10002204
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test edi, edi
je 0x10002243
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov dword [edi], 0x8b55ff8b
push eax
push dword [ebp - 8]
mov byte [edi + 4], 0xec
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1000bb3f
leave
ret

Function at 0x10002250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
test esi, esi
jne 0x10002268
push edi
mov edi, dword fs:[0x30]
mov eax, dword [edi + 8]
ret
push ebx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x1c]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop ebx
jmp 0x10002294
push esi
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov eax, dword [ebp - 4]
je 0x1000229a
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp dword [eax + 8], 0
jne 0x1000227e
mov eax, dword [eax + 8]
pop esi
leave
ret
Function at 0x10002cc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x4550
jne 0x10002d3b
mov eax, dword [ebp - 0x10]
mov ax, word [eax + 0x14]
mov word [ebp - 0xc], ax
movzx eax, word [ebp - 0xc]
test eax, eax
je 0x10002d3b
lea eax, [ebp - 8]
push eax
push 0x40
movzx eax, word [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx eax, word [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movzx eax, word [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000bb3f
leave
ret
Function at 0x10003ce8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x44
xor ebx, ebx
lea eax, [ebp - 0x48]
push ebx
push eax
mov esi, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0x44
xor eax, eax
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10003d50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_process._Error_code:__d_n
call fcn.1000ba54
pop ecx
pop ecx
jmp 0x10003d60
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x54]
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000bb3f
leave
ret

Function at 0x100048cd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], 0x26
mov byte [ebp - 0x2c], 0x5e
mov byte [ebp - 0x2b], 0x2e
mov byte [ebp - 0x2a], 0x2e
mov byte [ebp - 0x29], 0x3e
mov byte [ebp - 0x28], 0x17
mov byte [ebp - 0x27], 0x43
mov byte [ebp - 0x26], 0x43
mov byte [ebp - 0x25], 0x23
mov byte [ebp - 0x24], 0x23
mov byte [ebp - 0x23], 0x47
mov byte [ebp - 0x22], 0x1b
mov byte [ebp - 0x21], 0x3b
mov byte [ebp - 0x20], 0x47
mov byte [ebp - 0x1f], 0x23
mov byte [ebp - 0x1e], 0x1f
mov byte [ebp - 0x1d], 0x47
mov byte [ebp - 0x1c], 0x2f
mov byte [ebp - 0x1b], 0x3f
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x5a
mov byte [ebp - 0x18], 0x46
mov byte [ebp - 0x17], 0x66
mov byte [ebp - 0x16], 0x42
mov byte [ebp - 0x15], 0x47
mov byte [ebp - 0x14], 0x3e
mov byte [ebp - 0x13], 0x5e
mov byte [ebp - 0x12], 0x3e
mov byte [ebp - 0x11], 3
mov byte [ebp - 0x10], 0x5a
mov byte [ebp - 0xf], 0xb
mov byte [ebp - 0xe], 0x6b
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x67
mov byte [ebp - 0xb], 0x66
mov byte [ebp - 0xa], 0xb
mov byte [ebp - 9], 0x6b
mov byte [ebp - 8], 0x6e
mov byte [ebp - 7], 0xff
lea ecx, [ebp - 0x2c]
call fcn.10004cfd
push 9
pop ecx
lea esi, [ebp - 0x2c]
mov edi, 0x10010b8c
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, 0x10010b8c
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000bb3f
leave
ret