joyce8/EMBER2024-capa huggingface dataset:
Function at 0x650453f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebp
mov ebp, ecx
mov edx, dword [ebp]
and dword [ebp + 0x24], 0xfffffffd
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x6501b26a
mov eax, dword [eax + 4]
jmp 0x6501b26c
xor eax, eax
test edx, edx
je 0x6501b2a5
test eax, eax
je 0x6501b2a5
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 4]
mov eax, ecx
shr eax, 0xb
test al, 1
je 0x6501b2a5
shr ecx, 0xf
test cl, 1
je 0x6501b2a5
mov ecx, ebp
call fcn.6501b360
test al, al
je 0x6501b354
mov ecx, ebp
pop ebp
add esp, 4
jmp fcn.65017970
mov eax, dword [edx + 0x14]
mov eax, dword [eax + 4]
shr eax, 0xf
test al, 1
jne 0x6501b354
push ebx
push esi
lea ecx, [esp + 0xc]
call dword [0x652ba25c]
push eax
lea ecx, [ebp + 8]
call dword [0x652ba24c]
lea ecx, [esp + 0xc]
call dword [0x652ba254]
mov eax, dword [ebp + 0x10]
xor esi, esi
cmp dword [eax + 4], esi
jle 0x6501b346
push edi
mov ecx, dword [ebp + 0x10]
call dword [0x652b865c]
mov edi, dword [eax + esi*4]
lea eax, [eax + esi*4]
test edi, edi
je 0x6501b33c
mov eax, dword [edi + 4]
lea ecx, [esp + 0x10]
and dword [eax + 0x110], 0xfff7ffff
mov eax, dword [edi + 4]
and dword [eax + 0x110], 0xffefffff
mov eax, dword [edi + 4]
and dword [eax + 0x110], 0xffdfffff
mov edi, dword [edi + 4]
call dword [0x652ba25c]
push eax
lea ecx, [edi + 0x74]
call dword [0x652ba24c]
lea ecx, [esp + 0x10]
call dword [0x652ba254]
mov eax, dword [ebp + 0x10]
inc esi
cmp esi, dword [eax + 4]
jl 0x6501b2e1
pop edi
lea ecx, [ebp + 0x10]
call fcn.651e8150
and dword [ebp + 0x24], 0xfffffffe
pop esi
pop ebx
pop ebp
pop ecx
ret
push ecx
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 4]
shr eax, 8
test al, 1
jne 0x65045440
test byte [edx + 8], 1
jne 0x6504541c
call sym.Qt5Widgets.dll_public:_class_QWidget____thiscall_QWidget::topLevelWidget_void_const
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
shr eax, 8
test al, 1
jne 0x65045440
cmp byte [0x654080a0], 0
sete al
test al, al
jne 0x65045440
mov ecx, edi
call sym.Qt5Widgets.dll_public:_class_QWidgetBackingStore____thiscall_QWidgetPrivate::maybeBackingStore_void_const
test eax, eax
je 0x6504546a
mov ecx, eax
pop edi
add esp, 4
jmp 0x6501b250
push esi
lea esi, [edi + 0x74]
mov ecx, edi
push esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidgetPrivate::repaint_sys_class_QRegion_const__
lea ecx, [esp + 8]
call dword [0x652ba25c]
push eax
mov ecx, esi
call dword [0x652ba24c]
lea ecx, [esp + 8]
call dword [0x652ba254]
pop esi
pop edi
pop ecx
ret
Function at 0x65062b30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x654085d0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push esi
mov esi, dword [esp + 0x34]
mov ebx, 4
push edi
mov edi, ecx
mov dword [esp + 0x10], 0x310030
mov dword [esp + 0x14], 0x330032
mov dword [esp + 0x18], 0x350034
mov dword [esp + 0x1c], 0x370036
mov dword [esp + 0x20], 0x390038
mov dword [esp + 0x24], 0x620061
mov dword [esp + 0x28], 0x640063
mov dword [esp + 0x2c], 0x660065
lea esp, [esp]
movsx eax, byte [edi]
lea ecx, [esp + 0xe]
and eax, 0xf
movzx eax, word [esp + eax*2 + 0x10]
push eax
call dword [0x652b7f84]
mov ecx, dword [esi]
movzx eax, word [esp + 0xe]
mov word [ecx], ax
lea ecx, [esp + 0xc]
add dword [esi], 2
movzx eax, byte [edi]
shr eax, 4
movzx eax, word [esp + eax*2 + 0x10]
push eax
call dword [0x652b7f84]
mov ecx, dword [esi]
lea edi, [edi + 1]
movzx eax, word [esp + 0xc]
mov word [ecx], ax
add dword [esi], 2
dec ebx
jne 0x65062b90
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.652b52e0
add esp, 0x28
ret 4

Function at 0x65062bf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x654085d0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push esi
mov esi, dword [esp + 0x34]
mov ebx, 8
push edi
mov edi, ecx
mov dword [esp + 0x10], 0x310030
mov dword [esp + 0x14], 0x330032
mov dword [esp + 0x18], 0x350034
mov dword [esp + 0x1c], 0x370036
mov dword [esp + 0x20], 0x390038
mov dword [esp + 0x24], 0x620061
mov dword [esp + 0x28], 0x640063
mov dword [esp + 0x2c], 0x660065
lea esp, [esp]
movsx eax, byte [edi]
lea ecx, [esp + 0xe]
and eax, 0xf
movzx eax, word [esp + eax*2 + 0x10]
push eax
call dword [0x652b7f84]
mov ecx, dword [esi]
movzx eax, word [esp + 0xe]
mov word [ecx], ax
lea ecx, [esp + 0xc]
add dword [esi], 2
movzx eax, byte [edi]
shr eax, 4
movzx eax, word [esp + eax*2 + 0x10]
push eax
call dword [0x652b7f84]
mov ecx, dword [esi]
lea edi, [edi + 1]
movzx eax, word [esp + 0xc]
mov word [ecx], ax
add dword [esi], 2
dec ebx
jne 0x65062c50
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.652b52e0
add esp, 0x28
ret 4
Function at 0x6515ed00
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push ebx
push esi
push edi
movdqu xmm0, xmmword [eax]
mov edi, ecx
lea ecx, [esp + 0xc]
push 0
push 0
movdqu xmmword [esp + 0x24], xmm0
mov esi, dword [edi + 4]
call dword [0x652b854c]
push eax
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QWidget::mapToGlobal_class_QPoint_const__
push eax
lea ecx, [esp + 0x20]
call dword [0x652b8138]
mov esi, dword [edi + 4]
mov ecx, esi
mov eax, dword [esi + 0x14]
mov bl, byte [eax + 6]
mov bh, byte [eax + 8]
not bl
and bl, 1
and bh, 1
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::hide_void_
mov ecx, dword [edi + 4]
push 0xc0b
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::setWindowFlags_class_QFlags_enum_Qt::WindowType__
cmp bh, 1
je 0x6515ed77
mov ecx, dword [edi + 0x130]
call fcn.6515f370
lea ecx, [esp + 0x1c]
call dword [0x652b823c]
test al, al
jne 0x6515ed91
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::setGeometry_class_QRect_const__
test bl, bl
je 0x6515ed9c
mov ecx, esi
call sym.Qt5Widgets.dll_public:_void___thiscall_QWidget::show_void_
cmp bh, 1
je 0x6515edcc
lea eax, [esp + 0x30]
mov byte [esp + 0x30], 1
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push 6
push sym.Qt5Widgets.dll_struct_QMetaObject_const_QToolBar::staticMetaObject
push esi
mov dword [esp + 0x1c], 0
call dword [0x652b85f4]
add esp, 0x10
mov ecx, dword [edi + 0x130]
push 0
call fcn.65160b30
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4
Function at 0x65178cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x24]
test dl, 0x34
jne 0x65178eae
mov ebx, dword [edi + 0x78]
mov ebp, dword [edi + 0x74]
cmp ebp, dword [ebx + 4]
jge 0x65178eae
mov eax, dword [edi + 0x80]
xor ecx, ecx
cmp eax, dword [edi + 0x7c]
mov dword [edi + 0x80], 0
setg cl
mov dword [edi + 0x7c], 0
shl ecx, 7
or ecx, edx
xor ecx, edx
and ecx, 0x80
xor ecx, edx
mov dword [edi + 0x24], ecx
cmp ebp, dword [ebx + 4]
jge 0x65178e9f
jmp 0x65178d50
mov ebx, dword [edi + 0x74]
lea eax, [ebx + 1]
mov dword [edi + 0x74], eax
mov ecx, dword [edi + 0x78]
mov eax, dword [ecx]
cmp eax, 1
je 0x65178da6
test eax, eax
je 0x65178da6
test dword [ecx + 8], 0x7fffffff
jne 0x65178d86
push 2
push 0
push 4
push 0x14
call dword [0x652b8658]
add esp, 0x10
mov dword [edi + 0x78], eax
jmp 0x65178da6
push ecx
mov eax, esp
mov dword [eax], 0
mov ecx, dword [edi + 0x78]
mov eax, dword [ecx + 8]
and eax, 0x7fffffff
push eax
push dword [ecx + 4]
lea ecx, [edi + 0x78]
call fcn.6517ba10
mov ecx, dword [edi + 0x78]
call dword [0x652b865c]
lea ecx, [ebx + ebx*4]
lea ebx, [eax + ecx*4]
mov eax, dword [ebx]
and eax, 0xf
cmp eax, 6
ja case.default.0x65178dbf
jmp dword [eax*4 + 0x65178eb4]
movzx eax, word [ebx + 4]
lea ecx, [edi + 8]
push eax
push dword [ebx + 8]
call dword [0x652b7afc]
mov eax, dword [ebx + 8]
inc eax
jmp 0x65178dfd
push 1
push dword [ebx + 8]
lea ecx, [edi + 8]
call dword [0x652b861c]
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x7c], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x80], eax
mov eax, dword [ebx + 8]
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x78]
mov ebp, dword [edi + 0x74]
cmp ebp, dword [eax + 4]
jge 0x65178e90
mov ecx, eax
mov eax, dword [ecx]
cmp eax, 1
je 0x65178e5b
test eax, eax
je 0x65178e5b
test dword [ecx + 8], 0x7fffffff
jne 0x65178e3b
push 2
push 0
push 4
push 0x14
call dword [0x652b8658]
add esp, 0x10
mov dword [edi + 0x78], eax
jmp 0x65178e5b
push ecx
mov eax, esp
mov dword [eax], 0
mov ecx, dword [edi + 0x78]
mov eax, dword [ecx + 8]
and eax, 0x7fffffff
push eax
push dword [ecx + 4]
lea ecx, [edi + 0x78]
call fcn.6517ba10
mov ecx, dword [edi + 0x78]
call dword [0x652b865c]
lea ecx, [ebp*4]
add ecx, ebp
lea eax, [eax + ecx*4]
mov ecx, dword [ebx]
mov eax, dword [eax]
and ecx, 0xf
and eax, 0xf
cmp eax, ecx
je 0x65178e90
cmp ecx, 4
jae 0x65178e90
test eax, eax
je 0x65178e90
cmp eax, 4
jb 0x65178e9f
test ecx, ecx
je 0x65178e9f
mov ecx, dword [edi + 0x78]
mov eax, dword [edi + 0x74]
cmp eax, dword [ecx + 4]
jl 0x65178d50
or dword [edi + 0x24], 0x40
mov ecx, edi
pop edi
pop esi
pop ebp
pop ebx
jmp sym.Qt5Widgets.dll_private:_void___thiscall_QWidgetLineControl::emitCursorPositionChanged_void_
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x6519ec70
Capabilities:
Get disk information

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push esi
push 3
push eax
call dword [0x652b7f24]
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
call dword [0x652b7e9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov esi, dword [esp + 8]
or ecx, 0xffffffff
test eax, eax
cmove esi, ecx
lea ecx, [esp + 4]
call dword [0x652b8638]
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x651b7310
Capabilities:
Get disk information

Disassembly:
sub esp, 0x230
mov eax, dword [0x654085d0]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
mov ebx, dword [esp + 0x238]
push ebp
mov ebp, dword [esp + 0x244]
push esi
push edi
mov edi, dword [esp + 0x248]
push 0x20
call fcn.652b5178
mov esi, eax
add esp, 4
test esi, esi
je 0x651b7388
push edi
mov ecx, esi
call dword [0x652b863c]
lea ecx, [esi + 4]
call dword [0x652b8640]
mov word [esi + 8], 0
mov eax, dword [0x652b8450]
mov dword [esi + 0xc], eax
mov eax, dword [0x652b845c]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 0
jmp 0x651b738a
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], esi
call dword [0x652b8640]
lea ecx, [esp + 0x1c]
call dword [0x652ba1a8]
push ebp
lea ecx, [esp + 0x24]
call dword [0x652b7638]
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.651bb180
lea ecx, [esp + 0x20]
call dword [0x652b80ac]
lea ecx, [esp + 0x1c]
call dword [0x652ba19c]
lea ecx, [esp + 0x18]
call dword [0x652b8638]
mov ecx, ebx
call dword [0x652b8628]
test al, al
je 0x651b748e
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 1
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], 0x652eb7ec
push eax
mov dword [esp + 0x1c], edi
call fcn.6502fe60
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call dword [0x652b81e8]
lea ecx, [esp + 0x10]
call dword [0x652b8638]
push 0
push 0
push 0
push 0
push 0
push 0x105
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x30]
call dword [0x652b7e9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x651b7484
cmp word [esp + 0x30], 0
je 0x651b7484
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call dword [0x652b7e98]
add esp, 0xc
lea ecx, [esi + 4]
push eax
call dword [0x652b8630]
lea ecx, [esp + 0x10]
call dword [0x652b8638]
lea ecx, [esp + 0x14]
call dword [0x652b8638]
lea eax, [esp + 0x24]
push eax
push edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebx + 0xc]
call fcn.651b98c0
mov ecx, dword [esp + 0x23c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.652b52e0
add esp, 0x230
ret 0xc
Function at 0x651edac0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx + 0x358]
push ebx
push esi
lea esi, [ecx + 0x358]
mov ecx, dword [eax]
push edi
cmp ecx, 1
je 0x651edb16
test ecx, ecx
je 0x651edb16
test dword [eax + 8], 0x7fffffff
jne 0x651edaf8
push 2
push 0
push 4
push 8
call dword [0x652b8658]
add esp, 0x10
mov dword [esi], eax
jmp 0x651edb16
push ecx
mov eax, esp
mov dword [eax], 0
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
and eax, 0x7fffffff
push eax
push dword [ecx + 4]
mov ecx, esi
call fcn.65231870
mov ecx, dword [esi]
call dword [0x652b865c]
mov edi, dword [esp + 0x10]
mov ebx, eax
mov ecx, edi
xor esi, esi
call dword [0x652b7468]
test eax, eax
jle 0x651edb59
push esi
mov ecx, edi
call dword [0x652b7464]
movzx eax, al
mov ecx, edi
shl eax, 0x14
xor eax, dword [ebx + esi*8]
and eax, 0x100000
xor dword [ebx + esi*8], eax
inc esi
call dword [0x652b7468]
cmp esi, eax
jl 0x651edb32
pop edi
pop esi
pop ebx
ret 4
Function at 0x652a5940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
mov ebx, dword [esp + 0x7c]
mov ecx, ebx
push ebp
push esi
push edi
call dword [0x652b859c]
add eax, 0xfffffffe
cmp eax, 0x9b
ja case.0x652a5968.4
movzx eax, byte [eax + 0x652a5b2c]
jmp dword [eax*4 + 0x652a5b20]
push 0x60
call fcn.652b5178
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x652a5a09
push 0
push 0
lea ecx, [esp + 0x2c]
call dword [0x652b854c]
push eax
lea ecx, [esp + 0x48]
call dword [0x652b835c]
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call dword [0x652ba0fc]
mov edi, eax
mov ecx, ebx
lea eax, [esp + 0x18]
push eax
call dword [0x652ba0c4]
mov ecx, ebx
mov esi, eax
call dword [0x652ba0c0]
push eax
push dword [edi]
mov ecx, ebx
push dword [esi]
call dword [0x652ba0c8]
push eax
mov ecx, ebx
call dword [0x652ba0cc]
push eax
mov ecx, ebx
call dword [0x652ba0d0]
push eax
lea eax, [esp + 0x5c]
mov ecx, ebx
push eax
call dword [0x652b859c]
push eax
mov ecx, ebp
call dword [0x652ba0e4]
pop edi
pop esi
mov dword [ebp], vtable.QMouseEvent.0
mov eax, ebp
pop ebp
pop ebx
add esp, 0x74
ret
pop edi
xor ebp, ebp
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x74
ret
mov ecx, ebx
call dword [0x652b859c]
cmp eax, 0x9c
jne 0x652a5a2b
mov ebp, 2
jmp 0x652a5a4a
mov ecx, ebx
call dword [0x652b859c]
xor ecx, ecx
cmp eax, 0x9d
setne cl
lea ecx, [ecx*2 + 3]
mov dword [esp + 0x10], ecx
mov ebp, ecx
push 0x60
call fcn.652b5178
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x652a5b08
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
call sym.Qt5Widgets.dll_public:_class_QPoint___thiscall_QGraphicsSceneContextMenuEvent::screenPos_void_
push eax
lea ecx, [esp + 0x58]
call dword [0x652b835c]
push 0
push 0
lea ecx, [esp + 0x3c]
call dword [0x652b854c]
push eax
lea ecx, [esp + 0x68]
call dword [0x652b835c]
push 0
push 0
lea ecx, [esp + 0x44]
call dword [0x652b854c]
push eax
lea ecx, [esp + 0x78]
call dword [0x652b835c]
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call sym.Qt5Widgets.dll_public:_class_QFlags_enum_Qt::KeyboardModifier____thiscall_QGraphicsSceneMouseEvent::modifiers_void_
mov edi, eax
mov ecx, ebx
lea eax, [esp + 0x20]
push eax
call sym.Qt5Widgets.dll_public:_class_QFlags_enum_Qt::MouseButton____thiscall_QGraphicsSceneMouseEvent::buttons_void_
mov ecx, ebx
mov esi, eax
call sym.Qt5Widgets.dll_public:_enum_Qt::MouseEventSource___thiscall_QGraphicsSceneMouseEvent::source_void_
push eax
push dword [edi]
mov ecx, ebx
push dword [esi]
call sym.Qt5Widgets.dll_public:_enum_Qt::MouseButton___thiscall_QGraphicsSceneMouseEvent::button_void_
mov esi, dword [esp + 0x1c]
mov ecx, esi
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x8c]
push eax
push ebp
call dword [0x652ba0e4]
pop edi
mov dword [esi], vtable.QMouseEvent.0
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x74
ret
Function at 0x401870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [ebx + 0x14]
push edi
mov edi, ecx
mov esi, dword [edi + 0xbc]
mov ecx, dword [edi + 0x1c]
add esi, edi
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0xc], eax
mov eax, 0x100
mov dword [esi + 0x10], 1
test word [edi + 0x94], ax
jne 0x4018ae
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov eax, dword [edi + 0x78]
test al, 4
je 0x4018c2
test byte [ecx + 0x3a], 1
je 0x4018e2
and eax, 0xfffffffb
mov dword [edi + 0x78], eax
or dword [esi + 0x10], 0x200
test byte [ecx + 0x3a], 2
je 0x4018e2
mov eax, dword [ecx + 0x46]
or dword [esi + 0x10], 0x400
mov dword [esi + 0x14], eax
test dword [edi + 0x78], 0x400
je 0x4018f2
or dword [esi + 0x10], 0x4000
test byte [ecx + 0x3a], 4
je 0x4018ff
or dword [esi + 0x10], 0x100
test byte [ebx + 6], 2
mov edx, 1
je 0x401927
or dword [esi + 0x10], 0x80
mov word [esi + 0x20], dx
cmp word [edi + 0x18], 3
jne 0x40192c
mov eax, 0x2000
or word [edi + 0x7c], ax
jmp 0x40192c
or word [esi + 0x20], 0x20
mov eax, dword [ecx + 0x3c]
mov dword [esi + 0x18], eax
cmp word [esi + 0x18], 0xd
mov eax, dword [ecx + 0x40]
mov dword [esi + 0x1c], eax
jne 0x401993
movsx edx, word [ecx]
mov ecx, dword [0x4b39cc]
cmp edx, dword [ecx + 0x194]
jge 0x401989
mov eax, dword [ecx + 0x198]
movzx eax, word [eax + edx*2]
mov dword [ecx + 0x1a0], eax
mov eax, dword [0x4b39cc]
mov ecx, dword [eax + 0x1a0]
mov eax, dword [eax + 0x19c]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x401989
mov ecx, dword [edx + 0x24]
test ecx, ecx
je 0x401989
mov edx, dword [edx + 0xc]
call fcn.00434d90
jmp 0x40198b
xor eax, eax
mov dword [esi + 0x1c], eax
mov edx, 1
cmp dword [edi + 0xcc], 0
jne 0x4019a5
or word [esi + 0x20], 2
or dword [esi + 0x10], 8
mov cx, word [esi + 0x10]
pop edi
mov word [esi + 0x22], cx
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x4032e0
Capabilities:
Get geographical location

