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

Disassembly:
sub esp, 0x128
mov eax, dword [0x1011a204]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x130]
push ebx
mov ebx, dword [esp + 0x130]
push ebp
mov ebp, dword [esp + 0x140]
push esi
mov esi, dword [esp + 0x140]
mov dword [esp + 0xc], eax
mov dword [ebp], 0
push edi
mov eax, dword [esi + 4]
mov edi, ecx
cmp eax, 0x51
jne 0x10016925
call fcn.10015dc0
mov al, 1
jmp 0x10016a6b
cmp eax, 0x319
jne 0x100169ec
movzx eax, word [esi + 0xe]
xor cl, cl
mov edx, eax
and edx, 0xfff
and eax, 0xf000
je 0x10016955
cmp eax, 0x8000
jne 0x10016963
xor bl, bl
mov al, bl
jmp 0x10016a6b
cmp edx, 7
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
movzx esi, word [esi + 0xc]
mov eax, dword [edi + 0xc]
and esi, 0xc
shl esi, 0x17
test eax, eax
cmovne ebx, eax
cmp edx, 0x34
ja 0x1001694c
mov edi, dword [edx*4 + 0x100d9e30]
test cl, cl
jne 0x100169b3
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push 1
push 0
push eax
push 0
push 0
push 0
push ecx
mov eax, esp
push edi
push ebx
mov dword [eax], esi
call fcn.10016530
add esp, 0x24
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0
push 0
push 0
lea eax, [edi + esi]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QKeySequence::constructor_int__int__int__int_]
mov eax, dword [sym.imp.Qt5Gui.dll_class_QGuiApplicationPrivate__QGuiApplicationPrivate::self]
mov ecx, dword [eax]
lea eax, [esp + 0x14]
add ecx, 0x70
push eax
call dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QShortcutMap::hasShortcutForKeySequence_class_QKeySequence_const__const]
lea ecx, [esp + 0x14]
mov bl, al
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QKeySequence::destructor_void_]
mov al, bl
jmp 0x10016a6b
cmp eax, 0x102
je 0x10016a1e
cmp eax, 0x286
je 0x10016a1e
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push dword [esi + 8]
movsx eax, word [esi + 0xe]
mov ecx, edi
and eax, 0x1ff
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10017870
push 0
push 0
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10016a45
cmp dword [esp + 0x1c], 0x103
je 0x1001691e
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x18]
push ebp
push 0
sub esp, 0x1c
mov ecx, esp
push ebx
movups xmmword [ecx], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
mov ecx, edi
call fcn.10016a90
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100d4904
add esp, 0x128
ret 0x10
Function at 0x10018160
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push 0x17
mov dword [esi], 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, eax
push 1
setne bl
call edi
test ax, ax
jns 0x1001818f
movzx eax, bl
inc eax
or dword [esi], eax
push 2
call edi
test ax, ax
jns 0x100181a1
movzx eax, bl
xor eax, 1
inc eax
or dword [esi], eax
push 4
call edi
test ax, ax
jns 0x100181ad
or dword [esi], 4
push 5
call edi
test ax, ax
jns 0x100181b9
or dword [esi], 8
push 6
call edi
test ax, ax
mov eax, esi
jns 0x100181c7
or dword [esi], 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x100181d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x54
mov eax, dword [0x1011a204]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
push esi
push edi
mov edi, dword [esp + 0x60]
push 1
push eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], eax
call fcn.100158a0
mov esi, eax
add esp, 8
test esi, esi
je 0x1001822a
mov edi, dword [sym.imp.Qt5Gui.dll_public:_class_QWindow____thiscall_QWindow::parent_void_const]
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QFlags_enum_Qt::WindowType____thiscall_QWindow::flags_void_]
test dword [eax], 0x80000
je 0x10018226
mov ecx, esi
call edi
mov esi, eax
test esi, esi
jne 0x10018207
mov edi, dword [esp + 0x44]
push esi
call fcn.10018040
add esp, 4
test al, al
jne 0x1001824a
push edi
mov esi, edi
call fcn.10018040
add esp, 4
test al, al
je 0x10018337
cmp dword [esp + 0x6c], 2
mov eax, dword [esp + 0x68]
jne 0x10018263
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
jmp 0x1001826f
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
mov edi, dword [esp + 0x40]
lea edx, [esp + 0x28]
lea eax, [esp + 0x30]
cmove eax, edx
push esi
movd xmm0, dword [edi]
cvtdq2pd xmm0, xmm0
mov dword [esp + 0x48], eax
movsd qword [esp + 0x1c], xmm0
movd xmm0, dword [edi + 4]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x24], xmm0
call fcn.10005d20
mov ecx, dword [edi]
add esp, 4
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x38]
push ecx
push eax
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edi, dword [esp + 0x40]
push edi
call fcn.100068e0
add esp, 4
test al, al
je 0x100182ec
lea eax, [esp + 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x38]
jmp 0x100182f0
mov eax, dword [esp + 0x38]
push 0
push 0
push dword [esp + 0x78]
movd xmm0, eax
mov eax, dword [esp + 0x50]
cvtdq2pd xmm0, xmm0
push dword [eax + 4]
movsd qword [esp + 0x18], xmm0
push dword [eax]
movd xmm0, dword [esp + 0x50]
lea eax, [esp + 0x2c]
push 0
push 0
cvtdq2pd xmm0, xmm0
push eax
lea eax, [esp + 0x28]
push eax
push esi
movsd qword [esp + 0x38], xmm0
call dword [sym.imp.Qt5Gui.dll_public:_static_bool___cdecl_QWindowSystemInterface::handleWheelEvent_class_QWindow___class_QPointF_const___class_QPointF_const___class_QPoint__class_QPoint__class_QFlags_enum_Qt::KeyboardModifier___enum_Qt::ScrollPhase__enum_Qt::MouseEventSource_]
add esp, 0x28
mov ecx, dword [esp + 0x58]
pop edi
pop esi
xor ecx, esp
call fcn.100d4904
add esp, 0x54
ret
Function at 0x10026410
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov ecx, dword [esp + 0x2c]
push ebx
push ebp
push esi
push edi
call dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QImage::width_void_const]
mov ecx, dword [esp + 0x3c]
mov esi, eax
mov dword [esp + 0x34], esi
call dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QImage::height_void_const]
cmp dword [esp + 0x44], 0
mov ebp, eax
mov dword [esp + 0x20], ebp
jge 0x10026449
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x44], eax
cmp dword [esp + 0x48], 0
jge 0x1002645b
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, esi
mov esi, 1
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, esi
cmovg esi, eax
mov dword [esp + 0x24], esi
imul esi, ebp
push esi
call fcn.100d4938
mov edi, eax
push esi
mov dword [esp + 0x38], edi
call fcn.100d4938
xor ebx, ebx
mov dword [esp + 0x1c], 0
add esp, 8
mov dword [esp + 0x1c], ebx
mov esi, eax
mov dword [esp + 0x2c], esi
test ebp, ebp
jle 0x1002656e
nop dword [eax + eax]
mov ecx, dword [esp + 0x3c]
push ebx
call dword [sym.imp.Qt5Gui.dll_public:_unsigned_char_const____thiscall_QImage::constScanLine_int_const]
mov ecx, dword [esp + 0x40]
push ebx
mov dword [esp + 0x14], eax
call dword [sym.imp.Qt5Gui.dll_public:_unsigned_char_const____thiscall_QImage::constScanLine_int_const]
mov edx, dword [esp + 0x24]
test edx, edx
jle 0x10026561
mov ebx, dword [esp + 0x14]
sub edi, esi
sub dword [esp + 0x10], eax
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x10]
lea ebp, [ebx + esi]
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x28]
add ebx, edx
mov dword [esp + 0x14], ebx
nop dword [eax]
mov cl, byte [eax]
lea ebp, [ebp + 1]
cmp byte [esp + 0x50], 0
lea eax, [eax + 1]
mov bl, byte [edi + eax - 1]
not cl
movzx ecx, cl
mov dword [esp + 0x10], ecx
movzx ecx, byte [eax - 1]
mov edx, dword [esp + 0x10]
cmove edx, ecx
cmp byte [esp + 0x4c], 0
mov dword [esp + 0x10], edx
mov cl, bl
not dl
not cl
mov byte [esi + ebp - 1], dl
movzx edx, cl
movzx ecx, bl
cmove edx, ecx
mov ecx, dword [esp + 0x10]
xor dl, cl
sub dword [esp + 0x18], 1
mov byte [ebp - 1], dl
jne 0x10026500
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
inc ebx
mov dword [esp + 0x1c], ebx
cmp ebx, ebp
jl 0x100264b0
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push edi
push dword [esp + 0x28]
push dword [esp + 0x40]
push ebx
push ebp
push eax
call dword [sym.imp.USER32.dll_CreateCursor]
push esi
mov ebx, eax
call fcn.100d4941
push edi
call fcn.100d4941
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x10027c90
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QPlatformInputContext::constructor_void_]
push str.MSIMEMouseOperation
mov dword [ebx], vtable.QWindowsInputContext.0
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [ebx + 8], eax
lea ecx, [ebx + 0x18]
mov byte [ebx + 0xc], 0
mov dword [ebx + 0x14], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov dword [ebx + 0x1c], 0
mov byte [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
push 0
mov byte [ebx + 0x2c], 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx eax, ax
push eax
mov dword [ebx + 0x30], eax
lea eax, [ebx + 0x34]
push eax
call dword [sym.imp.Qt5Core.dll_class_QLocale___cdecl_qt_localeFromLCID_unsigned_long_int_]
add esp, 8
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 1
push 1
push 2
push 2
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov dword [ebx + 0x10], eax
mov eax, dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QInputMethod::cursorRectangleChanged_void_]
mov dword [esp + 0xc], fcn.10028450
mov dword [esp + 0x14], eax
call dword [sym.imp.Qt5Gui.dll_public:_static_class_QInputMethod____cdecl_QGuiApplication::inputMethod_void_]
mov esi, dword [sym.imp.Qt5Gui.dll_struct_QMetaObject_const_QInputMethod::staticMetaObject]
mov edi, eax
push 0xc
call fcn.100d42ee
mov ecx, dword [esp + 0x10]
push esi
push 0
push 0
push eax
mov dword [eax], 1
mov dword [eax + 4], 0x10028ad0
mov dword [eax + 8], ecx
lea eax, [esp + 0x20]
push eax
push ebx
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x38]
push edi
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
add esp, 0x28
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x100287f0
Capabilities:
Log keystrokes via input method manager

Disassembly:
sub esp, 0x104
mov eax, dword [0x1011a204]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x108]
lea ecx, [esp]
push esi
mov esi, dword [esp + 0x110]
push edi
mov edi, dword [esp + 0x118]
push 0x100
push ecx
push 0x10
mov dword [edi], 0
push eax
mov dword [esi], 0
call sub.IMM32.dll_ImmGetCompositionStringW
mov edx, eax
test edx, edx
je 0x10028884
xor ecx, ecx
test edx, edx
jle 0x10028884
test byte [esp + ecx + 8], 1
jne 0x10028867
inc ecx
cmp ecx, edx
jl 0x10028844
pop edi
pop esi
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.100d4904
add esp, 0x104
ret
cmp ecx, edx
jge 0x10028884
lea eax, [ecx + 1]
cmp eax, edx
jge 0x1002887e
test byte [esp + eax + 8], 1
je 0x1002887e
inc eax
cmp eax, edx
jl 0x10028872
sub eax, ecx
mov dword [esi], ecx
mov dword [edi], eax
mov ecx, dword [esp + 0x108]
pop edi
pop esi
xor ecx, esp
call fcn.100d4904
add esp, 0x104
ret
Function at 0x10033704
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 0x5c]
mov eax, dword [esi + 0x24]
lea edi, [esi + 0x24]
xor ecx, ecx
mov edx, 2
mov ebx, dword [eax + 4]
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100d4938
add esp, 4
mov esi, eax
mov ecx, edi
push esi
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QString::toWCharArray_wchar_t__const]
xor eax, eax
mov word [esi + ebx*2], ax
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push 0x100356f0
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
call fcn.100d4941
add esp, 4
call fcn.1000f8c0
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QLoggingCategory::isDebugEnabled_void_const]
test al, al
je 0x100337e2
call fcn.1000f8c0
lea ecx, [esp + 0x1c]
push dword [eax + 4]
push 0
push 0
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const___char_const__]
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push str.QWindowsNativeFileDialogBase::close
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
push str.closing
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
push esi
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___void_const__]
lea ecx, [esp + 0xc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
test esi, esi
je 0x100337fe
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100337fe
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x10045fe0
Capabilities:
Check for debugger via api

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100460b7
push eax
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
je 0x10046022
push 0
push 0
push 0
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
push str.Cowardly_refusing_to_send_clipboard_message_to_hung_application...
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const__const]
add esp, 8
pop esi
add esp, 0x1c
ret 0xc
push edi
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1004607e
mov eax, dword [esp + 8]
test eax, eax
je 0x1004607e
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x100460a1
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xc], 0
setne al
jmp 0x10046080
xor al, al
test al, al
je 0x100460a1
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
add esp, 0x1c
ret 0xc
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
add esp, 0x1c
ret 0xc
Function at 0x10076e20
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x190
mov eax, dword [0x1011a204]
xor eax, esp
mov dword [esp + 0x18c], eax
push esi
push edi
mov edi, dword [esp + 0x19c]
push str.FREETYPE_PROPERTIES
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov esi, eax
add esp, 4
test esi, esi
je 0x1007705d
mov al, byte [esi]
test al, al
je 0x1007705d
nop
cmp al, 0x20
je 0x10077051
cmp al, 9
je 0x10077051
mov edx, esi
xor eax, eax
mov cl, byte [esi]
test cl, cl
je 0x10076ed7
cmp cl, 0x3a
je 0x10076ed7
inc esi
mov byte [esp + eax + 0x110], cl
mov cl, byte [esi]
test cl, cl
je 0x10076ed6
cmp cl, 0x3a
je 0x10076ed6
inc esi
mov byte [esp + eax + 0x111], cl
mov cl, byte [esi]
test cl, cl
je 0x10076ed1
cmp cl, 0x3a
je 0x10076ed1
inc esi
mov byte [esp + eax + 0x112], cl
mov cl, byte [esi]
test cl, cl
je 0x10076ecc
cmp cl, 0x3a
je 0x10076ecc
mov byte [esp + eax + 0x113], cl
inc esi
add eax, 4
cmp eax, 0x80
jl 0x10076e74
jmp 0x10076ed7
add eax, 3
jmp 0x10076ed7
add eax, 2
jmp 0x10076ed7
inc eax
cmp eax, 0x81
jae 0x10077074
mov byte [esp + eax + 0x110], 0
mov al, byte [esi]
test al, al
je 0x1007705d
cmp al, 0x3a
jne 0x1007705d
cmp esi, edx
je 0x1007705d
inc esi
xor eax, eax
mov edx, esi
nop dword [eax]
mov cl, byte [esi]
test cl, cl
je 0x10076f73
cmp cl, 0x3d
je 0x10076f73
inc esi
mov byte [esp + eax + 0x8c], cl
mov cl, byte [esi]
test cl, cl
je 0x10076f72
cmp cl, 0x3d
je 0x10076f72
inc esi
mov byte [esp + eax + 0x8d], cl
mov cl, byte [esi]
test cl, cl
je 0x10076f6d
cmp cl, 0x3d
je 0x10076f6d
inc esi
mov byte [esp + eax + 0x8e], cl
mov cl, byte [esi]
test cl, cl
je 0x10076f68
cmp cl, 0x3d
je 0x10076f68
mov byte [esp + eax + 0x8f], cl
inc esi
add eax, 4
cmp eax, 0x80
jl 0x10076f10
jmp 0x10076f73
add eax, 3
jmp 0x10076f73
add eax, 2
jmp 0x10076f73
inc eax
cmp eax, 0x81
jae 0x10077074
mov byte [esp + eax + 0x8c], 0
mov al, byte [esi]
test al, al
je 0x1007705d
cmp al, 0x3d
jne 0x1007705d
cmp esi, edx
je 0x1007705d
inc esi
xor eax, eax
mov edx, esi
mov cl, byte [esi]
test cl, cl
je 0x10077010
cmp cl, 0x20
je 0x10077010
cmp cl, 9
je 0x10077010
inc esi
mov byte [esp + eax + 8], cl
mov cl, byte [esi]
test cl, cl
je 0x1007700f
cmp cl, 0x20
je 0x1007700f
cmp cl, 9
je 0x1007700f
inc esi
mov byte [esp + eax + 9], cl
mov cl, byte [esi]
test cl, cl
je 0x1007700a
cmp cl, 0x20
je 0x1007700a
cmp cl, 9
je 0x1007700a
inc esi
mov byte [esp + eax + 0xa], cl
mov cl, byte [esi]
test cl, cl
je 0x10077005
cmp cl, 0x20
je 0x10077005
cmp cl, 9
je 0x10077005
mov byte [esp + eax + 0xb], cl
inc esi
add eax, 4
cmp eax, 0x80
jl 0x10076fa5
jmp 0x10077010
add eax, 3
jmp 0x10077010
add eax, 2
jmp 0x10077010
inc eax
cmp eax, 0x81
jae 0x10077074
mov byte [esp + eax + 8], 0
mov al, byte [esi]
test al, al
je 0x1007702a
cmp al, 0x20
je 0x1007702a
cmp al, 9
jne 0x1007705d
cmp esi, edx
je 0x1007705d
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x118]
push eax
push edi
call fcn.100757b0
add esp, 0x10
cmp byte [esi], 0
je 0x1007705d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10076e60
mov ecx, dword [esp + 0x194]
pop edi
pop esi
xor ecx, esp
call fcn.100d4904
add esp, 0x190
ret
call fcn.100d52e9
int3
Function at 0x100a0d1f
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x100a0d5a
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x100a0d41
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x100a0d52
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x100a0d5c
inc edi
add eax, 0x28
cmp edi, esi
jb 0x100a0d37
xor eax, eax
pop edi
pop esi
ret

Function at 0x100c5740
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x100c5760
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x100c5760
mov eax, dword [eax + 0x44]
test eax, eax
je 0x100c5760
push dword [esp + 8]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x402ff8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x494020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403090
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403070
xor eax, eax
push ebp
push 0x403069
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4030ac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403070
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x494020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x494020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403d78
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49804c], 0
je 0x403dd9
cmp word [0x498220], 0xd7b2
jne 0x403da1
cmp dword [0x498228], 0
jbe 0x403da1
mov eax, 0x49821c
call dword [0x498238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x49406c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403e00
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x494030], 0
jne 0x403df5
push 0
push 0x494064
push 0x49406c
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret

Function at 0x403f2c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026ec
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49804d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403ef4
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread_1
pop edi
pop esi
pop ebx
pop ebp
ret 0xc