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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x458200]
cmp byte [eax + 0xc], 0
je 0x43f9f5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43f9ee
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x459bb8], 0
jne 0x43f8dc
push 0x43f9fc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43fa04
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bb8], eax
cmp dword [0x457c28], 0
jne 0x43f9d7
push 0x43fa14
call sub.kernel32.dll_LoadLibraryA
mov dword [0x457c28], eax
cmp dword [0x457c28], 0
je 0x43f9d7
push 0x43fa20
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bbc], eax
push 0x43fa30
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bc0], eax
push 0x43fa44
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bc4], eax
push 0x43fa5c
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bc8], eax
push 0x43fa74
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bcc], eax
push 0x43fa88
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bd0], eax
push 0x43faa0
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bd4], eax
push 0x43fab8
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bd8], eax
push 0x43fad4
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bdc], eax
push 0x43fae0
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459be0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f9f5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x443758
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.00404298
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4437a7
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.00404500
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b610
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b660]
test si, 4
je 0x44b624
or bl, 1
test si, 8
je 0x44b62e
or bl, 4
test si, 1
je 0x44b638
or bl, 8
test si, 2
je 0x44b642
or bl, 0x10
test si, 0x10
je 0x44b64c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b65b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44b664
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b69c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b67d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b68c
or bl, 4
test esi, 0x20000000
je 0x44b697
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x451cc4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x451cd6
add esp, 0xfffffff0
call fcn.00403890
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420658
mov eax, dword [0x457f14]
mov dword [eax + 4], ebx
mov dword [eax], 0x452068
mov eax, dword [0x457f20]
mov dword [eax + 4], ebx
mov dword [eax], 0x452074
mov eax, ebx
call fcn.00452080
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416618]
call fcn.004034fc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416618]
call fcn.004034fc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416618]
call fcn.004034fc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416618]
call fcn.004034fc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416618]
call fcn.004034fc
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, 0x44e53c
push eax
push 0
push 0
mov eax, dword [0x458038]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4220bc]
call fcn.00423758
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4220bc]
call fcn.00423758
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4220bc]
call fcn.00423758
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004524a0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45237c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45237c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45237c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451e13
call fcn.004038e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x452160
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 0x45230b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4522ec
mov dl, 1
mov eax, dword [0x416b08]
call fcn.004034fc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404298
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4522db
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.0043fbe8
test al, al
je 0x4522ce
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, 0x45231c
lea eax, [ebp - 0x254]
call fcn.00408f70
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4522ce
xor eax, eax
push ebp
push 0x4522c7
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 0x452354
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4522b0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404500
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 0x4522b0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404500
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4522ce
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4521d1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ac64
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 0x452312
lea eax, [ebp - 0x260]
call fcn.00404298
ret

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

Disassembly:
push ecx
mov eax, dword [0x459bfc]
cmp byte [eax + 0xa5], 0
jne 0x452cb1
cmp dword [0x459c14], 0
jne 0x452c72
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x452bfc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x459c14], eax
cmp dword [0x459c10], 0
jne 0x452c8d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x459c10], eax
cmp dword [0x459c18], 0
jne 0x452cb1
push esp
push 0
push 0
push 0x452ba0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x459c18], eax
pop edx
ret
Function at 0x452da8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x452dbf
add esp, 0xfffffff0
call fcn.00403890
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420658
mov eax, dword [0x458028]
cmp word [eax + 2], 0
jne 0x452de7
mov eax, dword [0x458028]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004543ec
mov eax, dword [0x4580b8]
cmp word [eax + 2], 0
jne 0x452e01
mov eax, dword [0x4580b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004545e4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416618]
call fcn.004034fc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416618]
call fcn.004034fc
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], 0x80000018
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 [0x422ac4]
call fcn.00429bb0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x452f8c
mov eax, dword [0x457f6c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429f80
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x454b54
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x457f6c]
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.0040b2f0
test eax, eax
je 0x452ef6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004088d0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b318
test eax, eax
je 0x452f0a
mov byte [eax], 0
lea eax, [ebp - 0x101]
call fcn.0040b0bc
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404500
mov eax, dword [0x457e84]
cmp byte [eax], 0
jne 0x452f42
mov eax, ebx
call fcn.004530b4
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.00454d30
mov eax, ebx
call fcn.004556e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452f82
call fcn.004038e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453334
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x459bfc]
cmp dword [eax + 0x30], 0
je 0x4533de
cmp dword [ebx + 0x94], 0
jne 0x4533d8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4532c4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4533d8
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 0x45339e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4533d8
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.00418cb8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4533ad
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453ebc
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 0x453ef1
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.00404388
jmp 0x453efe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042ec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454f0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x454f4d
mov eax, esi
call fcn.0043b4b0
test al, al
je 0x454f4d
mov eax, dword [ebx + 0x84]
call fcn.0043b1ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454f4d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b1ac
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x10005c2d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10014aa8
cmp edx, dword [eax]
je 0x10005c4f
add eax, 8
inc ecx
cmp eax, 0x10014b38
jl 0x10005c40
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10014aa8]
jne 0x10005d7d
mov eax, dword [0x10019294]
cmp eax, 1
je 0x10005d57
test eax, eax
jne 0x10005c80
cmp dword [0x10019298], 1
je 0x10005d57
cmp edx, 0xfc
je 0x10005d7d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10005cb7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10005e10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10005f00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10005cfa
lea eax, [ebp - 0x1a4]
push eax
call fcn.10005f00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x100116b0
push edi
call fcn.10007fc0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10005e10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10005e20
lea eax, [ebp - 0xa0]
push 0x10011690
push eax
call fcn.10005e20
push dword [esi + 0x10014aac]
lea eax, [ebp - 0xa0]
push eax
call fcn.10005e20
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10008354
add esp, 0x2c
pop edi
jmp 0x10005d7d
lea eax, [ebp + 8]
lea esi, [esi + 0x10014aac]
push 0
push eax
push dword [esi]
call fcn.10005f00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x10008adc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.100088b8
xor esi, edi
invalid

Function at 0x10008cfe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
pop ecx
mov byte [ebp - 0x20], 0x4a

Function at 0x10008d04
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100088c8
push eax
push esi
push dword [ebp + 8]
call fcn.1000887d
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.100088b8
sub bh, byte [esi + edx]
daa
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
invalid
jmp 0xf802ad9
invalid
invalid
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
invalid
inc ebp
invalid
Function at 0x10008d0a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100088c8
push eax
push esi
push dword [ebp + 8]
call fcn.1000887d
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.100088b8
sub bh, byte [esi + edx]
daa
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
invalid
jmp 0xf802ad9
invalid
invalid
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
invalid
inc ebp
invalid

Function at 0x10008fae
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10008f8f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10008fad
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]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
inc esp
or bh, bh
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 0x1000900b
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
adc byte gs:[eax], al
add byte [eax], al
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10008ff2
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10008ffb
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10009005
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10008fe7
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10008f71
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x10008fe1
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10008f8f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10008fad
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]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
inc esp
or bh, bh
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 0x1000900b
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
adc byte gs:[eax], al
add byte [eax], al
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10008ff2
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10008ffb
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10009005
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10008fe7
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10008f71
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x1000e34b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x1000e379
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000e397
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.1000e2b1
jmp 0x1000e397
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1000e397
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.1000e2b1
test edi, edi
mov eax, edi
jne 0x1000e381
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x64
push esi
mov esi, dword [esp + 0x74]
test esi, esi
push edi
je 0x40106f
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40106f
mov eax, dword [esp + 0x7c]
push eax
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x401083
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea ecx, [esp + 0x10]
push str.Failed_to_run___s___Error:__d
push ecx
call fcn.00401090
add esp, 0x10
lea edx, [esp + 8]
push 0x30
push str.ShelExec
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
add esp, 0x64
ret 0x10
push 0x30
push str.ShelExec
push str.Usage:_ShelExec_DocumentFile
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop esi
add esp, 0x64
ret 0x10

Function at 0x401f70
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.00402030
mov eax, dword [0x40c53c]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x401f94
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x40c538], 1
mov byte [0x40c534], bl
jne 0x401fee
mov ecx, dword [0x40dbac]
test ecx, ecx
je 0x401fdc
mov esi, dword [0x40dba8]
sub esi, 4
cmp esi, ecx
jb 0x401fdc
mov eax, dword [esi]
test eax, eax
je 0x401fd5
call eax
mov ecx, dword [0x40dbac]
sub esi, 4
cmp esi, ecx
jae 0x401fc7
push 0x40901c
push 0x409014
call fcn.00402050
add esp, 8
push 0x409024
push 0x409020
call fcn.00402050
add esp, 8
test ebx, ebx
je 0x40200d
call fcn.00402040
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x40c53c], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]