joyce8/EMBER2024-capa huggingface dataset:
Function at 0x660e3de4
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and word [ebp - 0x10], 0
lea esi, [eax + 0x50]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.66024e0e
cmp word [eax], 0xa
jne 0x660e3e2d
xor ecx, ecx
cmp dword [eax + 8], ecx
setge cl
dec ecx
mov edi, ecx
mov ecx, esi
call sym.MSVBVM60.DLL___vbaFreeVar
mov ax, di
pop edi
pop esi
leave
ret 4
push eax
call sym.MSVBVM60.DLL___vbaBoolVar
mov edi, eax
jmp 0x660e3e1d

Function at 0x660e3e37
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and word [ebp - 0x10], 0
lea edi, [eax + 0x50]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.66024e0e
cmp word [eax], 0xa
jne 0x660e3ea1
push esi
mov esi, dword [eax + 8]
push esi
call fcn.6602467a
cmp eax, 0x1b8
jne 0x660e3e80
cmp esi, 0x800a01b8
mov ebx, esi
jne 0x660e3e82
mov ebx, eax
test ebx, 0xffffff00
je 0x660e3e91
push 6
call fcn.66024fdc
pop esi
mov ecx, edi
call sym.MSVBVM60.DLL___vbaFreeVar
mov al, bl
pop edi
pop ebx
leave
ret 4
push eax
call fcn.660e315d
mov bl, al
jmp 0x660e3e92

Function at 0x660e4303
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
push 0xc
pop edi
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [ebp + 8]
add eax, 0x50
mov dword [ebp - 4], eax
mov esi, 0x4000
mov dx, word [ecx]
movzx eax, dx
and ah, 0xbf
dec eax
dec eax
je 0x660e43c0
sub eax, 7
jne 0x660e4365
test si, dx
je 0x660e4360
mov eax, dword [ecx + 8]
mov ecx, dword [eax]
push dword [ebp - 4]
push 3
push 0
push 0
push 0
push 0
push ecx
call fcn.660ddd03
mov ecx, dword [ebp - 4]
jmp 0x660e4328
mov ecx, dword [ecx + 8]
jmp 0x660e4348
dec eax
dec eax
je 0x660e43c0
sub eax, 6
je 0x660e43ac
push ecx
call fcn.660243e5
lea ecx, [ebp - 4]
mov dl, al
dec edi
and dl, 7
dec ecx
movsx dx, dl
dec ecx
add edx, 0x30
shr eax, 3
mov word [ecx], dx
jne 0x660e4377
push 0xc
pop eax
sub eax, edi
push eax
lea eax, [ebp + edi*2 - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
jne 0x660e43db
push 0xe
call fcn.66024fdc
test si, dx
je 0x660e43bb
mov eax, dword [ecx + 8]
mov cl, byte [eax]
movzx eax, cl
jmp 0x660e4374
mov cl, byte [ecx + 8]
jmp 0x660e43b6
test si, dx
je 0x660e43d5
mov eax, dword [ecx + 8]
mov cx, word [eax]
and ecx, 0xffff
mov eax, ecx
jmp 0x660e4374
mov cx, word [ecx + 8]
jmp 0x660e43cb
mov ecx, dword [ebp - 4]
call sym.MSVBVM60.DLL___vbaFreeVar
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x660e4cbd
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x6610ed74], esi
je 0x660e4de9
push dword [ebp + 0xc]
call fcn.6602618b
mov edi, eax
pop ecx
inc edi
push 1
lea ecx, [ebp - 0x94]
push esi
lea eax, [edi + edi]
push ecx
push eax
push esi
push 0x78
lea ecx, [ebp - 0x10]
call fcn.660d9ad7
mov ecx, dword [ebp - 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp ecx, esi
mov dword [ebp - 4], ecx
je 0x660e4d1b
push esi
lea eax, [edi + edi]
push esi
push eax
push ecx
push edi
push dword [ebp + 0xc]
push esi
push esi
call ebx
cmp dword [ebp - 4], esi
je 0x660e4d93
mov eax, dword [ebp + 0x14]
cmp eax, esi
jbe 0x660e4de1
cmp eax, 2
jbe 0x660e4d39
cmp eax, 7
jne 0x660e4de1
mov edi, dword [ebp + 0x1c]
cmp edi, esi
jne 0x660e4d58
push esi
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
jmp 0x660e4dd5
push esi
push esi
shr edi, 1
push esi
push esi
push edi
push dword [ebp + 0x18]
push esi
push esi
call ebx
mov dword [ebp + 0xc], eax
push 1
lea eax, [ebp - 0x10c]
push esi
push eax
lea ecx, [ebp - 0x1c]
push dword [ebp + 0x1c]
push esi
push 0x78
call fcn.660d9ad7
mov eax, dword [ebp - 0x18]
cmp eax, esi
mov dword [ebp + 0x1c], eax
jne 0x660e4da5
lea ecx, [ebp - 0x1c]
call fcn.66029978
lea ecx, [ebp - 0x10]
call fcn.66029978
push 0xe
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x18
push esi
push esi
push dword [ebp + 0xc]
push eax
push edi
push dword [ebp + 0x18]
push esi
push esi
call ebx
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.66029978
lea ecx, [ebp - 0x10]
call fcn.66029978
mov eax, esi
jmp 0x660e4d9e
push dword [ebp + 0x1c]
jmp 0x660e4d41
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x660e4d9e

Function at 0x660e4e62
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
xor eax, eax
cmp dword [0x6610ed74], eax
je 0x660e4eb2
cmp dword [ebp + 0xc], eax
push eax
je 0x660e4ea7
push eax
lea ecx, [ebp - 0x104]
push 0x104
push ecx
push 0xffffffffffffffff
push dword [ebp + 0xc]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x660e4ea0
push 0xe
pop eax
leave
ret 8
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x660e4e9c
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x660e4e9c
Function at 0x660e4ec0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x6610ed74], esi
je 0x660e4f44
push dword [ebp + 0xc]
call fcn.6602618b
pop ecx
lea edi, [eax + eax + 2]
push 1
lea eax, [ebp - 0x84]
push esi
push eax
push edi
push esi
push 0x78
lea ecx, [ebp - 0xc]
call fcn.660d9ad7
mov ebx, dword [ebp - 8]
cmp ebx, esi
jne 0x660e4f12
lea ecx, [ebp - 0xc]
call fcn.66029978
push 0xe
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
push esi
push esi
push edi
push ebx
push 0xffffffffffffffff
push dword [ebp + 0xc]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x660e4f36
push 0xe
pop esi
lea ecx, [ebp - 0xc]
call fcn.66029978
mov eax, esi
jmp 0x660e4f0b
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
jmp 0x660e4f2a
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x660e4f0b

Function at 0x660e4f52
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x6610ed74], edi
je 0x660e4fdc
mov ebx, dword [ebp + 0x14]
push 1
lea eax, [ebp - 0x84]
push edi
lea esi, [ebx + ebx]
push eax
push esi
push edi
push 0x78
lea ecx, [ebp - 0xc]
call fcn.660d9ad7
mov eax, dword [ebp - 8]
cmp eax, edi
mov dword [ebp + 0x14], eax
jne 0x660e4fa2
lea ecx, [ebp - 0xc]
call fcn.66029978
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
leave
ret 0x10
push esi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
cmp esi, edi
jne 0x660e4fd0
push ebx
push dword [ebp + 0x10]
push 0xffffffffffffffff
push dword [ebp + 0x14]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x660e4fd0
mov esi, 0x8007000e
lea ecx, [ebp - 0xc]
call fcn.66029978
mov eax, esi
jmp 0x660e4f9b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x660e4f9b
Function at 0x660e6fb3
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov eax, dword fs:[0]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
and dword [edi + 0x98], 0
test byte [esi + 0x10], 2
jne 0x660e6fe7
push 0x14
call fcn.66024fdc
add edi, 0x78
push edi
call fcn.66018892
and dword [esi + 0x10], 0xfffffffd
cmp dword [ebp + 8], 0xfffffffe
je 0x660e700f
cmp dword [ebp + 8], 0xffffffff
jne 0x660e7009
push dword [esi + 0x18]
push esi
call fcn.66024a32
pop edi
pop esi
leave
ret 4
push dword [esi + 0x18]
push esi
call fcn.660e701a
jmp 0x660e7009
Function at 0x660e8c3d
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, 0xffffbfff
mov cx, word [eax]
xor ebx, ebx
movzx edx, cx
and edx, esi
push edi
cmp edx, 8
mov word [ebp - 0x10], bx
jne 0x660e8cca
mov eax, dword [eax + 8]
test ch, 0x40
je 0x660e8c6b
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov ax, word [edi]
movzx ecx, ax
and ecx, esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp ecx, 8
jne 0x660e8cff
test ah, 0x40
je 0x660e8cfa
mov eax, dword [edi + 8]
mov edi, dword [eax]
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
cmp word [ebp - 0x10], 0
je 0x660e8cbe
test ebx, ebx
jne 0x660e8caa
push dword [0x6610ee98]
call esi
mov ebx, eax
mov ecx, dword [ebp + 0x10]
mov word [ebx + 0x60], 8
mov eax, dword [ebp - 8]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
leave
ret 0x14
lea ecx, [ebp - 0x30]
push ecx
push 8
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.660e4425
cmp eax, ebx
jge 0x660e8c70
cmp eax, 0x800a005e
je 0x660e8cef
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.6601d35f
mov eax, dword [ebp + 0x10]
or dword [eax], 0xffffffff
jmp 0x660e8c70
mov edi, dword [edi + 8]
jmp 0x660e8c90
push dword [0x6610ee98]
call esi
mov ebx, eax
lea eax, [ebp - 0x30]
push eax
push 8
lea eax, [ebx + 0x50]
push edi
push eax
call fcn.660e4425
mov edi, eax
test edi, edi
jge 0x660e8d4c
cmp edi, 0x800a005e
je 0x660e8d41
cmp word [ebp - 0x10], 0
je 0x660e8d37
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.6601d35f
mov eax, dword [ebp + 0x14]
or dword [eax], 0xffffffff
jmp 0x660e8c95
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x58]
mov dword [ecx], eax
jmp 0x660e8c95

Function at 0x660e8e52
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
movzx eax, word [edi]
and ah, 0xbf
cmp eax, 0x24
jne 0x660e8e6f
push 0
push 0x80028ca0
call fcn.6601d35f
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push edi
call fcn.660243ba
cmp eax, 0xffffffff
je 0x660e8eb6
push eax
call sym.MSVBVM60.DLL___vbaLenBstr
cmp word [esi], 8
mov edi, dword [esp + 0xc]
mov dword [edi + 8], eax
mov word [edi], 3
jne 0x660e8eaf
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, edi
pop edi
pop esi
ret 8
mov edi, dword [esp + 0xc]
mov word [edi], 1
jmp 0x660e8eaf
Function at 0x660e8ec1
Capabilities:
Get thread local storage value

Disassembly:
push esi
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
mov eax, dword [esp + 0xc]
movzx ecx, word [eax]
and ch, 0xbf
cmp ecx, 0x24
jne 0x660e8f04
mov esi, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
lea edx, [esi + 8]
push edx
push eax
call dword [ecx + 0x20]
push 0
push eax
call fcn.6601d35f
mov word [esi], 3
mov eax, esi
pop esi
ret 8
push edi
push esi
push eax
call fcn.660243ba
cmp eax, 0xffffffff
je 0x660e8f3c
test eax, eax
je 0x660e8f18
mov eax, dword [eax - 4]
mov edi, dword [esp + 0xc]
cmp word [esi], 8
mov dword [edi + 8], eax
mov word [edi], 3
jne 0x660e8f37
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, edi
pop edi
jmp 0x660e8f00
mov edi, dword [esp + 0xc]
mov word [edi], 1
jmp 0x660e8f37

Function at 0x660e8fa1
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push dword [ebp + 0xc]
call fcn.660243ba
cmp eax, 0xffffffff
je 0x660e8ffd
push dword [ebp + 0x10]
push eax
call sym.MSVBVM60.DLL_rtcRightBstr
cmp word [esi], 8
mov dword [ebp - 8], eax
mov word [ebp - 0x10], 8
jne 0x660e8feb
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 0xc
mov word [ebp - 0x10], 1
jmp 0x660e8feb

