joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64078710
Capabilities:
Get socket status

Disassembly:
sub esp, 0x320
mov eax, dword [0x640ca240]
xor eax, esp
mov dword [esp + 0x31c], eax
mov eax, dword [esp + 0x330]
push ebx
mov bl, byte [esp + 0x32c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x338]
mov dword [esp + 8], eax
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x330]
test bl, bl
je 0x6407876a
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x6407876a
cmp byte [ecx + 0x10], 0
je 0x6407876a
push 0
mov bh, 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSocketNotifier::setEnabled_bool_]
jmp 0x6407876c
xor bh, bh
push 0x104
lea eax, [esp + 0x20]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
test bl, bl
je 0x64078793
mov eax, dword [esi + 0x78]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
push 0x104
lea eax, [esp + 0x228]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x120], 0
cmp byte [esp + 0x338], 0
je 0x640787e6
mov eax, dword [esi + 0x78]
mov dword [esp + 0x224], 1
mov dword [esp + 0x228], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x120], 1
mov eax, 0x10624dd3
mov ecx, edi
imul edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
imul eax, eax, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
xor ecx, ecx
test edi, edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
cmovs eax, ecx
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x22c]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0x78]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
mov edi, eax
test edi, edi
jle 0x64078856
lea eax, [esp + 0x120]
push eax
push dword [esi + 0x78]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x64078856
dec edi
test bh, bh
je 0x64078865
mov ecx, dword [esi + 0x7c]
push 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSocketNotifier::setEnabled_bool_]
test edi, edi
jle 0x6407889c
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x78]
call sub.WS2_32.dll___WSAFDIsSet
mov ecx, dword [esp + 0xc]
test eax, eax
setne al
mov byte [ecx], al
lea eax, [esp + 0x224]
push eax
push dword [esi + 0x78]
call sub.WS2_32.dll___WSAFDIsSet
mov ecx, dword [esp + 0x10]
test eax, eax
setne al
mov byte [ecx], al
mov ecx, dword [esp + 0x328]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.6407f184
add esp, 0x320
ret 0x14
Function at 0x640788c0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x214
mov eax, dword [0x640ca240]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov bh, byte [esp + 0x220]
push ebp
mov ebp, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSocketNotifier::setEnabled_bool_]
push esi
mov esi, dword [esp + 0x224]
push edi
mov edi, ecx
test bh, bh
je 0x64078907
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x64078907
cmp byte [ecx + 0x10], 0
je 0x64078907
push 0
mov bl, 1
call ebp
jmp 0x64078909
xor bl, bl
push 0x104
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [edi + 0x78]
mov ecx, esi
mov dword [esp + 0x28], eax
add esp, 0xc
mov eax, 0x10624dd3
mov dword [esp + 0x18], 1
imul esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x10], eax
imul eax, eax, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
xor ecx, ecx
mov dword [esp + 0x14], eax
test bh, bh
je 0x64078977
test esi, esi
lea eax, [esp + 0x10]
cmovs eax, ecx
push eax
push ecx
push ecx
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
jmp 0x640789c8
mov eax, dword [edi + 0x78]
test esi, esi
mov dword [esp + 0x120], eax
lea eax, [esp + 0x10]
cmovs eax, ecx
mov dword [esp + 0x11c], 1
push eax
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
test esi, esi
jle 0x640789c8
lea eax, [esp + 0x11c]
push eax
push dword [edi + 0x78]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x640789c8
dec esi
test bl, bl
je 0x640789d3
mov ecx, dword [edi + 0x7c]
push 1
call ebp
mov ecx, dword [esp + 0x220]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6407f184
add esp, 0x214
ret 8
Function at 0x640789f0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x44
mov eax, dword [0x640ca240]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
push esi
push edi
mov edi, dword [esp + 0x50]
mov esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
push ecx
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esi + 0x78]
call fcn.640790f0
mov ecx, dword [esp + 0x70]
add esp, 0x1c
mov eax, ecx
mov dword [esp + 0x18], edi
or eax, dword [esp + 0x58]
jne 0x64078a56
mov dword [esp + 0x18], 0
push 0
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x14]
mov dword [esp + 0x20], ecx
push dword [esp + 0x18]
mov dword [esp + 0x18], 0
push 0
push eax
push 1
lea eax, [esp + 0x30]
push eax
push dword [esi + 0x78]
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x64078adb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, esi
cmp eax, 0x2738
je 0x64078aba
push 0x12
push 7
call fcn.640766e0
or eax, 0xffffffff
pop edi
or edx, eax
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.6407f184
add esp, 0x44
ret 0x14
push 0x11
push 6
call fcn.640766e0
or eax, 0xffffffff
pop edi
or edx, eax
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.6407f184
add esp, 0x44
ret 0x14
mov ecx, dword [esp + 0x48]
xor edx, edx
mov eax, dword [esp + 8]
pop edi
pop esi
xor ecx, esp
call fcn.6407f184
add esp, 0x44
ret 0x14
Function at 0x64078b00
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x6408fcf0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ca240]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x60], 1
mov esi, dword [esp + 0x30]
mov ecx, esi
jne 0x64078b71
call sym.QtNetwork4.dll_public:_bool___thiscall_QNetworkInterface::isValid_void_const
test al, al
je 0x64078b59
mov ecx, esi
call sym.QtNetwork4.dll_public:_int___thiscall_QNetworkInterface::index_void_const
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 9
push 0x29
jmp 0x64078c69
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 9
push 0x29
jmp 0x64078c69
call sym.QtNetwork4.dll_public:_bool___thiscall_QNetworkInterface::isValid_void_const
test al, al
je 0x64078c56
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call sym.QtNetwork4.dll_public:_class_QList_class_QNetworkAddressEntry____thiscall_QNetworkInterface::addressEntries_void_
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
xor esi, esi
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QListData::size_void_const]
test eax, eax
jle 0x64078c1b
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
mov ebp, dword [sym.imp.WS2_32.dll_htonl]
mov edi, edi
push esi
lea ecx, [esp + 0x34]
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::at_int_const]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax]
call sym.QtNetwork4.dll_public:_class_QHostAddress___thiscall_QNetworkAddressEntry::ip_void_
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
test eax, eax
jne 0x64078bfe
lea ecx, [esp + 0x14]
call sym.QtNetwork4.dll_public:_unsigned_int___thiscall_QHostAddress::toIPv4Address_void_const
push eax
call ebp
push 4
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push 9
push 0
push dword [edi + 0x78]
call ebx
cmp eax, 0xffffffff
jne 0x64078c44
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
lea ecx, [esp + 0x30]
inc esi
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QListData::size_void_const]
cmp esi, eax
jl 0x64078bb0
xor bl, bl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x64078c40
push dword [esp + 0x30]
lea ecx, [esp + 0x34]
call fcn.6405f0a0
mov al, bl
jmp 0x64078c7c
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov bl, 1
jmp 0x64078c1d
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 9
push 0
push dword [edi + 0x78]
call dword [sym.imp.WS2_32.dll_setsockopt]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x64078ca0
Capabilities:
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
sub esp, 0x30
mov eax, dword [ecx + 4]
xorps xmm0, xmm0
push ebx
push ebp
mov ebp, dword [esp + 0x40]
mov ebx, ebp
push esi
movlpd qword [esp + 0x10], xmm0
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
push 0
push 0
add eax, esi
mov dword [esp + 0x28], ebx
push 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x20]
push eax
push 1
lea eax, [esp + 0x34]
mov dword [esp + 0x28], 0
push eax
push dword [ecx + 0x78]
call dword [sym.imp.WS2_32.dll_WSASend]
add esi, dword [esp + 0x14]
adc edi, 0
cmp eax, 0xffffffff
je 0x64078d22
cmp esi, ebp
jne 0x64078d1c
cmp edi, dword [esp + 0x4c]
je 0x64078dbd
mov ecx, dword [esp + 0x10]
jmp 0x64078cd1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x64078dbd
cmp eax, 0x2747
jne 0x64078d8c
mov eax, dword [esp + 0x4c]
mov ecx, ebp
sub ecx, esi
mov dword [esp + 0x28], 0xc000
mov dword [esp + 0x30], ecx
sbb eax, edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], eax
js 0x64078d7a
jg 0x64078d68
cmp ecx, 0xc000
jbe 0x64078d7a
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x28]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x64078ccd
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x30]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x64078ccd
add eax, 0xffffd8bb
cmp eax, 1
ja 0x64078dbd
mov ecx, dword [esp + 0x10]
push 0x14
push 7
call fcn.640766e0
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov esi, dword [eax]
call dword [esi + 0x50]
pop edi
pop esi
or eax, 0xffffffff
pop ebp
or edx, eax
pop ebx
add esp, 0x30
ret 0xc
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc
Function at 0x6407a710
Capabilities:
Read file on windows
Read pipe

Disassembly:
push 0xffffffffffffffff
push 0x6408ff99
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ca240]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [sym.imp.QtCore4.dll_protected:_void___thiscall_QIODevice::readChannelFinished_void_]
mov edi, dword [esi + 4]
lea eax, [esp + 0x18]
push 0
push eax
push 0
push 0
push 0
push dword [esi + 0x90]
mov ebx, 0x1000
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x6407a76a
mov edi, dword [esp + 0x18]
jmp 0x6407a79a
cmp byte [esi + 0xde], 0
jne 0x6407a798
mov ecx, edi
mov byte [esi + 0xde], 1
call ebp
cmp dword [esi + 0xd0], 0
jne 0x6407a798
push str.1_q_pipeClosed__
push edi
push 0
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QTimer::singleShot_int__class_QObject___char_const__]
add esp, 0xc
xor edi, edi
cmp byte [esi + 0xde], 0
jne 0x6407a8a5
mov ecx, dword [esi + 0xb0]
test edi, edi
mov eax, ecx
cmove edi, ebx
mov ebx, dword [esi + 0xb4]
or eax, ebx
je 0x6407a7eb
mov ebp, dword [esi + 0xcc]
mov eax, ebp
cdq
sub ecx, eax
sbb ebx, edx
xor eax, eax
cmp eax, ebx
jl 0x6407a7e5
jg 0x6407a7d7
cmp edi, ecx
jbe 0x6407a7e5
mov edi, dword [esi + 0xb0]
sub edi, ebp
je 0x6407a8a5
mov ebp, dword [sym.imp.QtCore4.dll_protected:_void___thiscall_QIODevice::readChannelFinished_void_]
push edi
lea ecx, [esi + 0xb8]
call fcn.64012b20
lea ecx, [esi + 0x94]
mov byte [esi + 0xdc], 1
push ecx
push 0
push edi
push eax
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x6407a829
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xe9
je 0x6407a899
dec eax
jne 0x6407a83e
mov ecx, esi
call fcn.640798e0
cmp byte [esi + 0xdc], 0
jne 0x6407a8a5
jmp 0x6407a73f
sub eax, 0x2fb
je 0x6407a8a5
push str.QLocalSocketPrivate::startAsyncRead
lea ecx, [esp + 0x20]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_const__]
lea eax, [esp + 0x14]
mov dword [esp + 0x28], 0
push eax
mov ecx, esi
call fcn.6407a280
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ecx, dword [esi + 4]
mov byte [esi + 0xde], 1
call ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x6407c3a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64090169
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x640ca240]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [0x640ca240]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], 0
mov dword [esp + 8], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x10], eax
lea eax, [esp + 4]
push eax
push 5
push 0x6409bf78
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___]
add esp, 0x10
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.6407f184
add esp, 0x20
ret 0x10
Function at 0x6407e340
Capabilities:
Check http status code
Reference http user-agent string
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ecx + 4]
mov byte [eax + 0x97], 0
jmp fcn.64065630
mov eax, dword [ecx + 4]
cmp byte [eax + 0x90], 0
mov byte [eax + 0x95], 0
jne fcn.64065a80
ret
mov eax, dword [ecx + 4]
cmp byte [eax + 0x91], 0
mov byte [eax + 0x96], 0
jne fcn.64065c70
ret
mov eax, dword [ecx + 4]
cmp dword [eax + 0x88], 2
jne 0x64067019
cmp byte [eax + 0x91], 0
jne fcn.640665f0
ret
cmp dword [esp + 8], 0
jne case.default.0x6407e350
mov eax, dword [esp + 0xc]
cmp eax, 8
ja case.default.0x6407e350
jmp dword [eax*4 + 0x6407e3bc]
mov ecx, dword [esp + 4]
jmp fcn.64067020
mov ecx, dword [esp + 4]
jmp sym.QtNetwork4.dll_public_virtual:_void___thiscall_QNetworkReply::ignoreSslErrors_void_
mov ecx, dword [esp + 4]
jmp fcn.640675a0
mov ecx, dword [esp + 4]
jmp 0x64067000
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 4]
push dword [eax]
call fcn.640673c0
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 4]
push dword [eax]
call sym.QtNetwork4.dll_public_virtual:_void___thiscall_QNetworkSessionPrivate::setALREnabled_bool_
ret
mov ecx, dword [esp + 4]
jmp 0x64066460
mov ecx, dword [esp + 4]
jmp 0x64066480
mov ecx, dword [esp + 4]
jmp 0x64066450

