joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e4400
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcf0
push ebx
xor edx, edx
mov dword [ebp - 0x30c], edx
mov dword [ebp - 0x310], edx
mov dword [ebp - 0x300], edx
mov dword [ebp - 0x304], edx
mov dword [ebp - 0x308], edx
mov dword [ebp - 0x2f4], edx
mov dword [ebp - 0x2f8], edx
mov dword [ebp - 0x2fc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e4679
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x4e464e
call fcn.0040a51c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0xa]
lea edx, [ebp - 8]
lea eax, [ebp - 6]
call fcn.0040a4d4
call fcn.0040a548
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x12]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0xe]
lea eax, [ebp - 0xc]
call fcn.0040a1bc
push dword [0x4ebcdc]
lea edx, [ebp - 0x2f4]
movzx eax, word [ebp - 6]
call fcn.004091c0
push dword [ebp - 0x2f4]
push 0x4e4690
lea edx, [ebp - 0x2f8]
movzx eax, word [ebp - 8]
call fcn.004e240c
push dword [ebp - 0x2f8]
push 0x4e4690
lea edx, [ebp - 0x2fc]
movzx eax, word [ebp - 0xa]
call fcn.004e240c
push dword [ebp - 0x2fc]
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00403f8c
mov eax, dword [ebp - 0x18]
call fcn.004093b0
test al, al
jne 0x4e451f
lea eax, [ebp - 0x124]
mov edx, dword [ebp - 0x18]
call fcn.00409610
push 0
lea eax, [ebp - 0x124]
push eax
call sub.kernel32.dll_CreateDirectoryA
push dword [ebp - 0x18]
push 0x4e469c
lea edx, [ebp - 0x300]
mov eax, dword [0x4ebc04]
call fcn.004091c0
push dword [ebp - 0x300]
push 0x4e4690
lea edx, [ebp - 0x304]
movzx eax, word [ebp - 0xc]
call fcn.004e240c
push dword [ebp - 0x304]
push 0x4e46a8
movzx eax, word [ebp - 0xe]
mov ecx, 0xa
xor edx, edx
div ecx
add eax, eax
lea eax, [eax + eax*4]
lea edx, [ebp - 0x308]
call fcn.004e240c
push dword [ebp - 0x308]
push 0x4e46b4
lea eax, [ebp - 0x1c]
mov edx, 8
call fcn.00403f8c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x2f0]
call fcn.0040666e
mov eax, dword [ebp - 0x1c]
call fcn.004093b0
test al, al
jne 0x4e45bd
lea eax, [ebp - 0x2f0]
call fcn.0040678e
call fcn.00402870
jmp 0x4e45cd
lea eax, [ebp - 0x2f0]
call fcn.00406795
call fcn.00402870
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e463e
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
push 0x4e46c4
lea ecx, [ebp - 0x310]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x310]
push 0x4e46d0
push 0x4e46dc
lea eax, [ebp - 0x30c]
mov edx, 4
call fcn.00403f8c
mov edx, dword [ebp - 0x30c]
lea eax, [ebp - 0x2f0]
call fcn.00404264
call fcn.00406867
call fcn.00402870
inc dword [ebp - 0x20]
dec dword [ebp - 0x24]
jne 0x4e45e5
lea eax, [ebp - 0x2f0]
call fcn.00406710
call fcn.00402870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e4680
lea eax, [ebp - 0x310]
mov edx, 8
call fcn.00403c70
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403c70
ret
Function at 0x6400c4a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov al, byte [esp + 4]
mov edx, ecx
mov ecx, dword [edx + 4]
mov byte [ecx + 0xf7], al
mov eax, dword [ecx + 0xc0]
test eax, eax
je 0x6400c4d1
cmp dword [eax + 4], 0
je 0x6400c4d1
mov ecx, dword [ecx + 0xc4]
mov dword [esp + 4], edx
mov ecx, dword [ecx + 4]
jmp fcn.64010560
xor ecx, ecx
mov dword [esp + 4], edx
mov ecx, dword [ecx + 4]
jmp fcn.64010560
Function at 0x640447a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push esi
push edi
push 8
mov edi, ecx
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x640447c7
push 0
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDaemonThread::constructor_class_QObject__]
mov dword [esi], vtable.QDaemonThread.0
jmp 0x640447c9
xor esi, esi
push 0x640981d8
lea ecx, [esp + 0xc]
mov dword [edi + 0xc], esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_struct_QStringDataPtr_]
mov ecx, dword [edi + 0xc]
lea eax, [esp + 8]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::setObjectName_class_QString_const__]
lea ecx, [esp + 8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
call dword [sym.imp.Qt5Core.dll_public:_static_class_QThread____cdecl_QCoreApplicationPrivate::mainThread_void_]
mov ecx, dword [edi + 0xc]
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::moveToThread_class_QThread__]
push eax
call esi
push dword [edi + 0xc]
mov ecx, edi
call esi
mov ecx, dword [edi + 0xc]
push 7
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QThread::start_enum_QThread::Priority_]
mov ecx, edi
pop edi
pop esi
add esp, 4
jmp sym.Qt5Network.dll_public:_void___thiscall_QNetworkConfigurationManagerPrivate::updateConfigurations_void_
Function at 0x64059230
Capabilities:
Get networking parameters

Disassembly:
sub esp, 0x258
mov eax, dword [0x640c4350]
xor eax, esp
mov dword [esp + 0x254], eax
cmp byte [0x640c5794], 0
push esi
push edi
mov edi, dword [esp + 0x264]
jne 0x64059279
push str.iphlpapi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.ConvertInterfaceLuidToNameW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x640c5790], eax
mov byte [0x640c5794], 1
lea eax, [esp + 8]
mov dword [esp + 8], 0x248
push eax
lea esi, [esp + 0x18]
mov eax, esi
push eax
call sub.IPHLPAPI.DLL_GetNetworkParams
cmp eax, 0x6f
jne 0x640592cd
push dword [esp + 8]
call dword [sym.imp.MSVCR120.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x640592c3
lea eax, [esp + 8]
push eax
push esi
call sub.IPHLPAPI.DLL_GetNetworkParams
test eax, eax
je 0x640592cd
push esi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov ecx, edi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
jmp 0x64059326
push 0xffffffffffffffff
lea eax, [esi + 0x84]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QUrl::fromAce_class_QByteArray_const__]
add esp, 8
lea ecx, [esp + 0xc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea eax, [esp + 0x14]
cmp esi, eax
je 0x6405930f
push esi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString__]
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x25c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.6408e98c
add esp, 0x258
ret
Function at 0x64063e20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0xa8], 0
je 0x64063e9b
mov eax, dword [esi + 0x20]
cmp dword [eax + 0x28], 0
je 0x64063e45
mov ecx, dword [esi + 0xe4]
test ecx, ecx
je 0x64063e45
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QTimer::stop_void_]
mov ecx, dword [esi + 0xa8]
call fcn.6405c2e0
cmp eax, 3
jne 0x64063e76
mov ecx, esi
call fcn.64064e80
cmp byte [esi + 0x82], 0
je 0x64063e74
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x78]
mov byte [esi + 0x82], 0
pop esi
ret
mov ecx, dword [esi + 0xa8]
call fcn.6405c0d0
cmp eax, 0xc
je 0x64063e90
cmp eax, 0xd
jle 0x64063e9b
cmp eax, 0x12
jg 0x64063e9b
lea ecx, [esi + 0x94]
call fcn.64064700
mov eax, dword [esi + 0x20]
cmp dword [eax + 0x28], 0
je 0x64063eb4
mov ecx, dword [esi + 0xe4]
test ecx, ecx
je 0x64063eb4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QTimer::stop_void_]
mov ecx, esi
pop esi
jmp fcn.640635f0
Function at 0x6406c233
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x2c
mov eax, dword [0x640c4350]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 8]
push eax
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_class_QHostAddress_const__
lea ecx, [esp + 8]
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
test eax, eax
jne 0x6406c282
lea ecx, [esp + 8]
call sym.Qt5Network.dll_public:_unsigned_int___thiscall_QHostAddress::toIPv4Address_void_const
and eax, 0xffff0000
cmp eax, 0xefff0000
jne 0x6406c282
push 6
lea ecx, [esp + 0x10]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_enum_QHostAddress::SpecialAddress_
mov edx, dword [esp + 8]
mov ecx, dword [eax]
mov dword [esp + 8], ecx
lea ecx, [esp + 0xc]
mov dword [eax], edx
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push ebx
call fcn.6406da40
cmp word [esp + 0x14], 0x17
jne 0x6406c2e4
lea ecx, [esp + 8]
mov dword [esp + 0x10], 0
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
mov ecx, dword [esp + 0x10]
mov edx, 1
push 4
cmp eax, edx
lea eax, [esp + 0x14]
push eax
push 0x1b
push 0x29
push dword [esi + 0x6c]
cmove ecx, edx
mov dword [esp + 0x24], ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x6c]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x6406c39f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x273f
jne 0x6406c354
lea ecx, [esp + 8]
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
cmp eax, 2
jne 0x6406c354
push ebx
mov word [esp + 0x18], ax
call dword [sym.imp.WS2_32.dll_htons]
lea ecx, [esp + 8]
mov word [esp + 0x16], ax
call sym.Qt5Network.dll_public:_unsigned_int___thiscall_QHostAddress::toIPv4Address_void_const
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push 0x10
push eax
push dword [esi + 0x6c]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x6406c39f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8e3
cmp eax, 0x24
ja case.0x6406c36b.10014
movzx eax, byte [eax + 0x6406c3d8]
jmp dword [eax*4 + 0x6406c3c8]
push 0xe
push 8
mov ecx, esi
call fcn.6406a9d0
xor bl, bl
jmp 0x6406c3a8
push 0x10
push 3
mov ecx, esi
call fcn.6406a9d0
xor bl, bl
jmp 0x6406c3a8
push 0xf
push 9
mov ecx, esi
call fcn.6406a9d0
xor bl, bl
jmp 0x6406c3a8
mov dword [esi + 0x4c], 4
mov bl, 1
lea ecx, [esp + 8]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov ecx, dword [esp + 0x30]
mov al, bl
pop esi
pop ebx
xor ecx, esp
call fcn.6408e98c
add esp, 0x2c
ret 8
Function at 0x6406cf62
Capabilities:
Get socket status

Disassembly:
sub esp, 0x320
mov eax, dword [0x640c4350]
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 0x6406cf91
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x6406cf91
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QSocketNotifier::isEnabled_void_const]
test al, al
je 0x6406cf91
mov ecx, dword [esi + 0x70]
mov bh, 1
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QSocketNotifier::setEnabled_bool_]
jmp 0x6406cf93
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 0x6406cfba
mov eax, dword [esi + 0x6c]
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 0x6406d00d
mov eax, dword [esi + 0x6c]
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 + 0x6c]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
mov edi, eax
test edi, edi
jle 0x6406d07d
lea eax, [esp + 0x120]
push eax
push dword [esi + 0x6c]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x6406d07d
dec edi
test bh, bh
je 0x6406d08c
mov ecx, dword [esi + 0x70]
push 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QSocketNotifier::setEnabled_bool_]
test edi, edi
jle 0x6406d0c3
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x6c]
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 + 0x6c]
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.6408e98c
add esp, 0x320
ret 0x14
Function at 0x64070650
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [esp + 0xc]
cmp eax, 8
ja case.default.0x64070659
jmp dword [eax*4 + 0x640706c4]
push str.Organization
jmp 0x6407069d
push str.CommonName
jmp 0x6407069d
push str.CountryName
jmp 0x6407069d
push str.LocalityName
jmp 0x6407069d
push str.OrganizationalUnitName
jmp 0x6407069d
push str.StateOrProvinceName
jmp 0x6407069d
push str.DistinguishedNameQualifier
jmp 0x6407069d
push str.SerialNumber
jmp 0x6407069d
push str.EmailAddress
lea ecx, [esp + 0xc]
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
inc dword [ecx + 0xc]
mov dword [esi], ecx
lea ecx, [esp + 0xc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov eax, esi
pop esi
ret
Function at 0x4022e0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x144
mov ecx, 0x41
xor eax, eax
push ebp
push esi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x154]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
je 0x4023bf
dec eax
je 0x402371
dec eax
jne 0x402421
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x23
push 0
call fcn.004038d0
add esp, 0x14
lea ecx, [esp + 0xc]
push ecx
call edi
cmp byte [esp + eax + 0xb], 0x5c
je 0x402347
mov byte [esp + eax + 0xc], 0x5c
mov byte [esp + eax + 0xd], 0
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402421
mov eax, dword [esp + 0x158]
mov byte [eax], 0
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x144
ret
lea ecx, [esp + 0xc]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0xc]
push edx
call edi
cmp byte [esp + eax + 0xb], 0x5c
je 0x402399
mov byte [esp + eax + 0xc], 0x5c
mov byte [esp + eax + 0xd], 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402421
mov ecx, dword [esp + 0x158]
pop edi
pop esi
xor eax, eax
mov byte [ecx], 0
pop ebp
add esp, 0x144
ret
lea edx, [esp + 0xc]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0xc]
push eax
call edi
cmp byte [esp + eax + 0xb], 0x5c
je 0x4023e3
mov byte [esp + eax + 0xc], 0x5c
inc eax
lea esi, [esp + eax + 0xc]
push str.Temp
push esi
call ebp
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402415
mov edx, dword [esp + 0x158]
pop edi
pop esi
xor eax, eax
mov byte [edx], 0
pop ebp
add esp, 0x144
ret
push 0x409368
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.2403221101003683297441804
call edi
dec eax
cmp eax, 8
jl 0x402365
mov al, byte [eax + str.2403221101003683297441804]
cmp al, 0x30
jl 0x402365
cmp al, 0x39
jg 0x402365
movsx esi, al
sub esi, 0x30
and esi, 0x80000003
jns 0x40245b
dec esi
or esi, 0xfffffffc
inc esi
push str.2403221101003683297441804
add esi, 4
call edi
sub eax, esi
dec eax
xor ecx, ecx
lea edx, [eax + str.2403221101003683297441804]
mov al, byte [edx]
test al, al
je 0x40248d
test esi, esi
jle 0x40248d
add al, al
inc al
dec esi
mov byte [esp + ecx + 0x110], al
inc edx
inc ecx
cmp ecx, 0x40
jb 0x402470
lea eax, [esp + ecx + 0x111]
push 0x409364
push eax
mov byte [esp + ecx + 0x118], 0x2e
call ebp
lea ecx, [esp + 0xc]
push ecx
call edi
mov edx, 0x104
lea ecx, [esp + 0xc]
sub edx, eax
lea eax, [esp + 0x110]
push edx
push eax
push ecx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + eax + 0x14]
push edx
call esi
mov ecx, dword [esp + 0x158]
lea eax, [esp + 0xc]
push 0x103
push eax
push ecx
call esi
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x144
ret
Function at 0x402530
Capabilities:
Rebuild import table

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x88
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x40b9a4], eax
je 0x402785
mov ecx, 0x22
xor eax, eax
lea edi, [esp + 0x10]
push 0x30
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push str.2403221101003683297441804
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [0x40b9a4]
mov edx, dword [0x40ba14]
mov eax, dword [0x40ba18]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Load
push ecx
mov dword [esp + 0x48], 0x40ba1c
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], fcn.00404530
mov dword [esp + 0x58], fcn.00404740
mov dword [esp + 0x5c], fcn.00404840
mov dword [esp + 0x60], fcn.00404870
mov dword [esp + 0x64], fcn.00403f00
mov dword [esp + 0x68], fcn.00403ff0
mov dword [esp + 0x6c], fcn.00404070
mov dword [esp + 0x70], fcn.00404080
mov dword [esp + 0x74], fcn.004040a0
mov dword [esp + 0x78], fcn.00404200
mov dword [esp + 0x7c], fcn.00404260
mov dword [esp + 0x80], fcn.004042f0
mov dword [esp + 0x84], 0x404390
mov dword [esp + 0x88], 0x4043f0
mov dword [esp + 0x8c], fcn.00404420
mov dword [esp + 0x90], fcn.00404490
mov dword [esp + 0x94], fcn.00401280
mov dword [esp + 0x98], fcn.004021c0
mov dword [esp + 0x9c], fcn.00402fc0
call esi
mov edx, dword [0x40b9a4]
push 0x409384
push edx
mov ebp, eax
call esi
mov edi, eax
mov eax, dword [0x40b9a4]
push str.Stop
push eax
call esi
mov ecx, dword [0x40b9a4]
push str.Unload
push ecx
mov ebx, eax
call esi
mov esi, eax
mov al, byte [0x409080]
cmp al, 0xb9
jne 0x40269e
push 0x50
push 0x409080
push 0x409080
call fcn.00403ae0
add esp, 0xc
test ebp, ebp
jne 0x4026b9
mov edx, dword [esp + 0xa4]
push edx
push str.Load
push 0x409080
jmp 0x402759
test edi, edi
jne 0x4026d4
mov edx, dword [esp + 0xa4]
push edx
push 0x409384
push 0x409080
jmp 0x402759
test ebx, ebx
jne 0x4026ec
mov edx, dword [esp + 0xa4]
push edx
push str.Stop
push 0x409080
jmp 0x402759
test esi, esi
jne 0x402704
mov edx, dword [esp + 0xa4]
push edx
push str.Unload
push 0x409080
jmp 0x402759
lea edx, [esp + 0x10]
push edx
push 0x88
call ebp
test eax, eax
je 0x40272a
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
push eax
push ecx
call edi
call esi
jmp 0x40276e
cmp byte [0x4090d0], 0xb9
jne 0x402747
push 0x6c
push 0x4090d0
push 0x4090d0
call fcn.00403ae0
add esp, 0xc
mov edx, dword [esp + 0xa4]
push edx
push str.Load
push 0x4090d0
mov eax, dword [esp + 0xa8]
push 0x83
push eax
call fcn.00404840
add esp, 0x14
mov ecx, dword [0x40b9a4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x40b9a4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
Function at 0x10e0e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.10e0e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10e0e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10e0e06a
add dl, dl
jne 0x10e0e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10e0e0dc
xor eax, eax
add dl, dl
jne 0x10e0e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10e0e17d
add dl, dl
jne 0x10e0e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e0e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e0e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e0e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10e0e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10e0e075
mov eax, 1
add dl, dl
jne 0x10e0e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e0e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10e0e0e1
sub eax, ebx
mov ebx, 1
jne 0x10e0e128
mov ecx, 1
add dl, dl
jne 0x10e0e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10e0e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10e0e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10e0e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10e0e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10e0e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10e0e136
cmp eax, 0x7d00
jae 0x10e0e16d
cmp eax, 0x500
jb 0x10e0e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10e0e075
cmp eax, 0x7f
ja 0x10e0e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10e0e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10e0e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10e0e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10