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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
cmp dword [esi + 0x78], 0
jne 0x64077044
call sym.Qt5Network.dll_public:_enum_QDnsLookup::Error___thiscall_QDnsLookup::error_void_
test eax, eax
jne 0x640770b8
push 1
mov ecx, esi
call fcn.640777b0
cmp dword [esi + 0x3c], 2
je 0x640770ae
mov eax, dword [esi + 0x64]
test eax, eax
je 0x64077056
cmp eax, 4
jne 0x64077070
push 2
mov ecx, edi
call fcn.6406f590
mov eax, dword [esi + 0x78]
push 0
push 0x10000
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov eax, dword [esi + 0x78]
lea ecx, [esi + 0x6c]
mov ebp, dword [eax]
mov eax, dword [ebp]
mov ebx, dword [eax + 0x74]
call sym.Qt5Network.dll_public:_unsigned_short_int___thiscall_QNetworkProxy::port_void_const
movzx edi, ax
lea ecx, [esi + 0x6c]
lea eax, [esp + 0x14]
push eax
call sym.Qt5Network.dll_public:_class_QString___thiscall_QNetworkProxy::hostName_void_
push 2
push ecx
mov edx, esp
mov ecx, ebp
push edi
push eax
mov dword [edx], 3
call ebx
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ecx, edi
call sym.Qt5Network.dll_public:_enum_QDnsLookup::Error___thiscall_QDnsLookup::error_void_
cmp eax, 1
jne 0x64077124
push 3
mov ecx, esi
call fcn.640777b0
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push str.0.0.0.0
push 7
mov esi, dword [eax + 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_class_QString_const__
push 0
push eax
mov ecx, edi
call esi
lea ecx, [esp + 0x14]
mov bl, al
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x640770ae
push 3
mov ecx, edi
call fcn.6406f590
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0
push 0
push 0
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
push str.QSocks5SocketEngine::connectToHost:_in_QTcpServer_mode
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::fatal_char_const__const]
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x6407df93
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x2c
mov eax, dword [0x640f0ebc]
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_QDnsDomainNameRecord::constructor_class_QDnsDomainNameRecord_const__
lea ecx, [esp + 8]
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
test eax, eax
jne 0x6407dfe2
lea ecx, [esp + 8]
call sym.Qt5Network.dll_public:_enum_QSsl::SslProtocol___thiscall_QSslConfiguration::sessionProtocol_void_
and eax, 0xffff0000
cmp eax, 0xefff0000
jne 0x6407dfe2
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.6407fa70
cmp word [esp + 0x14], 0x17
jne 0x6407e044
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 + 0x64]
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 + 0x64]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x6407e0ff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x273f
jne 0x6407e0b4
lea ecx, [esp + 8]
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
cmp eax, 2
jne 0x6407e0b4
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:_enum_QSsl::SslProtocol___thiscall_QSslConfiguration::sessionProtocol_void_
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 + 0x64]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x6407e0ff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8e3
cmp eax, 0x24
ja case.0x6407e0cb.10014
movzx eax, byte [eax + 0x6407e138]
jmp dword [eax*4 + 0x6407e128]
push 0xe
push 8
mov ecx, esi
call fcn.6407cae0
xor bl, bl
jmp 0x6407e108
push 0x10
push 3
mov ecx, esi
call fcn.6407cae0
xor bl, bl
jmp 0x6407e108
push 0xf
push 9
mov ecx, esi
call fcn.6407cae0
xor bl, bl
jmp 0x6407e108
mov dword [esi + 0x3c], 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.640ae828
add esp, 0x2c
ret 8
Function at 0x6407eddd
Capabilities:
Get socket status

Disassembly:
sub esp, 0x328
mov eax, dword [0x640f0ebc]
xor eax, esp
mov dword [esp + 0x324], eax
mov eax, dword [esp + 0x32c]
push ebx
mov bl, byte [esp + 0x334]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x33c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x340]
mov dword [esp + 0x10], eax
push esi
mov esi, ecx
push edi
test bl, bl
je 0x6407ee08
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x6407ee08
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QSocketNotifier::isEnabled_void_const]
test al, al
je 0x6407ee08
mov ecx, dword [esi + 0x68]
push 0
mov byte [esp + 0x13], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QSocketNotifier::setEnabled_bool_]
jmp 0x6407ee0d
mov byte [esp + 0xf], 0
push 0x104
lea eax, [esp + 0x12c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test bl, bl
je 0x6407ee3d
mov eax, dword [esi + 0x64]
mov dword [esp + 0x128], 1
mov dword [esp + 0x12c], eax
mov ebx, dword [esi + 0x64]
lea eax, [esp + 0x22c]
push 0x104
push 0
push eax
mov edi, ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x24], 0
cmp byte [esp + 0x340], 0
je 0x6407ee89
mov dword [esp + 0x22c], 1
mov dword [esp + 0x230], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 1
mov ebx, dword [esp + 0x10]
mov eax, 0x10624dd3
imul ebx
mov ecx, ebx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
imul eax, eax, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
xor ecx, ecx
test ebx, ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
cmovs eax, ecx
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x234]
push eax
lea eax, [esp + 0x134]
push eax
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov edi, eax
test edi, edi
jle 0x6407eef9
lea eax, [esp + 0x24]
push eax
push dword [esi + 0x64]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x6407eef9
dec edi
cmp byte [esp + 0xf], 0
je 0x6407ef0b
mov ecx, dword [esi + 0x68]
push 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QSocketNotifier::setEnabled_bool_]
test edi, edi
jle 0x6407ef45
lea eax, [esp + 0x128]
push eax
push dword [esi + 0x64]
call sub.WS2_32.dll___WSAFDIsSet
mov ecx, dword [esp + 0x14]
test eax, eax
setne al
mov byte [ecx], al
lea eax, [esp + 0x22c]
push eax
push dword [esi + 0x64]
call sub.WS2_32.dll___WSAFDIsSet
mov ecx, dword [esp + 0x18]
test eax, eax
setne al
mov byte [ecx], al
mov ecx, dword [esp + 0x330]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.640ae828
add esp, 0x328
ret 0x14
Function at 0x6407f993
Capabilities:
Set socket configuration

Disassembly:
mov ecx, dword [ecx + 4]
jmp 0x6407f990
sub esp, 8
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
test al, al
je case.0x6407f9b4.3
mov ecx, dword [esp + 0x10]
cmp ecx, 0xe
ja case.0x6407f9b4.1
movzx eax, byte [ecx + 0x6407fa54]
jmp dword [eax*4 + 0x6407fa48]
mov eax, dword [esp + 0x14]
push 0
push 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push 0x8004667e
push dword [esi + 0x64]
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x6407fa3c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor al, al
pop esi
add esp, 8
ret 8
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 8]
push eax
push dword [esi + 0x44]
push ecx
call fcn.6407d560
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, 0xffffffff
je case.0x6407f9b4.3
push 4
lea ecx, [esp + 0x18]
push ecx
push eax
push dword [esp + 0x10]
push dword [esi + 0x64]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x6407f9f5
mov al, 1
pop esi
add esp, 8
ret 8
Function at 0x64083730
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [esp + 0xc]
cmp eax, 8
ja case.default.0x64083739
jmp dword [eax*4 + 0x640837a8]
push str.Organization
jmp 0x6408377d
push str.CommonName
jmp 0x6408377d
push str.CountryName
jmp 0x6408377d
push str.LocalityName
jmp 0x6408377d
push str.OrganizationalUnitName
jmp 0x6408377d
push str.StateOrProvinceName
jmp 0x6408377d
push str.DistinguishedNameQualifier
jmp 0x6408377d
push str.SerialNumber
jmp 0x6408377d
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 + 4]
lea eax, [esp + 8]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::constructor_class_QDebug__]
lea ecx, [esp + 8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov eax, dword [esp + 4]
ret

Function at 0x6408a1e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg ebx, eax
lea eax, [ebp - 0x40]
push eax
call fcn.64089eaf
push eax
push esi
push dword [ebp + 8]
call fcn.64089e64
add esp, 0x10
mov dword [ebp - 0x88], eax
invalid
popfd
cld

Function at 0x6408a260
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
invalid
inc ebp

Function at 0x6408a270
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cdq
sub dh, al
inc ebp
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6

Function at 0x6408a2d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.64089eaf
push eax
push esi
push dword [ebp + 8]
call fcn.64089e64
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.64089e9f
dec eax
cmpsb byte [esi], byte es:[edi]
mov ch, al
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.64089e9f
and ebx, edx
rcr dword [0xff7c858d], cl
invalid
Function at 0x6408a550
Capabilities:
Inspect section memory permissions

Disassembly:
add al, 0xeb
test eax, 0xeb0c5d89
push es
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x6408a576
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x6408a594
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x6408a5f2
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x6408a5d9
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x6408a5e2
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x6408a5ec
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x6408a5ce
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x6408a558
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x6408a63f
dec eax
je 0x6408a636
sub eax, 3
je 0x6408a62d
mov dword [ebp - 4], 0x40
jmp 0x6408a65c
mov dword [ebp - 4], 4
jmp 0x6408a642
mov dword [ebp - 4], 0x20
jmp 0x6408a642
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x6408a68e
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x6408a60e
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.64089e9f
fmul dword [esi]
aam 0x6f
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x6408a69a
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x6408a720
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax - 0x3a]
test dword [esp + edi*8 - 0x39bb0001], edi
test dword [ebp + 0x55fffffc], edi
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.64089eaf
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.64089e64
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4

