joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x57af80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov byte [eax], 0
mov ecx, dword [ebp + 0x14]
mov dword [edx], 0xffffffff
mov dword [ebp - 0x10], eax
push edi
mov dword [ecx], 0
mov edi, 0xbfd80
mov eax, dword [esi + 0x24]
mov dword [ebp - 0xc], edx
add eax, 0xffffffe7
xor edx, edx
mov ebx, dword [ebp + 8]
div edi
mov dword [ebp - 8], ecx
mov edi, eax
shl edi, 7
cmp edx, 0x80
jbe 0x446ba7
lea ecx, [edx - 0x80]
mov eax, 0xaad56003
mul ecx
mov ecx, dword [ebp - 8]
shr edx, 0xc
add edi, edx
cmp ebx, edi
jb 0x446bb6
mov dword [ecx], 1
jmp 0x446c6a
mov edi, ebx
shr edi, 7
cmp dword [esi + 0x44], edi
je 0x446c45
imul eax, edi, 0xbfd80
push 0
push 0
add eax, 0x19
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x446bfb
pop edi
mov dword [esi + 0x28], 0xa
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret 0x10
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x80
lea eax, [esi + 0x48]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x446c39
pop edi
mov dword [esi + 0x28], 5
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp - 8], 0x80
jne 0x446c1d
mov dword [esi + 0x44], edi
and ebx, 0x7f
imul eax, edi, 0xbfd80
imul ecx, ebx, 0x17fa
add ecx, 0x99
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
mov al, byte [ebx + esi + 0x48]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004df262
mov esp, ebp
pop ebp
ret 0x10
Function at 0x446dc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x57af80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
push 0x17fa
push 0
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], edi
call sub.MSVCR120.dll_memset
mov dword [ebx], 0xffffffff
add esp, 0xc
mov dword [edi], 0
mov ebx, dword [esi + 0x20]
xor edx, edx
mov dword [edi], 0
mov ecx, 0xbfd80
mov eax, dword [esi + 0x24]
add eax, 0xffffffe7
div ecx
mov edi, eax
shl edi, 7
cmp edx, 0x80
jbe 0x446e37
lea ecx, [edx - 0x80]
mov eax, 0xaad56003
mul ecx
shr edx, 0xc
add edi, edx
cmp ebx, edi
jae 0x446f62
mov edi, ebx
shr edi, 7
cmp dword [esi + 0x44], edi
je 0x446e92
imul eax, edi, 0xbfd80
push 0
push 0
add eax, 0x19
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x446ee1
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x80
lea eax, [esi + 0x48]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x446ec5
cmp dword [ebp - 8], 0x80
jne 0x446ec5
mov dword [esi + 0x44], edi
and ebx, 0x7f
imul eax, edi, 0xbfd80
mov edi, dword [ebp - 0x10]
imul ecx, ebx, 0x17fa
add ecx, 0x99
add ecx, eax
cmp dword [edi], 0
mov al, byte [ebx + esi + 0x48]
jne 0x446f6b
cmp al, 1
je 0x446efd
inc dword [esi + 0x20]
jmp 0x446e03
pop edi
mov dword [esi + 0x28], 5
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret 0xc
pop edi
mov dword [esi + 0x28], 0xa
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret 0xc
push 0
push 0
push ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x446ee1
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 0x17fa
push dword [ebp - 0x14]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x446f4c
pop edi
mov dword [esi + 0x28], 5
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 0xc], 0x17fa
jne 0x446f30
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
inc dword [esi + 0x20]
jmp 0x446f6b
mov eax, dword [ebp - 0x10]
mov dword [eax], 1
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004df262
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4472c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x57af80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x40], 0
jne 0x44734d
inc dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0
push 0
push dword [esi]
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x447310
mov dword [esi + 0x28], 0xa
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x19
lea eax, [esi + 4]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x447347
mov dword [esi + 0x28], 4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0x19
jne 0x44732f
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004df262
mov esp, ebp
pop ebp
ret
Function at 0x447490
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x57af80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
xor eax, eax
push esi
mov esi, ecx
test ebx, ebx
jne 0x4474cf
mov dword [esi + 0x28], 0xb
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret 0x10
push edi
push 0
push 0x20
test edx, edx
mov ecx, 0xc0000000
push 3
setne al
mov edi, SysReAllocStringLen
test edx, edx
mov dword [ebp - 0x10], eax
push 0
cmovne ecx, edi
push eax
push ecx
push ebx
mov dword [ebp - 0x14], ecx
call fcn.004037b0
add esp, 0x1c
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x447568
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push ebx
call fcn.00403710
add esp, 8
test eax, eax
je 0x44755c
test byte [ebp - 8], 0x11
je 0x44752e
mov dword [esi + 0x28], 8
jmp 0x447619
xor edi, edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x20
push 3
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
call fcn.004037b0
add esp, 0x1c
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x447568
inc edi
cmp edi, 0x32
jb 0x447530
mov dword [esi + 0x28], 1
jmp 0x447619
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
lea edi, [esi + 4]
xorps xmm0, xmm0
movdqu xmmword [edi], xmm0
push 0x19
movq qword [edi + 0x10], xmm0
push edi
mov byte [edi + 0x18], 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4475a8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x28], 5
jmp 0x447613
cmp dword [ebp - 0xc], 0x19
jne 0x447604
mov eax, dword [edi]
cmp eax, dword [ebp + 0xc]
jne 0x447604
cmp byte [esi + 0x1c], 1
jne 0x447604
cmp dword [esi + 0x10], 0x17fa
jne 0x447604
cmp dword [esi + 0x14], 0x80
jne 0x447604
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x24], eax
test ecx, ecx
je 0x4475ec
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret 0x10
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x28], 3
mov dword [esi], 0xffffffff
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004df262
mov esp, ebp
pop ebp
ret 0x10
Function at 0x448150
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x57af80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor edx, edx
mov ecx, 0xbfd80
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x24]
add eax, 0xffffffe7
div ecx
mov ebx, eax
shl ebx, 7
cmp edx, 0x80
jbe 0x448193
lea ecx, [edx - 0x80]
mov eax, 0xaad56003
mul ecx
shr edx, 0xc
add ebx, edx
cmp edi, ebx
jb 0x4481b3
pop edi
mov dword [esi + 0x28], 9
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret 8
mov al, byte [ebp + 0xc]
mov ebx, edi
mov byte [ebp - 5], al
mov ecx, edi
shr ebx, 7
and ecx, 0x7f
imul eax, ebx, 0xbfd80
push 0
push 0
mov dword [ebp - 0x10], ecx
add eax, 0x19
add eax, ecx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4481ff
pop edi
mov dword [esi + 0x28], 0xa
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret 8
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 1
lea eax, [ebp - 5]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44823a
pop edi
mov dword [esi + 0x28], 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 0xc], 1
jne 0x44821e
cmp dword [esi + 0x44], ebx
jne 0x44824f
mov ecx, dword [ebp - 0x10]
mov al, byte [ebp - 5]
mov byte [ecx + esi + 0x48], al
cmp byte [ebp + 0xc], 0
jne 0x44825f
cmp dword [esi + 0x18], edi
cmovb edi, dword [esi + 0x18]
mov dword [esi + 0x18], edi
mov ecx, esi
call fcn.004472c0
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
pop esi
neg eax
pop ebx
call fcn.004df262
mov esp, ebp
pop ebp
ret 8
Function at 0x460400
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eeb20
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x57af80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push 0
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QDialog::constructor_class_QWidget___class_QFlags_enum_Qt::WindowType__]
push 0
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
mov dword [esi], vtable.VNoShutdowns.0
mov dword [esi + 8], vtable.VNoShutdowns.1.0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QThreadPool::constructor_class_QObject__]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [ebp - 4], 2
call fcn.0040aac0
push 0x14
mov dword [esi + 0x2c], eax
call fcn.004df156
add esp, 4
test eax, eax
je 0x460499
xorps xmm0, xmm0
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 0
jmp 0x46049b
xor eax, eax
push esi
lea ecx, [esi + 0x18]
mov dword [esi + 0x30], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::setParent_class_QObject__]
mov ecx, dword [esi + 0x30]
push esi
call fcn.004612a0
push 1
mov ecx, esi
call dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QDialog::setModal_bool_]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call dword [sym.imp.Qt5Widgets.dll_public:_class_QFlags_enum_Qt::WindowType____thiscall_QWidget::windowFlags_void_]
mov edx, dword [ebp - 0x14]
mov ecx, esi
and edx, 0xfffeffff
push edx
mov dword [ebp - 0x14], edx
call dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QWidget::setWindowFlags_class_QFlags_enum_Qt::WindowType__]
mov ecx, esi
call fcn.00460ff0
push 0x10
lea ecx, [esi + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QThreadPool::setMaxThreadCount_int_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret 4
Function at 0x464ae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef924
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x57af80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x10], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
je 0x464beb
cmp byte [edi + 0x11], 0
jne 0x464beb
push 0x90
call fcn.004df156
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x464b4d
mov ecx, eax
call fcn.00464320
mov ebx, eax
jmp 0x464b4f
xor ebx, ebx
lea eax, [edi + 0xc]
mov dword [ebp - 4], 0xffffffff
push eax
lea eax, [ebp - 0x20]
push 0x505a70
push eax
call fcn.0041abe0
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [ebx + 4]
add esp, 0xc
push eax
call esi
lea ecx, [ebp - 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0x591540
lea eax, [ebp - 0x20]
push 0x505a70
push eax
call fcn.0041abe0
add esp, 0xc
mov ecx, ebx
push eax
call esi
lea ecx, [ebp - 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x24]
push 0x505a70
push eax
call fcn.0041abe0
add esp, 0xc
lea ecx, [ebx + 8]
push eax
call esi
lea ecx, [ebp - 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push dword [ebp - 0x14]
lea ecx, [ebx + 0x10]
call fcn.004655d0
lea eax, [ebp - 0x1c]
push eax
push 0
push ebx
push 0x4653b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x464c3f
push 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QTextDocument::constructor_class_QObject__]
push 0x591540
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QTextDocument::setDefaultStyleSheet_class_QString_const__]
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QTextDocument::setHtml_class_QString_const__]
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::setObjectName_class_QString_const__]
push ebx
lea ecx, [ebp - 0x18]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QTextDocument::print_class_QPagedPaintDevice__const]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Qt5Gui.dll_public_virtual:_void___thiscall_QTextDocument::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret 4
Function at 0x48bf40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6669
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x57af80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
sub esp, 0x14
mov edi, esp
mov dword [ebp - 4], 0
mov dword [edi], eax
lea ecx, [edi + 4]
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_class_QByteArray_const__]
mov eax, dword [ebp + 0x10]
lea ecx, [edi + 0x10]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0xc], eax
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [ebx + 0x34]
call fcn.0046ad20
mov ecx, dword [ebx + 0x30]
lea eax, [ebp - 0x10]
push eax
call fcn.0042e460
push 0x505a70
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::operator__char_const__const]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
mov bl, al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x48bfe4
mov ecx, dword [ebp - 0x14]
call fcn.004b78c0
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4935e0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f76c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x57af80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push 0
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QDialog::constructor_class_QWidget___class_QFlags_enum_Qt::WindowType__]
push 0
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
mov dword [esi], vtable.VShutdowns.0
mov dword [esi + 8], vtable.VShutdowns.1.0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QThreadPool::constructor_class_QObject__]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [ebp - 4], 2
call fcn.0040aac0
push 0x14
mov dword [esi + 0x2c], eax
call fcn.004df156
add esp, 4
test eax, eax
je 0x493679
xorps xmm0, xmm0
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 0
jmp 0x49367b
xor eax, eax
push esi
lea ecx, [esi + 0x18]
mov dword [esi + 0x30], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::setParent_class_QObject__]
mov ecx, dword [esi + 0x30]
push esi
call fcn.004612a0
push 1
mov ecx, esi
call dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QDialog::setModal_bool_]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call dword [sym.imp.Qt5Widgets.dll_public:_class_QFlags_enum_Qt::WindowType____thiscall_QWidget::windowFlags_void_]
mov edx, dword [ebp - 0x14]
mov ecx, esi
and edx, 0xfffeffff
push edx
mov dword [ebp - 0x14], edx
call dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QWidget::setWindowFlags_class_QFlags_enum_Qt::WindowType__]
mov ecx, esi
call fcn.00493b60
push 0x10
lea ecx, [esi + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QThreadPool::setMaxThreadCount_int_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret 4
Function at 0x4a3080
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f943f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x57af80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push 0xa001003
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QDialog::constructor_class_QWidget___class_QFlags_enum_Qt::WindowType__]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.VRemoteShutdown.0
mov dword [ebx + 8], vtable.VRemoteShutdown.1.0
call fcn.0040aac0
push ebx
lea ecx, [ebx + 0x18]
mov dword [ebx + 0x60], eax
call fcn.004a4a80
mov ecx, dword [ebx + 0x30]
mov esi, dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QLineEdit::setMaxLength_int_]
push 0x1ff
call esi
mov ecx, dword [ebx + 0x2c]
push 0x1ff
call esi
mov edi, dword [sym.imp.Qt5Core.dll_public:_static_class_QMetaObject::Connection___cdecl_QObject::connect_class_QObject_const___char_const___class_QObject_const___char_const___enum_Qt::ConnectionType_]
lea eax, [ebp - 0x10]
push 0
push str.1OnOk__
push ebx
push str.2clicked__
push dword [ebx + 0x58]
push eax
call edi
add esp, 0x18
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.Qt5Core.dll___BConnection_QMetaObject__QBEPQ01_PAXXZ]
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call esi
push 0
push str.1OnCancel__
push ebx
push str.2clicked__
push dword [ebx + 0x5c]
lea eax, [ebp - 0x10]
push eax
call edi
add esp, 0x18
mov ecx, eax
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll___BConnection_QMetaObject__QBEPQ01_PAXXZ]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call esi
push 0
push str.1UpdateControls__int__
push ebx
push str.2stateChanged__int__
push dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
push eax
call edi
add esp, 0x18
mov ecx, eax
mov byte [ebp - 4], 3
call dword [sym.imp.Qt5Core.dll___BConnection_QMetaObject__QBEPQ01_PAXXZ]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call esi
push 0x10
call fcn.004df156
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x4a31c0
push ebx
push 0x12cc0300
push 1
mov ecx, esi
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QIntValidator::constructor_int__int__class_QObject__]
mov dword [esi], vtable.QIntValidator.0
jmp 0x4a31c2
xor esi, esi
mov ecx, dword [ebx + 0x3c]
push esi
mov byte [ebp - 4], 0
call dword [sym.imp.Qt5Widgets.dll_public:_void___thiscall_QLineEdit::setValidator_class_QValidator_const__]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a91a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
lea ecx, [ecx]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jl 0x4a91c0
pop edi
mov dword [ecx], 0x270
mov eax, ecx
pop esi
pop ebp
ret 4