Function at 0x660e9030
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push dword [ebp + 0xc]
call fcn.660243ba
cmp eax, 0xffffffff
je 0x660e908f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call sym.MSVBVM60.DLL_rtcMidBstr
cmp word [esi], 8
mov dword [ebp - 8], eax
mov word [ebp - 0x10], 8
jne 0x660e907d
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 0x10
mov word [ebp - 0x10], 1
jmp 0x660e907d
Function at 0x660e9097
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push dword [ebp + 0xc]
call fcn.660243ba
cmp eax, 0xffffffff
je 0x660e90f6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call sym.MSVBVM60.DLL_rtcMidCharBstr
cmp word [esi], 8
mov dword [ebp - 8], eax
mov word [ebp - 0x10], 8
jne 0x660e90e4
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 0x10
mov word [ebp - 0x10], 1
jmp 0x660e90e4

Function at 0x660e9608
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push dword [ebp + 0xc]
call fcn.660243ba
cmp eax, 0xffffffff
je 0x660e9661
push eax
call sym.MSVBVM60.DLL_rtcLowerCaseBstr
cmp word [esi], 8
mov dword [ebp - 8], eax
mov word [ebp - 0x10], 8
jne 0x660e964f
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 8
mov word [ebp - 0x10], 1
jmp 0x660e964f

Function at 0x660e9669
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push dword [ebp + 0xc]
call fcn.660243ba
cmp eax, 0xffffffff
je 0x660e96c2
push eax
call sym.MSVBVM60.DLL_rtcTrimBstr
cmp word [esi], 8
mov dword [ebp - 8], eax
mov word [ebp - 0x10], 8
jne 0x660e96b0
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 8
mov word [ebp - 0x10], 1
jmp 0x660e96b0
Function at 0x660e9839
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push dword [ebp + 0xc]
call fcn.660243ba
cmp eax, 0xffffffff
je 0x660e9892
push eax
call sym.MSVBVM60.DLL_rtcLeftTrimBstr
cmp word [esi], 8
mov dword [ebp - 8], eax
mov word [ebp - 0x10], 8
jne 0x660e9880
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 8
mov word [ebp - 0x10], 1
jmp 0x660e9880

Function at 0x660e9a4c
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push dword [ebp + 0xc]
call fcn.660243ba
cmp eax, 0xffffffff
je 0x660e9aa5
push eax
call sym.MSVBVM60.DLL_rtcRightTrimBstr
cmp word [esi], 8
mov dword [ebp - 8], eax
mov word [ebp - 0x10], 8
jne 0x660e9a93
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 8
mov word [ebp - 0x10], 1
jmp 0x660e9a93

Function at 0x660e9c01
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
mov edi, dword [esp + 0x18]
mov ax, word [edi]
test ah, 0x40
je 0x660e9c6e
cmp ax, 0x4008
je 0x660e9c2b
push 0xd
call fcn.66024fdc
mov edi, dword [edi + 8]
mov eax, dword [esp + 0xc]
cmp word [eax], 8
je 0x660e9c43
push 8
push eax
push esi
call fcn.660e443d
mov eax, esi
push edi
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [eax + 8]
push 0
call sym.MSVBVM60.DLL___vbaMidStmtBstrB
cmp word [esi], 8
jne 0x660e9c69
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
pop edi
pop esi
ret 0x10
cmp ax, 8
je 0x660e9c7d
push 8
push edi
push edi
call fcn.660e443d
add edi, 8
jmp 0x660e9c2e
Function at 0x660e9db4
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ebx, [eax + 0x50]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call fcn.66024e0e
xor edi, edi
mov esi, eax
cmp dword [ebp + 8], edi
jl 0x660e9dea
cmp dword [ebp + 8], 0x3fffffff
jbe 0x660e9df1
push 5
call fcn.66024fdc
cmp word [esi], 8
jne 0x660e9e4b
mov esi, dword [esi + 8]
cmp esi, edi
jne 0x660e9e0b
xor eax, eax
cmp eax, edi
jne 0x660e9e12
push 5
call fcn.66024fdc
mov eax, dword [esi - 4]
shr eax, 1
jmp 0x660e9e00
mov ax, word [esi]
mov dword [ebp - 4], eax
push dword [ebp + 8]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
cmp esi, edi
je 0x660e9ed4
push dword [ebp + 8]
push dword [ebp - 4]
push esi
call fcn.660e54f2
add esp, 0xc
mov ecx, ebx
call sym.MSVBVM60.DLL___vbaFreeVar
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
push esi
call fcn.660e318b
cmp dword [0x6610eeb8], edi
mov dword [ebp - 4], eax
jne 0x660e9e96
cmp ax, 0x100
jb 0x660e9e96
xor ecx, ecx
mov cl, ah
push ecx
call fcn.66025d0f
test eax, eax
pop ecx
jne 0x660e9e91
mov al, byte [ebp - 3]
movzx ax, al
mov dword [ebp - 4], eax
cmp ax, 0x100
jb 0x660e9e96
cmp dword [ebp + 8], 0x7fffffff
jbe 0x660e9e96
push 5
call fcn.66024fdc
mov eax, dword [ebp - 4]
jmp 0x660e9e7b
cmp ax, 0xff
jbe 0x660e9ec7
cmp dword [0x6610eeb8], edi
jne 0x660e9ec7
xor ecx, ecx
mov byte [ebp + 0xf], al
mov cl, ah
lea eax, [ebp - 4]
push 1
push eax
mov byte [ebp + 0xe], cl
push 2
lea eax, [ebp + 0xe]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x660e9e18
mov byte [ebp + 0xe], al
lea eax, [ebp - 4]
push 1
push eax
push 1
jmp 0x660e9eb6
push 0xe
call fcn.66024fdc

