joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f0a20
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
mov eax, 0x51eb851f
imul ecx
push ebx
push ebp
push esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp esi, 0x400
push edi
mov ebp, ecx
jge 0x4f0a50
mov esi, 0x400
cmp ebp, esi
mov edi, ebp
jle 0x4f0a58
mov edi, esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push 0
push edi
push ecx
push edx
call sub.WS2_32.dll_recv
test eax, eax
jge 0x4f0a96
call sub.WS2_32.dll_WSAGetLastError
mov ebx, eax
cmp ebx, 0x2714
je 0x4f0a9e
call fcn.004f907f
cmp dword [eax], 0x2733
je 0x4f0a9e
cmp ebx, 0x2738
jne 0x4f0aac
mov eax, edi
jmp 0x4f0a98
je 0x4f0aac
sub ebp, eax
add dword [esp + 0x1c], eax
test ebp, ebp
jg 0x4f0a50
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x4f1400
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x58c780]
xor eax, esp
mov dword [esp + 0x14], eax
cmp dword [0xc3343c], 0
je 0x4f1444
push 0xc0
push 0
push 0xc33360
call fcn.004f3750
add esp, 0xc
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [0xc3341c], eax
test eax, eax
jge 0x4f1455
call fcn.004f0f40
xor eax, eax
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004f3b35
add esp, 0x18
ret
push 4
lea ecx, [esp + 4]
push ecx
push 4
push 0xffff
push eax
mov dword [esp + 0x14], 1
call sub.WS2_32.dll_setsockopt
xor eax, eax
mov edx, 2
mov dword [esp + 4], eax
push eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov word [esp + 8], dx
call sub.WS2_32.dll_htonl
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
push eax
call sub.WS2_32.dll_htons
mov edx, dword [0xc3341c]
push 0x10
lea ecx, [esp + 8]
push ecx
push edx
mov word [esp + 0x12], ax
call sub.WS2_32.dll_bind
test eax, eax
jl 0x4f143f
mov eax, dword [0xc3341c]
push 5
push eax
call sub.WS2_32.dll_listen
test eax, eax
jl 0x4f143f
mov ecx, dword [esp + 0x14]
xor ecx, esp
mov eax, 1
call fcn.004f3b35
add esp, 0x18
ret

Function at 0x4f1900
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
mov dword [0xc33440], eax
push eax
mov dword [0x58c6b0], 1
call fcn.004f1400
add esp, 4
test eax, eax
je 0x4f1948
push 0xc33440
push 0
push 0x4f17e0
call fcn.004f91c9
xor ecx, ecx
add esp, 0xc
cmp eax, 0xffffffff
setne cl
mov dword [0xc33360], ecx
mov eax, dword [0xc33360]
ret
xor eax, eax
ret
Function at 0x4f1cb0
Capabilities:
Create thread

Disassembly:
push esi
push edi
call fcn.004f0ac0
mov eax, dword [esp + 0x10]
xor esi, esi
mov dword [0xc33338], esi
push 0x2000
mov dword [0xc33354], 0xffffffff
mov dword [0xc3335c], eax
call fcn.004f346a
mov dword [0xc3333c], eax
mov dword [0xc33340], esi
mov dword [0xc33344], esi
push 0x2000
call fcn.004f346a
mov edi, dword [esp + 0x14]
add esp, 8
mov dword [0xc33348], eax
mov dword [0xc3334c], esi
mov dword [0xc33350], esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call fcn.004f346a
add esp, 4
push edi
push eax
mov dword [0xc33358], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
push esi
mov dword [0x58c6b4], 1
push 0x4f1a70
call fcn.004f91c9
add esp, 0xc
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
pop edi
pop esi
mov dword [0xc33334], ecx
mov eax, dword [0xc33334]
ret
Function at 0x4f2b80
Capabilities:
Get disk information

Disassembly:
sub esp, 0x84
mov eax, dword [0x58c780]
xor eax, esp
mov dword [esp + 0x80], eax
lea eax, [esp]
push eax
push 0x80
mov dword [0xc33fc8], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x4f2c11
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
push edi
lea esi, [esp + 0xc]
xor edi, edi
cmp byte [esi], 0
je 0x4f2bf4
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x4f2beb
mov eax, dword [0xc33fc8]
push esi
lea ecx, [eax + eax*2 + 0xc334b8]
push ecx
mov byte [esi + 2], 0
call ebp
inc dword [0xc33fc8]
inc edi
add esi, 4
cmp edi, 0x20
jl 0x4f2bc0
mov eax, dword [0xc33fc8]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004f3b35
add esp, 0x84
ret
mov ecx, dword [esp + 0x80]
mov eax, dword [0xc33fc8]
xor ecx, esp
call fcn.004f3b35
add esp, 0x84
ret

Function at 0x4f3b35
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x58c780]
jne 0x4f3b3f
repz ret
jmp fcn.004fb2a9

Function at 0x50df95
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004f973e
and dword [ebp - 4], 0
cmp dword [0xc349dc], 0
mov ebx, eax
jne 0x50e046
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x50e0f7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x56d644
push edi
call esi
test eax, eax
je 0x50e0f7
push eax
call fcn.004f96cc
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0xc349dc], eax
call esi
push eax
call fcn.004f96cc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0xc349e0], eax
call esi
push eax
call fcn.004f96cc
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0xc349e4], eax
call esi
push eax
call fcn.004f96cc
pop ecx
mov dword [0xc349ec], eax
test eax, eax
je 0x50e046
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004f96cc
pop ecx
mov dword [0xc349e8], eax
mov eax, dword [0xc349e8]
cmp eax, ebx
je 0x50e09e
cmp dword [0xc349ec], ebx
je 0x50e09e
push eax
call fcn.004f9747
push dword [0xc349ec]
mov esi, eax
call fcn.004f9747
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x50e09e
test edi, edi
je 0x50e09e
call esi
test eax, eax
je 0x50e095
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x50e095
test byte [ebp - 0xc], 1
jne 0x50e09e
or dword [ebp + 0x10], 0x200000
jmp 0x50e0d7
mov eax, dword [0xc349e0]
cmp eax, ebx
je 0x50e0d7
push eax
call fcn.004f9747
pop ecx
test eax, eax
je 0x50e0d7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x50e0d7
mov eax, dword [0xc349e4]
cmp eax, ebx
je 0x50e0d7
push eax
call fcn.004f9747
pop ecx
test eax, eax
je 0x50e0d7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0xc349dc]
call fcn.004f9747
pop ecx
test eax, eax
je 0x50e0f7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x50e0f9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x51f820
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x51f851
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
je 0x51f851
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x44], 0
je 0x51f851
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x53a040
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x53a070
push esi
call fcn.0053a900
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x53a069
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov ecx, dword [esi + 0x10]
cmp ecx, 0xcb
jne 0x53a0f0
mov eax, dword [esi + 0x18c]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x53a0dc
mov eax, dword [esi + 8]
test eax, eax
je 0x53a095
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x18c]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x53a0d8
cmp eax, 2
je 0x53a0dc
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x53a088
cmp eax, 3
je 0x53a0bb
cmp eax, 1
jne 0x53a088
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov edx, eax
mov eax, dword [ecx + 8]
cmp edx, eax
jl 0x53a088
mov edx, dword [esi + 0x118]
add edx, eax
mov dword [ecx + 8], edx
jmp 0x53a088
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.0053a120
add esp, 4
pop esi
ret
cmp ecx, 0xcc
je 0x53a10a
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x12
mov dword [eax + 0x18], ecx
call dword [eax]
add esp, 4
push esi
call fcn.0053a120
add esp, 4
pop esi
ret

Function at 0x53a120
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xcc
je 0x53a148
mov eax, dword [esi + 0x17c]
push esi
call dword [eax]
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x10], 0xcc
mov ecx, dword [esi + 0x17c]
mov al, byte [ecx + 8]
test al, al
je 0x53a171
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x2f
call dword [eax]
mov edx, dword [esi + 0x17c]
add esp, 4
mov al, byte [edx + 8]
test al, al
jne 0x53a155
mov dl, byte [esi + 0x41]
xor eax, eax
test dl, dl
setne al
add eax, 0xcd
mov dword [esi + 0x10], eax
mov al, 1
pop esi
ret
Function at 0x558bb0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
xor edx, edx
cmp edi, edx
je 0x558c36
mov ecx, dword [edi]
push ebx
push ebp
mov byte [ecx + 0x16], dl
push esi
mov esi, dword [edi + 4]
mov byte [ecx + 0x17], dl
xor eax, eax
cmp esi, edx
mov byte [ecx + 0x18], dl
mov byte [ecx + 0x19], dl
jle 0x558bef
movzx ebx, byte [ecx + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x5853e8]
inc edx
cmp edx, esi
jl 0x558bd3
xor edx, edx
mov esi, dword [edi + 0xc]
cmp esi, edx
jle 0x558c1a
mov edi, dword [edi + 8]
lea esp, [esp]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x5853e8]
inc edx
cmp edx, esi
jl 0x558c00
mov edx, eax
shr edx, 8
mov byte [ecx + 0x16], al
mov byte [ecx + 0x17], dl
mov edx, eax
pop esi
shr edx, 0x10
shr eax, 0x18
pop ebp
mov byte [ecx + 0x18], dl
mov byte [ecx + 0x19], al
pop ebx
pop edi
ret
Function at 0x40c3a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c6d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6cd4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040c4e0
lea eax, [esi + 0x30]
mov dword [ebp - 0x28], 2
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], str.Connection::connect
push str.scan_device_succeed__symbolic_link:__s
push eax
mov dword [ebp - 0x20], str.....GUIConnConnection.cpp
mov dword [ebp - 0x1c], 0x34
call fcn.0041e840
add esp, 0xc
lea ecx, [esi + 0x230]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::clear_void_]
mov ecx, esi
call fcn.0040bb60
mov ecx, dword [esi + 0xc]
call fcn.0040d470
cmp al, 1
jbe 0x40c426
mov ecx, esi
call fcn.0040be90
lea eax, [ebp - 0x18]
push eax
call fcn.004708c0
add esp, 4
mov ecx, dword [eax]
mov dword [ebp - 4], 0
call fcn.0040d470
mov esi, dword [ebp - 0x14]
mov bl, al
mov dword [ebp - 4], 1
test esi, esi
je 0x40c47c
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x40c46a
mov eax, dword [esi + 8]
push esi
call eax
add esp, 4
lock xadd dword [esi], edi
cmp edi, 1
jne 0x40c47c
push esi
call fcn.0049acd0
add esp, 4
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x40c4c1
push 8
call fcn.0049aa23
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40c4ae
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 4], 0
mov dword [eax], vtable.PrintDriverVersion.0
jmp 0x40c4b0
xor eax, eax
push 0
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QThreadPool____cdecl_QThreadPool::globalInstance_void_]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QThreadPool::start_class_QRunnable___int_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e350
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cc85
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6cd4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esi + 8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esi + 0xc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esi + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esi + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esi + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esi + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], 0x10000
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esi + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push 4
push 0x4b2dac
mov byte [ebp - 4], 9
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi + 0x2c], eax
lea ecx, [esi + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esi + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esi + 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [esi + 0x3c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41fd10
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x6cd4bc]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x41fdbc
cmp byte [esi + 0x3d], 0
je 0x41fdbc
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x41fd6d
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x41fd80
sub eax, 1
je 0x41fd84
sub eax, 2
je 0x41fdbc
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0049a9ef
add esp, 0x28
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x41fda4
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x41fd6d
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0049a9ef
add esp, 0x28
ret
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0049a9ef
add esp, 0x28
ret
Function at 0x420373
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x6cd4bc]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x420390
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0049a9ef
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x4203c1
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x4203c1
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0049a9ef
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x4204ca
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x4203ea
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x42041f
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0049a9ef
add esp, 0x30
ret 4
lea eax, [esp + 0x10]
mov byte [esp + 0xc], bl
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1d]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x4204ca
cmp eax, 1
jle 0x420486
cmp eax, 3
jne 0x4204ca
push dword [esi + 0x4c]
push dword [esp + 0x10]
call fcn.0041d810
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0049a9ef
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x4204a6
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x4204ca
lea eax, [esp + 0xc]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x14], eax
je 0x4204ca
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0049a9ef
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049a9ef
add esp, 0x30
ret 4
Function at 0x4238a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c340
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x6cd4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], vtable.BackgroundWorker.0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QThread::terminate_void_]
push 0xffffffffffffffff
mov ecx, edi
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QThread::wait_unsigned_long_int_]
lea ecx, [edi + 0x10]
call fcn.00412100
call fcn.00406a20
mov byte [edi + 0x30], 0
mov al, 1
mov ecx, 0x6cd0a8
xchg byte [ecx], al
lea ecx, [edi + 0x18]
call fcn.00412100
mov byte [edi + 0x31], 0
or esi, 0xffffffff
mov dword [edi + 8], 0
mov ebx, dword [edi + 0xc]
mov dword [edi + 0xc], 0
test ebx, ebx
je 0x42393a
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x42393a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, esi
lock xadd dword [ebx + 8], eax
jne 0x42393a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov dword [edi + 0x28], 0
mov ebx, dword [edi + 0x2c]
mov dword [edi + 0x2c], 0
test ebx, ebx
je 0x42396e
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x42396e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, esi
lock xadd dword [ebx + 8], eax
jne 0x42396e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ebx, dword [edi + 0x2c]
test ebx, ebx
je 0x423994
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x423994
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, esi
lock xadd dword [ebx + 8], eax
jne 0x423994
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ebx, dword [edi + 0x24]
test ebx, ebx
je 0x4239ba
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x4239ba
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, esi
lock xadd dword [ebx + 8], eax
jne 0x4239ba
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea ecx, [edi + 0x18]
call fcn.00412100
push 0x10
push dword [edi + 0x18]
call fcn.0049a730
add esp, 8
lea ecx, [edi + 0x10]
call fcn.00412100
push 0x10
push dword [edi + 0x10]
call fcn.0049a730
mov ebx, dword [edi + 0xc]
add esp, 8
test ebx, ebx
je 0x423a09
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x423a09
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x423a09
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, edi
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QThread::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
Function at 0x4945d0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4945df
call fcn.004947d0
mov ecx, dword [esi + 0x14]
pop esi
test ecx, ecx
jne fcn.004932f0
ret

Function at 0x49ba60
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x18
push ebx
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x49ba92
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret 0x10
mov eax, dword [esp + 4]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
push ebp
push esi
seto cl
neg ecx
or ecx, eax
push edi
push ecx
call fcn.0049add3
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], 0
mov ebp, eax
mov dword [esp + 0x20], ebp
test ecx, ecx
je 0x49bb2c
mov eax, ebx
sub eax, ebp
mov dword [esp + 0x1c], eax
mov ebx, dword [eax + ebp]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
push esi
call fcn.0049add3
add esp, 4
mov edi, eax
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x14]
lea ebp, [ebp + 4]
inc eax
mov dword [ebp - 4], edi
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
jne 0x49bad1
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
push ebx
mov dword [ebp + ecx*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
push dword [esp + 0x14]
call fcn.0046bfe0
xor esi, esi
add esp, 8
mov edi, eax
cmp dword [esp + 0x10], esi
je 0x49bb6a
mov ecx, dword [ebp + esi*4]
test ecx, ecx
je 0x49bb6a
push ecx
call fcn.0049afa8
inc esi
add esp, 4
cmp esi, dword [esp + 0x10]
jne 0x49bb52
push ebp
call fcn.0049afa8
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10