joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419a20
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x419a91
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x419a6e
push str.ACCESS_DENIED:_administrative_privileges_required._n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 4
lea eax, [esi + 2]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b5b1
mov esp, ebp
pop ebp
ret
push eax
push str.OpenSCManager_failed___d__n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 8
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b5b1
mov esp, ebp
pop ebp
ret
push edi
push 0x20000000
push str.jhi_service
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x419ae9
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 5
je 0x419b17
cmp eax, 0x424
jne 0x419b64
push str.Error:_the_service_does_not_exist._n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 4
lea eax, [edi + 4]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b5b1
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x419b8a
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 5
jne 0x419b3a
push str.ACCESS_DENIED:_administrative_privileges_required._n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 4
mov eax, 2
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b5b1
mov esp, ebp
pop ebp
ret
cmp eax, 0x426
jne 0x419b64
push str.Error:_JHI_service_has_not_been_started._n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 4
mov eax, 6
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b5b1
mov esp, ebp
pop ebp
ret
call esi
push eax
push str.Stop_Service_failed:___d__n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 8
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b5b1
mov esp, ebp
pop ebp
ret
push str.JHI_Service_terminated_successfully_n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 4
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0041b5b1
mov esp, ebp
pop ebp
ret
Function at 0x40644e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406472
xor eax, eax
test eax, eax
je 0x406485
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406485
xor ecx, ecx
jmp 0x406488
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x40656f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4318ec], 0
push esi
jne 0x4065a6
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406580
mov dword [ecx*4 + 0x4318e8], eax
inc ecx
cmp ecx, 0x100
jl 0x40657b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4065d7
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4318e8]
xor eax, esi
inc ecx
dec edx
jne 0x4065b9
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x6e0d08dc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_getenv
mov dword [esp + 4], eax
mov dword [esp], ebx
call method.QByteArray.QByteArray_char_const_
mov eax, ebx
add esp, 0x14
pop ebx
leave
ret 4

Function at 0x6e0d1218
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x6e345168]
test eax, eax
je 0x6e0d122c
leave
ret
mov dword [0x6e345168], 0x10
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetVersionExW
push edx
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x6e0d1278
dec eax
je 0x6e0d128c
mov eax, dword [ebp - 0x118]
cmp eax, 4
ja 0x6e0d12b0
mov dword [0x6e345168], 0x10
mov eax, 0x10
leave
ret
mov dword [0x6e345168], 1
mov eax, 1
leave
ret
mov eax, dword [ebp - 0x114]
cmp eax, 0x5a
je 0x6e0d1304
cmp eax, 0xa
je 0x6e0d1314
mov dword [0x6e345168], 2
mov eax, 2
leave
ret
cmp eax, 5
je 0x6e0d12ec
cmp eax, 6
je 0x6e0d1340
mov edx, dword [ebp - 0x114]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], str.Qt:_Untested_Windows_version__d._d_detected_
call sym.QtCore4.dll_qWarning_char_const__::_
mov dword [0x6e345168], 0xf0
mov eax, 0xf0
leave
ret
mov edx, dword [ebp - 0x114]
test edx, edx
jne 0x6e0d1322
mov dword [0x6e345168], 0x20
mov al, 0x20
leave
ret
mov dword [0x6e345168], 4
mov al, 4
leave
ret
mov dword [0x6e345168], 3
mov al, 3
leave
ret
cmp edx, 1
je 0x6e0d137a
cmp edx, 2
jne 0x6e0d12c4
mov dword [0x6e345168], 0x40
mov eax, 0x40
leave
ret
mov edx, dword [ebp - 0x114]
test edx, edx
jne 0x6e0d135b
mov dword [0x6e345168], 0x80
mov eax, pe_nt_image_headers32
leave
ret
cmp edx, 1
je 0x6e0d138b
cmp edx, 2
jne 0x6e0d12c4
mov dword [0x6e345168], 0xa0
mov eax, 0xa0
leave
ret
mov dword [0x6e345168], 0x30
mov eax, 0x30
leave
ret
mov dword [0x6e345168], 0x90
mov eax, 0x90
leave
ret
Function at 0x6e0d72b8
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [sym.QtCore4.dll_qt_global_mutexpool]
test ecx, ecx
je 0x6e0d72cc
leave
ret
call method.QMutexPool.instance__
mov dword [sym.QtCore4.dll_qt_global_mutexpool], eax
leave
jmp fcn.6e0da58c

Function at 0x6e0da58c
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
cmp dword [section..data], 0xffffffff
je 0x6e0da5a4
add esp, 0x24
pop ebx
leave
ret
cmp byte [0x6e3452a8], 0
jne 0x6e0da5ec
mov dword [esp], 0x6e3452a8
call fcn.6e255e1c
test eax, eax
je 0x6e0da5ec
mov dword [esp + 4], 0
mov dword [esp], 0x6e3452b8
call method.QMutex.QMutex_QMutex::RecursionMode_
mov dword [esp], 0x6e3452a8
call fcn.6e255ed0
mov dword [esp], 0x6e0d978c
call fcn.6e0c1110
lea esi, [esi]
mov edx, dword [0x6e3452b8]
test byte [edx + 4], 1
jne 0x6e0da66c
xor eax, eax
mov ecx, 1
lock cmpxchg dword [edx], ecx
sete cl
test cl, cl
je 0x6e0da65c
mov eax, 0x6e3452b8
or eax, 1
mov dword [ebp - 0xc], eax
call sub.KERNEL32.dll_TlsAlloc
mov dword [section..data], eax
mov ecx, dword [ebp - 0xc]
test cl, 1
je 0x6e0da59c
and ecx, 0xfffffffe
mov dword [ebp - 0xc], ecx
mov edx, dword [ecx]
test byte [edx + 4], 1
jne 0x6e0da67c
mov eax, 1
xor ebx, ebx
lock cmpxchg dword [edx], ebx
sete bl
test bl, bl
jne 0x6e0da59c
mov dword [esp], ecx
call method.QMutex.unlockInternal__
jmp 0x6e0da59c
mov dword [esp], 0x6e3452b8
call method.QMutex.lockInternal__
jmp 0x6e0da60a
mov dword [esp], 0x6e3452b8
call method.QMutex.lock__
jmp 0x6e0da60a
mov dword [esp], ecx
call method.QMutex.unlock__
jmp 0x6e0da59c
Function at 0x6e0db004
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
call fcn.6e0da58c
mov eax, dword [section..data]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
push edx
mov ebx, eax
test eax, eax
je 0x6e0db030
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 2
call method.QInternal.activateCallbacks_QInternal::Callback__void_
test al, al
je 0x6e0db104
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x74]
mov dword [esp + 4], ebx
mov eax, dword [section..data]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsSetValue
sub esp, 8
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
mov byte [edx + 0x50], 1
mov byte [edx + 0x51], 0
mov dword [esp], eax
call fcn.6e0d9804
mov byte [ebx + 0x38], 1
call fcn.6e227634
mov dword [ebx + 8], eax
mov esi, dword [sym.QtCore4.dll_QCoreApplicationPrivate::theMainThread]
test esi, esi
je 0x6e0db164
mov dword [ebp - 0x20], 0xffffffff
call sub.KERNEL32.dll_GetCurrentProcess
mov edi, eax
call sub.KERNEL32.dll_GetCurrentThread
mov esi, eax
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x20]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.KERNEL32.dll_DuplicateHandle
sub esp, 0x1c
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.6e0dacd8
jmp 0x6e0db026
mov dword [esp], 0x3c
call fcn.6e25496c
mov esi, eax
mov ebx, eax
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.6e0d742c
mov dword [esp + 4], esi
mov eax, dword [section..data]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsSetValue
sub esp, 8
mov dword [esp], 8
call fcn.6e25496c
mov edi, eax
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.6e0d826c
mov dword [esi + 4], edi
mov dword [esp], esi
call fcn.6e0d78dc
jmp 0x6e0db085
mov eax, dword [ebx + 4]
mov dword [sym.QtCore4.dll_QCoreApplicationPrivate::theMainThread], eax
jmp 0x6e0db026
Function at 0x6e0dc1dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
shl edx, 3
mov ecx, dword [ecx + 0xc]
movsx ecx, byte [ecx]
sub edx, ecx
mov ecx, dword [esi + 8]
shl ecx, 3
mov esi, dword [esi + 0xc]
movsx esi, byte [esi]
sub ecx, esi
cmp edx, ecx
jge 0x6e0dc211
mov edx, ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x1c], eax
call method.QBitArray.resize_int_
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [edx]
dec ecx
je 0x6e0dc26c
mov edx, dword [edx + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x1c], eax
call method.QByteArray.realloc_int_
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [edx + 0xc]
mov edx, dword [ebx]
mov esi, dword [edx + 0xc]
mov edi, dword [edx + 8]
cmp edi, 1
jle 0x6e0dc261
dec edi
xor edx, edx
mov bl, byte [esi + edx + 1]
xor byte [ecx + edx + 1], bl
inc edx
cmp edx, edi
jne 0x6e0dc254
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
mov ecx, dword [edx + 0xc]
lea esi, [edx + 0x10]
cmp ecx, esi
jne 0x6e0dc22a
jmp 0x6e0dc244