Function at 0x4aba70
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
dec eax
mov ecx, dword [ebp + 8]
xor esi, esi
xor ebx, ebx
test eax, eax
je 0x4abb1c
lea esp, [esp]
mov ecx, dword [edi + 4]
dec ecx
shl esi, cl
add esi, esi
mov dword [ebp - 4], esi
jmp 0x4abaa0
mov esi, dword [edi]
mov eax, dword [esi]
cmp eax, 0x270
jne 0x4abab4
mov ecx, esi
call fcn.004ace30
jmp 0x4abac2
cmp eax, 0x4e0
jb 0x4abac2
mov ecx, esi
call fcn.004acd70
mov eax, dword [esi]
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
cmp eax, dword [edi + 8]
ja 0x4abaa0
mov ecx, dword [edi + 4]
mov esi, dword [ebp - 4]
dec ecx
shl ebx, cl
or esi, eax
mov ecx, dword [ebp + 8]
add ebx, ebx
or ebx, dword [edi + 8]
lea eax, [ecx - 1]
cmp ebx, eax
jb 0x4aba90
xor edx, edx
mov eax, ebx
div ecx
mov ecx, eax
mov ebx, edx
xor edx, edx
mov eax, esi
div dword [ebp + 8]
cmp eax, ecx
mov ecx, dword [ebp + 8]
jb 0x4abb3f
lea eax, [ecx - 1]
cmp ebx, eax
jne 0x4aba80
mov eax, esi
xor edx, edx
div ecx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4accd0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
mov edi, edi
mov ecx, dword [edi + 4]
dec ecx
shl ebx, cl
add ebx, ebx
jmp 0x4accf0
mov esi, dword [edi]
mov eax, dword [esi]
cmp eax, 0x270
jne 0x4acd04
mov ecx, esi
call fcn.004ace30
jmp 0x4acd12
cmp eax, 0x4e0
jb 0x4acd12
mov ecx, esi
call fcn.004acd70
mov eax, dword [esi]
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
cmp ecx, dword [edi + 8]
ja 0x4accf0
mov eax, dword [ebp - 4]
or ebx, ecx
add eax, dword [edi + 4]
mov dword [ebp - 4], eax
cmp eax, 0x20
jb 0x4acce0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret