joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446810
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x473bbc]
cmp byte [eax + 0xc], 0
je 0x44697d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x446976
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x474b6c], 0
jne 0x446864
push 0x446984
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44698c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474b6c], eax
cmp dword [0x472c58], 0
jne 0x44695f
push 0x44699c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x472c58], eax
cmp dword [0x472c58], 0
je 0x44695f
push 0x4469a8
mov eax, dword [0x472c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474b70], eax
push 0x4469b8
mov eax, dword [0x472c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474b74], eax
push 0x4469cc
mov eax, dword [0x472c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474b78], eax
push 0x4469e4
mov eax, dword [0x472c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474b7c], eax
push 0x4469fc
mov eax, dword [0x472c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474b80], eax
push 0x446a10
mov eax, dword [0x472c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474b84], eax
push 0x446a28
mov eax, dword [0x472c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474b88], eax
push 0x446a40
mov eax, dword [0x472c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474b8c], eax
push 0x446a5c
mov eax, dword [0x472c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474b90], eax
push 0x446a68
mov eax, dword [0x472c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474b94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44697d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44acdc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403e64
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44ad2b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004040d4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x452470
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4524c0]
test si, 4
je 0x452484
or bl, 1
test si, 8
je 0x45248e
or bl, 4
test si, 1
je 0x452498
or bl, 8
test si, 2
je 0x4524a2
or bl, 0x10
test si, 0x10
je 0x4524ac
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4524bb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4524c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4524fc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4524dd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4524ec
or bl, 4
test esi, 0x20000000
je 0x4524f7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458ba4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458bb6
add esp, 0xfffffff0
call fcn.00403438
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419344
mov eax, dword [0x473870]
mov dword [eax + 4], ebx
mov dword [eax], 0x458f48
mov eax, dword [0x47387c]
mov dword [eax + 4], ebx
mov dword [eax], 0x458f54
mov eax, ebx
call fcn.00458f60
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411624]
call fcn.004030e4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411624]
call fcn.004030e4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411624]
call fcn.004030e4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411624]
call fcn.004030e4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411624]
call fcn.004030e4
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, 0x45537c
push eax
push 0
push 0
mov eax, dword [0x4739c8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41adb8]
call fcn.0041c52c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41adb8]
call fcn.0041c52c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41adb8]
call fcn.0041c52c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00459380
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45925c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45925c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45925c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458cf3
call fcn.00403490
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x459040
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 0x4591eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4591cc
mov dl, 1
mov eax, dword [0x411a40]
call fcn.004030e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e64
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4591bb
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.00446b70
test al, al
je 0x4591ae
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, 0x4591fc
lea eax, [ebp - 0x254]
call fcn.00408ac4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4591ae
xor eax, eax
push ebp
push 0x4591a7
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 0x459234
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459190
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040d4
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 0x459190
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4591ae
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4590b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415534
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 0x4591f2
lea eax, [ebp - 0x260]
call fcn.00403e64
ret

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

Disassembly:
push ecx
mov eax, dword [0x474bb8]
cmp byte [eax + 0xa5], 0
jne 0x459b91
cmp dword [0x474bd0], 0
jne 0x459b52
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459adc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x474bd0], eax
cmp dword [0x474bcc], 0
jne 0x459b6d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x474bcc], eax
cmp dword [0x474bd4], 0
jne 0x459b91
push esp
push 0
push 0
push 0x459a80
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x474bd4], eax
pop edx
ret
Function at 0x459c88
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459c9f
add esp, 0xfffffff0
call fcn.00403438
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419344
mov eax, dword [0x4739b4]
cmp word [eax + 2], 0
jne 0x459cc7
mov eax, dword [0x4739b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b360
mov eax, dword [0x473a64]
cmp word [eax + 2], 0
jne 0x459ce1
mov eax, dword [0x473a64]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b558
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411624]
call fcn.004030e4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411624]
call fcn.004030e4
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b898]
call fcn.00423110
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x459e68
mov eax, dword [0x4738d8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004234e0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45baf8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4738d8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c1c8
test eax, eax
je 0x459dd6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004084b8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c1f0
test eax, eax
je 0x459dea
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040d4
mov eax, dword [0x4737b8]
cmp byte [eax], 0
jne 0x459e1e
mov eax, ebx
call fcn.00459f90
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045bcd4
mov eax, ebx
call fcn.0045c698
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459e5e
call fcn.00403490
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45a210
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x474bb8]
cmp dword [eax + 0x30], 0
je 0x45a2ba
cmp dword [ebx + 0x94], 0
jne 0x45a2b4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a1a0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a2b4
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
Function at 0x45ae1c
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 0x45ae51
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.00403f54
jmp 0x45ae5e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403eb8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45beb0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45bef1
mov eax, esi
call fcn.00442158
test al, al
je 0x45bef1
mov eax, dword [ebx + 0x84]
call fcn.00441e54
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45bef1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441e54
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45f5b8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45f5e6
mov eax, ebx
call fcn.0046006c
cmp dword [ebx + 0x40], 0
je 0x45f5df
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45f657
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45f649
cmp dword [ebx + 8], 0
je 0x45f608
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45f61a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45f649
cmp dword [ebx + 8], 0
je 0x45f5fb
cmp eax, 3
je 0x45f62d
dec eax
jne 0x45f5fb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45f5fb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45f5fb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45f675
cmp dword [ebx + 0x14], 0xcc
je 0x45f675
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045f680
pop ebx
ret
Function at 0x4098c4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409997
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4099b0
push ebx
push 0x4099bc
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409944
mov al, 0x62
call fcn.0040949c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409898
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x40994d
call fcn.00409898
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40999e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a50
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409b04
jmp 0x409af9
cmp dword [esi + 0x10], 0x1000
jne 0x409ae5
test byte [esi + 0x15], 1
jne 0x409ae5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409aa4
cmp eax, 2
je 0x409aa4
cmp eax, 0x10
je 0x409aa4
cmp eax, 0x20
jne 0x409ab9
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409ab9
mov bl, 1
xor ebp, ebp
jmp 0x409aca
mov eax, dword [esi]
add eax, ebp
call fcn.00409a48
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409abd
test bl, bl
je 0x409ae5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409b04
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a7c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x4020f0
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e115
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5e3f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.mscoree.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4021b8
push str.CorBindToRuntimeEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4021e6
push 0x5ed164
push 0x5c2f70
push 0x5c2f60
push 2
push 0
push str.v4.0.30319
call esi
test eax, eax
jns 0x40218b
push 0x5ed164
push 0x5c2f70
push 0x5c2f60
push 2
push 0
push str.v2.0.50727
call esi
mov esi, eax
test esi, esi
js 0x40221b
mov byte [0x5ed15c], 1
mov eax, dword [0x5ed164]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov esi, eax
test esi, esi
js 0x402248
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x10]
call fcn.00402ce0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00402de0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x40
mov edx, esi
mov ecx, eax
call fcn.0041d6c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x10]
call fcn.00402ce0
push 0x49
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00402de0
mov edx, eax
mov ecx, esi
call fcn.0041d6c0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x10]
call fcn.00402ce0
push 0x57
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00402de0
mov edx, eax
mov ecx, esi
call fcn.0041d6c0
mov ecx, dword [0x5ed164]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push edi
mov dword [0x5ed164], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x14]
call fcn.00402ce0
push 0x64
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.00402de0
mov edx, eax
mov ecx, esi
call fcn.0041d6c0
int3
Function at 0x402ae0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x402b09
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402b1f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402b16
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x402b52
nop
cmp esi, ecx
jae 0x402b16
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x402b40
cmp esi, ecx
jae 0x402b16
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x403780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e3c0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5e3f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 1
call fcn.00421e97
mov byte [ebp - 4], 0
test eax, eax
je 0x4038d6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 8], eax
mov dword [ebp - 4], 3
call fcn.00421e97
mov byte [ebp - 4], 2
test eax, eax
je 0x4038d6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [ebp - 4], 5
call fcn.00421e97
mov byte [ebp - 4], 4
test eax, eax
je 0x4038d6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov dword [ebp - 4], 7
call fcn.00421e97
mov byte [ebp - 4], 6
test eax, eax
je 0x4038d6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], 9
call fcn.00421e97
mov byte [ebp - 4], 8
test eax, eax
je 0x4038d6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 0xb
call fcn.00421e97
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4038d6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
mov eax, esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403280
int3
Function at 0x40d820
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ecee
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5e3f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 2
call fcn.00421e97
mov ecx, eax
mov byte [ebp - 4], 1
test ecx, ecx
je 0x40d935
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
mov dword [ebp - 0x10], 1
or eax, ecx
jge 0x40d8a5
push 0x104
mov ecx, esi
call fcn.00402fb0
mov ecx, dword [esi]
cmp dword [ecx - 8], 0x104
jl 0x40d92b
mov dword [ecx - 0xc], 0x104
xor edx, edx
mov eax, dword [esi]
push 0x104
push ecx
push 0x5c3ec0
mov word [eax + 0x208], dx
call fcn.00556277
mov ecx, dword [esi]
mov edi, eax
test ecx, ecx
je 0x40d8ec
push dword [ecx - 8]
push ecx
call fcn.0056562f
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x40d92b
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x40d92b
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
test edi, edi
jne 0x40d93f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push dword [esi]
call fcn.00556773
mov edi, eax
test edi, edi
jne 0x40d968
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403280
push 0x80004005
call fcn.00403280
push str.D:_apreltechSibSiblSiblEnvTools.cpp
lea ecx, [ebp - 0x18]
call fcn.00402ce0
push 0x11e
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.00402de0
mov edx, eax
mov ecx, edi
call fcn.0041d6c0
push str.D:_apreltechSibSiblSiblEnvTools.cpp
lea ecx, [ebp - 0x18]
call fcn.00402ce0
push 0x123
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.00402de0
mov edx, eax
mov ecx, edi
call fcn.0041d6c0
int3