Function at 0x6407e357
Capabilities:
Reference http user-agent string

Disassembly:
mov eax, dword [ecx + 4]
mov byte [eax + 0x97], 0
jmp fcn.64065630
mov eax, dword [ecx + 4]
cmp byte [eax + 0x90], 0
mov byte [eax + 0x95], 0
jne fcn.64065a80
ret
mov eax, dword [ecx + 4]
cmp byte [eax + 0x91], 0
mov byte [eax + 0x96], 0
jne fcn.64065c70
ret
mov eax, dword [ecx + 4]
cmp dword [eax + 0x88], 2
jne 0x64067019
cmp byte [eax + 0x91], 0
jne fcn.640665f0
ret
cmp dword [esp + 8], 0
jne case.default.0x6407e350
mov eax, dword [esp + 0xc]
cmp eax, 8
ja case.default.0x6407e350
jmp dword [eax*4 + 0x6407e3bc]
mov ecx, dword [esp + 4]
jmp fcn.64067020
mov ecx, dword [esp + 4]
jmp sym.QtNetwork4.dll_public_virtual:_void___thiscall_QNetworkReply::ignoreSslErrors_void_
mov ecx, dword [esp + 4]
jmp fcn.640675a0
mov ecx, dword [esp + 4]
jmp 0x64067000
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 4]
push dword [eax]
call fcn.640673c0
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 4]
push dword [eax]
call sym.QtNetwork4.dll_public_virtual:_void___thiscall_QNetworkSessionPrivate::setALREnabled_bool_
ret
mov ecx, dword [esp + 4]
jmp 0x64066460
mov ecx, dword [esp + 4]
jmp 0x64066480
mov ecx, dword [esp + 4]
jmp 0x64066450
Function at 0x6407e369
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ecx + 4]
mov byte [eax + 0x97], 0
jmp fcn.64065630
mov eax, dword [ecx + 4]
cmp byte [eax + 0x90], 0
mov byte [eax + 0x95], 0
jne fcn.64065a80
ret
mov eax, dword [ecx + 4]
cmp byte [eax + 0x91], 0
mov byte [eax + 0x96], 0
jne fcn.64065c70
ret
mov eax, dword [ecx + 4]
cmp dword [eax + 0x88], 2
jne 0x64067019
cmp byte [eax + 0x91], 0
jne fcn.640665f0
ret
cmp dword [esp + 8], 0
jne case.default.0x6407e350
mov eax, dword [esp + 0xc]
cmp eax, 8
ja case.default.0x6407e350
jmp dword [eax*4 + 0x6407e3bc]
mov ecx, dword [esp + 4]
jmp fcn.64067020
mov ecx, dword [esp + 4]
jmp sym.QtNetwork4.dll_public_virtual:_void___thiscall_QNetworkReply::ignoreSslErrors_void_
mov ecx, dword [esp + 4]
jmp fcn.640675a0
mov ecx, dword [esp + 4]
jmp 0x64067000
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 4]
push dword [eax]
call fcn.640673c0
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 4]
push dword [eax]
call sym.QtNetwork4.dll_public_virtual:_void___thiscall_QNetworkSessionPrivate::setALREnabled_bool_
ret
mov ecx, dword [esp + 4]
jmp 0x64066460
mov ecx, dword [esp + 4]
jmp 0x64066480
mov ecx, dword [esp + 4]
jmp 0x64066450
Function at 0x401311
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov dword [ebp - 0x230], 0
mov dword [ebp - 8], 0
call sub.CGEN.dll_InitCGEN
call sub.CGEN.dll_CGL_start_lib
cmp dword [ebp + 0x10], 0
je 0x4013a2
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4013a2
mov dword [ebp - 0x230], 1
mov word [ebp - 0x438], 0
mov word [ebp - 0x210], 0
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0x104
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00401092
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4013a2
mov ecx, dword [ebp + 0x10]
push ecx
push str.Error_in_commandline._Call_BRWEXE__archive_filename___CSV_filename_
push 1
call sub.SYS.dll_SYS_AppendToLog
cmp dword [ebp + 0xc], 0
je 0x4013ec
cmp dword [ebp - 0x230], 0
jne 0x4013ec
push 0
push 0x407408
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x40a9e8], eax
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [0x40a9e8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x40a9e8]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
call sub.CGEN.dll_CGL_stop_lib
xor eax, eax
jmp 0x401526
mov edx, dword [ebp + 8]
mov dword [0x40a5c0], edx
cmp dword [ebp - 0x230], 0
jne 0x40141a
mov eax, dword [ebp + 8]
push eax
call fcn.004015c9
add esp, 4
test eax, eax
jne 0x40141a
call sub.CGEN.dll_CGL_stop_lib
xor eax, eax
jmp 0x401526
mov ecx, dword [ebp - 0x230]
neg ecx
sbb ecx, ecx
not ecx
and ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040163c
add esp, 8
test eax, eax
jne 0x401446
call sub.CGEN.dll_CGL_stop_lib
xor eax, eax
jmp 0x401526
cmp dword [ebp - 0x230], 0
je 0x401470
cmp dword [ebp - 8], 0
jne 0x40146e
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x438]
push ecx
call fcn.00401275
add esp, 8
mov dword [ebp - 8], eax
jmp 0x4014e0
push 0x66
push 0x32
call sub.LGG.dll_LGG_LoadAccelerators
mov dword [ebp - 4], eax
push 0
push 0
push 0
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4014e0
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x40a9e8]
push edx
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
je 0x4014b1
jmp 0x40147c
lea eax, [ebp - 0x22c]
push eax
call fcn.0040152c
add esp, 4
test eax, eax
jne 0x4014de
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x40147c
cmp dword [ebp - 0x230], 0
jne 0x4014f4
mov eax, dword [0x40706c]
push eax
call sub.BRW.dll_BRW_Destroy
call sub.BRW.dll_BRW_Exit
call sub.TIMETO.dll_TI_Exit
call sub.LGG.dll_LGG_Exit
call sub.UTL.dll_UTL_ExitFonts
call sub.CGEN.dll_CGL_stop_lib
call sub.CGEN.dll_ExitCGEN
cmp dword [ebp - 0x230], 0
je 0x401520
mov eax, dword [ebp - 8]
jmp 0x401526
mov eax, dword [ebp - 0x224]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401907
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x10
ja 0x401938
cmp dword [ebp - 0xc], 0x10
je 0x4019c6
cmp dword [ebp - 0xc], 1
je 0x401958
cmp dword [ebp - 0xc], 2
je 0x4019f1
jmp 0x401a48
cmp dword [ebp - 0xc], 0x111
je 0x401a18
cmp dword [ebp - 0xc], 0x465
je 0x401953
jmp 0x401a48
jmp 0x401a67
push 3
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0x9ca4
lea edx, [ebp - 8]
push edx
mov eax, dword [0x40a5c0]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x42000000
push 0
push str.mdiclient
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x40a9ec], eax
push 5
mov edx, dword [0x40a9ec]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x401a67
mov eax, dword [ebp + 8]
push eax
call fcn.00401a6f
add esp, 4
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [0x40a9ec]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_DefFrameProcW]
jmp 0x401a69
push 0
push 2
push 0x40aba0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_WinHelpW]
mov dword [0x40a9ec], 0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x401a67
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
and eax, 0xffff
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401a95
add esp, 0x10
xor eax, eax
jmp 0x401a69
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [0x40a9ec]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_DefFrameProcW]
jmp 0x401a69
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10