Function at 0x660e9f38
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x6610ee98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
push esi
push dword [ebp + 0xc]
call fcn.660243ba
cmp eax, 0xffffffff
je 0x660e9f91
push eax
call sym.MSVBVM60.DLL_rtcUpperCaseBstr
cmp word [esi], 8
mov dword [ebp - 8], eax
mov word [ebp - 0x10], 8
jne 0x660e9f7f
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [esi], 0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 8
mov word [ebp - 0x10], 1
jmp 0x660e9f7f
Function at 0x660eb289
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x66110000]
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], esi
mov dword [eax], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
jne 0x660eb2d7
mov eax, dword [0x66110e1c]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 4]
call fcn.6601b126
cmp eax, esi
jge 0x660eb312
push eax
call fcn.6602467a
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp ebx, 0x800
je 0x660eb2b8
lea eax, [ebp - 0x18]
push 6
push eax
push 0x1004
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x660eb302
lea eax, [ebp - 0x18]
push eax
call fcn.6600edc5
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [0x66110000], ebx
mov dword [0x66110e1c], eax
jmp 0x660eb2b8
mov ecx, dword [ebp - 4]
cmp ecx, esi
jne 0x660eb37e
xor eax, eax
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LCMapStringA]
push eax
push ecx
push dword [ebp + 0xc]
push ebx
call esi
mov edi, eax
mov eax, dword [ebp - 4]
test edi, edi
jne 0x660eb33f
test eax, eax
je 0x660eb33b
mov eax, dword [eax - 4]
test eax, eax
jne 0x660eb39c
test edi, edi
je 0x660eb35a
push edi
push 0
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x660eb383
mov dword [ebp - 8], 0xe
cmp dword [ebp - 4], 0
je 0x660eb368
push dword [ebp - 4]
call fcn.6601460b
cmp dword [ebp - 0x10], 0
je 0x660eb376
push dword [ebp - 0x10]
call fcn.6601460b
mov eax, dword [ebp - 8]
jmp 0x660eb2d0
mov eax, dword [ecx - 4]
jmp 0x660eb31b
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x660eb3a5
xor eax, eax
push edi
push dword [ebp - 0x10]
push eax
push ecx
push dword [ebp + 0xc]
push ebx
call esi
test eax, eax
jne 0x660eb3aa
mov dword [ebp - 8], 5
jmp 0x660eb35a
mov eax, dword [ecx - 4]
jmp 0x660eb38c
push dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
and dword [ebp - 8], 0
call fcn.660de662
test eax, eax
jge 0x660eb35a
push eax
call fcn.6602467a
mov dword [ebp - 8], eax
jmp 0x660eb35a