Function at 0x6e0dcb0c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x6e0dcb5d
xor ecx, ecx
mov eax, 0xffffffff
nop
mov edx, eax
shr dx, 4
movzx ebx, byte [edi + ecx]
xor eax, ebx
and eax, 0xf
xor dx, word [eax + eax + 0x6e27ab40]
mov eax, edx
shr ax, 4
shr ebx, 4
and edx, 0xf
xor edx, ebx
xor ax, word [edx + edx + 0x6e27ab40]
inc ecx
cmp esi, ecx
jne 0x6e0dcb24
not eax
pop ebx
pop esi
pop edi
leave
ret
xor eax, eax
jmp 0x6e0dcb58
Function at 0x6e0de6d8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
lea edi, [ebp - 0x59]
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov ecx, 0x41
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 8], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
shl ecx, 2
mov edx, 0x55555556
mov eax, ecx
imul edx
sar ecx, 0x1f
sub edx, ecx
add edx, 3
mov dword [esp + 4], edx
mov edx, dword [ebp + 8]
mov dword [esp], edx
call method.QByteArray.QByteArray_int__Qt::Initialization_
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
dec eax
je 0x6e0de8a0
mov eax, dword [edx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call method.QByteArray.realloc_int_
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov eax, dword [eax + 0xc]
add eax, 3
xor edx, edx
mov dword [ebp - 0x6c], 0
jmp 0x6e0de7ad
movzx ebx, byte [edi + ebx]
shl ebx, 8
or ebx, esi
lea esi, [edx + 2]
cmp ecx, esi
je 0x6e0de7f4
movzx esi, byte [edi + esi]
or esi, ebx
lea ecx, [edx + 3]
mov edx, esi
shr edx, 0x12
mov dl, byte [ebp + edx - 0x59]
mov byte [eax - 3], dl
mov edx, esi
and edx, 0x3f000
sar edx, 0xc
mov dl, byte [ebp + edx - 0x59]
mov byte [eax - 2], dl
cmp dword [ebp - 0x6c], 2
jne 0x6e0de874
mov byte [eax - 1], 0x3d
mov byte [eax], 0x3d
add eax, 4
mov edx, ecx
lea ebx, [eax - 3]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
mov ecx, dword [esi + 8]
cmp edx, ecx
jge 0x6e0de830
mov edi, dword [esi + 0xc]
movzx esi, byte [edi + edx]
shl esi, 0x10
lea ebx, [edx + 1]
cmp ecx, ebx
jne 0x6e0de75c
mov edx, esi
shr edx, 0x12
mov dl, byte [ebp + edx - 0x59]
mov byte [eax - 3], dl
and esi, 0x3f000
sar esi, 0xc
mov dl, byte [ebp + esi - 0x59]
mov byte [eax - 2], dl
mov dword [ebp - 0x6c], 2
jmp 0x6e0de7a1
mov edx, ebx
shr edx, 0x12
mov dl, byte [ebp + edx - 0x59]
mov byte [eax - 3], dl
mov edx, ebx
and edx, 0x3f000
sar edx, 0xc
mov dl, byte [ebp + edx - 0x59]
mov byte [eax - 2], dl
and ebx, 0xfc0
sar ebx, 6
mov dl, byte [ebp + ebx - 0x59]
mov byte [eax - 1], dl
mov dword [ebp - 0x6c], 1
jmp 0x6e0de7a5
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov edx, dword [eax]
dec edx
je 0x6e0de8b4
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call method.QByteArray.realloc_int_
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov edx, dword [eax + 0xc]
sub ebx, edx
mov dword [esp + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call method.QByteArray.truncate_int_
mov eax, dword [ebp + 8]
add esp, 0x7c
pop ebx
pop esi
pop edi
leave
ret 4
mov edx, esi
and edx, 0xfc0
sar edx, 6
mov dl, byte [ebp + edx - 0x59]
mov byte [eax - 1], dl
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
jne 0x6e0de7a5
and esi, 0x3f
mov dl, byte [ebp + esi - 0x59]
mov byte [eax], dl
jmp 0x6e0de7a8
mov eax, dword [edx + 0xc]
lea ecx, [edx + 0x10]
cmp eax, ecx
jne 0x6e0de731
jmp 0x6e0de74b
mov edx, dword [eax + 0xc]
lea ecx, [eax + 0x10]
cmp edx, ecx
jne 0x6e0de83a
jmp 0x6e0de854
Function at 0x6e0e29b8
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax]
cmp edx, 1
je 0x6e0e2a50
cmp edx, 2
je 0x6e0e2a10
test edx, edx
jne 0x6e0e2a01
mov dword [eax + 0x10], 0x67452301
mov dword [eax + 0x14], 0xefcdab89
mov dword [eax + 0x18], 0x98badcfe
mov dword [eax + 0x1c], 0x10325476
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
add eax, 0xa0
mov dword [ebp + 8], eax
leave
jmp method.QByteArray.clear__
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
add eax, 0xa0
mov dword [ebp + 8], eax
leave
jmp method.QByteArray.clear__
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
add eax, 0xa0
mov dword [ebp + 8], eax
leave
jmp method.QByteArray.clear__

Function at 0x6e0e2b30
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp], 0xa8
call fcn.6e25496c
mov dword [eax + 0xa0], sym.QtCore4.dll_QByteArray::shared_null
mov edx, sym.QtCore4.dll_QByteArray::shared_null
lock inc dword [edx]
setne cl
mov dword [ebx], eax
mov dword [eax], esi
mov dword [ebp + 8], ebx
add esp, 0x10
pop ebx
pop esi
leave
jmp fcn.6e0e29b8