Disassembly:
push esi
mov esi, ecx
xor eax, eax
mov word [esi], ax
test edx, edx
je 0x40336e
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push eax
push eax
movzx ebx, dx
push 0x59
push ebx
call edi
cmp eax, 0x63
jge 0x40336c
push eax
push esi
push 0x59
push ebx
call edi
lea edi, [esi - 2]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x403311
mov eax, dword [0x491d68]
mov dword [edi], eax
mov edi, esi
lea ecx, [edi + 2]
lea esp, [esp]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x403330
push 0
push 0
push 0x5a
sub edi, ecx
push ebx
sar edi, 1
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, 0x63
sub ecx, edi
cmp eax, ecx
jge 0x403367
push eax
lea eax, [esi + edi*2]
push eax
push 0x5a
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x40336c
xor eax, eax
mov word [esi], ax
pop edi
pop ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x403371
sub esi, ecx
sar esi, 1
mov eax, esi
pop esi
ret
Function at 0x404a10
Capabilities:
Check os version
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a830
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4ae008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x404ad3
cmp dword [ebp - 0x118], 2
jne 0x404ad3
mov eax, dword [ebp - 0x124]
cmp eax, 6
ja 0x404a7b
jne 0x404ad3
cmp dword [ebp - 0x120], 1
jbe 0x404ad3
push 0x491d6c
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x404ad3
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmDisableIME
push esi
call ebx
mov edi, eax
test edi, edi
je 0x404acc
push str.ImmIsIME
push esi
call ebx
mov ebx, eax
test ebx, ebx
je 0x404ac8
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
test eax, eax
je 0x404ac8
push eax
call ebx
test eax, eax
je 0x404acc
push 0xffffffffffffffff
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046d3f6
mov esp, ebp
pop ebp
ret
Function at 0x407770
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea edx, [ecx + 2]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407780
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 4]
push eax
call fcn.0046dc54
mov ebx, eax
add esp, 8
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x407840
mov ecx, ebx
sub ecx, esi
mov edi, edi
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x4077b0
push 0x5c
push ebx
call fcn.0046f4ef
add esp, 8
test eax, eax
je 0x4077d4
xor ecx, ecx
mov word [eax + 2], cx
cmp word [ebx], 0x5c
jne 0x4077fd
cmp word [ebx + 2], 0x5c
jne 0x4077fd
lea eax, [ebx + 4]
push 0x5c
push eax
call fcn.0046f595
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x407820
push 0x5c
lea eax, [ebx + 2]
push eax
jmp 0x407816
cmp word [ebx + 2], 0x3a
jne 0x407813
cmp word [ebx + 4], 0x5c
jne 0x407813
push 0x5c
lea eax, [ebx + 6]
push eax
jmp 0x407816
push 0x5c
push ebx
call fcn.0046f595
add esp, 8
mov ebx, eax
push 2
push 0x104
call fcn.0046dc54
mov esi, eax
add esp, 8
test esi, esi
jne 0x40784a
push dword [ebp - 4]
call fcn.0046d497
add esp, 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
test ebx, ebx
je 0x4078b7
mov eax, ebx
sub eax, ecx
sar eax, 1
push eax
push ecx
push esi
call fcn.0046f643
push esi
call fcn.0046f686
add esp, 0x10
test eax, eax
je 0x407893
push esi
call fcn.0046f7a3
add esp, 4
test eax, eax
je 0x407880
mov edi, 1
jmp 0x407893
push esi
call fcn.0046f686
add esp, 4
test eax, eax
mov eax, 1
cmovne edi, eax
lea eax, [ebx + 2]
push 0x5c
push eax
mov dword [ebp - 8], ebx
call fcn.0046f595
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40792b
mov ecx, dword [ebp - 8]
test edi, edi
je 0x407851
jmp 0x40792b
mov edx, esi
sub edx, dword [ebp - 4]
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4078c0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4078d4
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x4078f7
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x4078f7
xor eax, eax
mov word [esi + ecx*2 - 2], ax
push esi
call fcn.0046f686
add esp, 4
test eax, eax
je 0x40792b
push esi
call fcn.0046f7a3
add esp, 4
test eax, eax
je 0x407918
mov edi, 1
jmp 0x40792b
push esi
call fcn.0046f686
add esp, 4
mov ecx, 1
test eax, eax
cmovne edi, ecx
push esi
call fcn.0046d497
push dword [ebp - 4]
call fcn.0046d497
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407950
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40797f
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x26
neg eax
sbb eax, eax
add eax, 0x40000002
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
cmp ecx, 0xffffffff
jne 0x407990
mov eax, 0x40000001
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp ecx, dword [ebp + 8]
mov edx, 0x40000002
cmovne eax, edx
mov esp, ebp
pop ebp
ret