Function at 0x6408a790
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
invalid
test dword [ecx - 4], ecx
invalid
Function at 0x6408ab60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x6408ab93
cmp dword [ebp - 0x398], 0
je 0x6408ad5d
cmp dword [ebp + 0xc], 1
je 0x6408ad5d
cmp dword [ebp + 0xc], 8
jne 0x6408ad25
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.64089eaf
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.64089e64
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
invalid
invalid
stc
Function at 0x100a7c1
Capabilities:
Link many functions at runtime

Disassembly:
push 0x14
mov eax, 0x1025b0e
call fcn.0100a094
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x10], 0x1001c58
cmp ebx, edi
je 0x100a80e
mov esi, ebx
mov dword [ebp - 0x10], ebx
cmp word [ebx], di
je 0x100a806
push 7
push 0x1002b30
push esi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
inc esi
inc esi
mov dword [ebp - 0x10], esi
test eax, eax
je 0x100a806
cmp word [esi], di
jne 0x100a7e7
cmp word [esi], di
jne 0x100a80e
mov dword [ebp - 0x10], ebx
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x100a838
test byte [eax + 0x1c], 0x80
je 0x100a838
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push 0x1002a4c
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a6e3
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x100a84c
mov ecx, dword [eax]
push 0x4033c3ab
push eax
call dword [ecx + 0x28]
pop ecx
pop ecx
push 0x1002b20
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], edi
cmp ebx, edi
je 0x100a915
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1002b10
push ebx
call esi
push 0x1002af8
push ebx
mov dword [ebp - 0x14], eax
call esi
push 0x1002ae4
push ebx
mov dword [ebp + 0x18], eax
call esi
push 0x1002ad4
push ebx
mov dword [ebp - 0x18], eax
call esi
push 0x1002abc
push ebx
mov dword [ebp - 0x1c], eax
call esi
mov esi, eax
cmp dword [ebp - 0x14], edi
je 0x100a915
cmp dword [ebp - 0x18], edi
je 0x100a915
cmp dword [ebp + 0x18], edi
je 0x100a915
cmp dword [ebp - 0x1c], edi
je 0x100a915
cmp esi, edi
je 0x100a915
lea eax, [ebp + 8]
push eax
push edi
push edi
push 0x1002aa4
mov dword [ebp + 8], edi
call dword [ebp - 0x14]
test eax, eax
jne 0x100a915
push edi
push edi
push edi
push 2
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push dword [ebp + 8]
call dword [ebp - 0x18]
push dword [ebp - 0x10]
push 0x1002a90
push edi
push dword [ebp + 8]
call dword [ebp + 0x18]
push dword [ebp + 0x10]
push 0x1002a78
push 1
push dword [ebp + 8]
call dword [ebp + 0x18]
push edi
push 0x80
push 2
push dword [ebp + 8]
call dword [ebp - 0x1c]
push dword [ebp + 8]
call esi
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp ebx, edi
je 0x100a929
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.0100a180
ret 0x14
Function at 0x100c7a1
Capabilities:
Check os version
Delete registry key
Get common file path

Disassembly:
push 0x334
mov eax, 0x1025b59
call fcn.0100a107
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x338]
push eax
mov dword [ebp - 0x33c], esi
mov dword [ebp - 0x338], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100c7e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100c8d4
cmp dword [ebp - 0x334], 5
ja 0x100c80f
jne 0x100c802
cmp dword [ebp - 0x330], 2
ja 0x100c80f
jne 0x100c802
cmp word [ebp - 0x224], 1
jae 0x100c80f
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x100c8d4
mov esi, 0x104
push esi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x100c7d7
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
xor edi, edi
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x100c831
sub eax, edx
push 0x5c
sar eax, 1
pop ecx
cmp cx, word [ebp + eax*2 - 0x21e]
lea eax, [ebp - 0x21c]
jne 0x100c859
push 0x1003678
jmp 0x100c85e
push 0x100365c
push esi
push eax
call fcn.0100b6ba
cmp eax, edi
jge 0x100c880
mov ecx, eax
and ecx, 0x1fff0000
cmp ecx, 0x70000
jne 0x100c8d4
and eax, 0xffff
jmp 0x100c8d4
push edi
push edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x340], esi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x100c7d7
push 0x100364c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
jne 0x100c8ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100c8c9
push edi
push 0x100
push dword [ebp - 0x33c]
push ebx
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
call fcn.0100a199
ret 8
Function at 0x100cd65
Capabilities:
Get domain information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 8]
push eax
xor edi, edi
push 1
push edi
mov esi, ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov byte [ebp - 1], 1
call sub.NETAPI32.dll_DsRoleGetPrimaryDomainInformation
test eax, eax
jne 0x100cdbe
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], edi
je 0x100cdbe
mov eax, dword [eax + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x100cd9b
sub eax, edx
sar eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
cmp eax, edi
jne 0x100cdc7
mov byte [ebp - 1], 0
jmp 0x100ce53
sub eax, dword [esi + 4]
push ebx
sar eax, 1
mov ebx, eax
je 0x100ce4e
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
inc ebx
push ebx
call fcn.0100b351
test eax, eax
jl 0x100ce4e
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 0xc]
call fcn.0100b351
test eax, eax
jl 0x100ce4e
push edi
lea eax, [ebp - 2]
push eax
mov eax, dword [ebp - 0xc]
push 2
xor ecx, ecx
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.WsmSvc.DLL_public:_static_void____stdcall_WSManMemory::Alloc_unsigned_int__class_TestSystem::CallSite_const___enum_TestSystem::Mode_
lea edi, [esi + 8]
push eax
mov ecx, edi
call fcn.0100c8e1
mov edi, dword [edi]
test edi, edi
je 0x100ce4e
mov esi, dword [esi + 4]
push ebx
push esi
lea eax, [ebx + 1]
push eax
push edi
call fcn.0100b66b
test eax, eax
jl 0x100ce4e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
push eax
push dword [ecx + 0xc]
inc eax
push eax
lea eax, [edi + ebx*2]
push eax
call fcn.0100b66b
test eax, eax
jge 0x100ce52
mov byte [ebp - 1], 0
pop ebx
cmp dword [ebp - 8], 0
pop edi
pop esi
je 0x100ce63
push dword [ebp - 8]
call sub.NETAPI32.dll_DsRoleFreeMemory
mov al, byte [ebp - 1]
leave
ret