Function at 0x6e0e2b74
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp], 0xa8
call fcn.6e25496c
mov dword [eax + 0xa0], sym.QtCore4.dll_QByteArray::shared_null
mov edx, sym.QtCore4.dll_QByteArray::shared_null
lock inc dword [edx]
setne cl
mov dword [ebx], eax
mov dword [eax], esi
mov dword [ebp + 8], ebx
add esp, 0x10
pop ebx
pop esi
leave
jmp fcn.6e0e29b8
Function at 0x6e12aed0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x44
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
test eax, eax
je 0x6e12aee8
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0xc], 8
lea eax, [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x1014
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.KERNEL32.dll_GetLocaleInfoW
sub esp, 0x10
test eax, eax
je 0x6e12af70
mov eax, dword [ebp - 0x18]
cmp ax, 0x31
je 0x6e12af5e
cmp ax, 0x30
je 0x6e12af94
cmp ax, 0x32
je 0x6e12af80
mov dword [esp + 0xc], 0xb
lea eax, [ebp - 0x2e]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x13
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.KERNEL32.dll_GetLocaleInfoW
sub esp, 0x10
test eax, eax
je 0x6e12af70
movzx edx, word [ebp - 0x18]
movzx eax, word [ebp - 0x2e]
add eax, 2
cmp edx, eax
je 0x6e12af80
mov dword [ebx + 8], 3
mov eax, 3
jmp 0x6e12aee1
mov dword [ebx + 8], 3
mov al, 3
mov ebx, dword [ebp - 4]
leave
ret
mov dword [ebx + 8], 2
mov eax, 2
jmp 0x6e12aee1
mov dword [ebx + 8], 1
mov eax, 1
jmp 0x6e12aee1
Function at 0x6e12b258
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xbc
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x6e12b2a8
mov dword [ebp - 0xac], eax
cmp eax, 0x40
jle 0x6e12b2b2
shl eax, 1
mov dword [esp], eax
call sym.QtCore4.dll_qMalloc_unsigned_int_
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x6e12b3d8
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xa8]
jmp 0x6e12b2ce
mov dword [ebp - 0xac], 0x40
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb0], 0x40
mov edx, dword [ebp - 0xac]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
lea esi, [ebp - 0xb0]
call sub.KERNEL32.dll_GetLocaleInfoW
sub esp, 0x10
test eax, eax
jne 0x6e12b32c
mov dword [edi], sym.QtCore4.dll_QString::shared_null
lock inc dword [sym.QtCore4.dll_QString::shared_null]
setne al
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa0]
cmp eax, edx
je 0x6e12b31d
mov dword [esp], eax
call sym.QtCore4.dll_qFree_void_
mov eax, edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret 4
lea esi, [ebp - 0xb0]
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
je 0x6e12b360
mov dword [esp + 8], 0xffffffff
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], eax
mov dword [esp], edi
lea esi, [ebp - 0xb0]
call method.QString.fromWCharArray_wchar_t_const__int_
push edx
jmp 0x6e12b305
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.KERNEL32.dll_GetLocaleInfoW
sub esp, 0x10
test eax, eax
je 0x6e12b2f5
mov dword [esp + 4], eax
lea esi, [ebp - 0xb0]
mov dword [esp], esi
call fcn.6e235ac0
mov eax, dword [ebp - 0xac]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.KERNEL32.dll_GetLocaleInfoW
sub esp, 0x10
test eax, eax
jne 0x6e12b33c
jmp 0x6e12b2f5
call sym.QtCore4.dll_qBadAlloc__
jmp 0x6e12b294
Function at 0x6e12bfcc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], 4
lea edi, [ebp - 0x24]
mov dword [esp + 8], edi
mov dword [esp + 4], 0x100c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.KERNEL32.dll_GetLocaleInfoW
sub esp, 0x10
test eax, eax
je 0x6e12c05c
lea ebx, [ebp - 0x1c]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], edi
mov dword [esp], ebx
call method.QString.fromWCharArray_wchar_t_const__int_
push edx
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], ebx
call method.QString.toUInt_bool__int__const
inc eax
mov dword [esp + 4], eax
mov dword [esp], esi
call method.QVariant.QVariant_unsigned_int_
mov eax, dword [ebp - 0x1c]
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e12c078
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret 4
mov dword [esp + 4], 1
mov dword [esp], esi
call method.QVariant.QVariant_int_
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret 4
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call method.QString.free_QString::Data_
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret 4

Function at 0x6e12c0a4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x22c
mov ebx, eax
mov dword [eax], sym.QtCore4.dll_QString::shared_null
lock inc dword [sym.QtCore4.dll_QString::shared_null]
setne al
mov dword [esp + 0xc], 0xff
lea esi, [ebp - 0x21c]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x5a
mov dword [esp], edx
call sub.KERNEL32.dll_GetLocaleInfoW
sub esp, 0x10
test eax, eax
jne 0x6e12c0f8
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
lea edi, [ebp - 0x1c]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], esi
mov dword [esp], edi
call method.QString.fromWCharArray_wchar_t_const__int_
push ecx
mov dword [esp + 4], edi
mov dword [esp], ebx
call method.QString.operator_QString_const_
mov eax, dword [ebp - 0x1c]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e12c0eb
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call method.QString.free_QString::Data_
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret