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

Disassembly:
mov eax, dword [0x72a4c050]
cmp eax, 0xffffffff
je 0x72a2ebde
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x72a2eb66
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x72a2ebcf
mov eax, dword [esi + 0x24]
test eax, eax
je 0x72a2eb76
push eax
call fcn.729426e1
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x72a2eb86
push eax
call fcn.729426e1
add esp, 4
mov eax, dword [esi + 0x30]
test eax, eax
je 0x72a2eb96
push eax
call fcn.729426e1
add esp, 4
mov eax, dword [esi + 0x38]
test eax, eax
je 0x72a2eba6
push eax
call fcn.729426e1
add esp, 4
mov eax, dword [esi + 0x40]
test eax, eax
je 0x72a2ebb6
push eax
call fcn.729426e1
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x72a2ebc6
push eax
call fcn.729426e1
add esp, 4
push esi
call fcn.729426e1
add esp, 4
mov eax, dword [0x72a4c050]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
ret
Function at 0x72a30af8
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x72a50098
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x72a30b1c
add eax, 8
inc ebp
cmp eax, 0x72a50128
jb 0x72a30b0d
cmp ecx, dword [ebp*8 + 0x72a50098]
jne 0x72a30cc3
mov eax, dword [0x72a50f0c]
cmp eax, 1
je 0x72a30c85
test eax, eax
jne 0x72a30b48
cmp dword [0x72a4a00c], 1
je 0x72a30c85
cmp ecx, 0xfc
je 0x72a30cc3
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x72a30b83
mov ecx, 5
mov esi, 0x72970264
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x72a30bcc
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x72970260
add ebx, ecx
push ebx
call fcn.7294571e
add esp, 0xc
mov ecx, 6
mov esi, 0x72970244
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x7297023e
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x72970218
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x72a5009c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.72a346a5
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x72a4c200]
test eax, eax
je 0x72a30c96
mov esi, dword [eax + 0x48]
cmp esi, 0xffffffff
jne 0x72a30ca0
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x72a5009c]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x72a32833
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1004
call fcn.7295b2e8
push ebx
mov ebx, dword [esp + 0x100c]
push ebp
push esi
push edi
xor ebp, ebp
push 1
push ebp
push ebx
call fcn.72a2d992
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x72a32973
push 2
push ebp
push ebx
call fcn.72a2d992
add esp, 0xc
cmp eax, 0xffffffff
je 0x72a32973
mov ecx, dword [esp + 0x101c]
mov esi, ecx
sub esi, eax
test esi, esi
jle 0x72a32914
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x14]
push 0x8000
rep stosd dword es:[edi], eax
push ebx
call fcn.72a34872
add esp, 8
mov edi, eax
cmp esi, 0x1000
mov eax, 0x1000
jge 0x72a328b9
mov eax, esi
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.72a2d717
add esp, 0xc
cmp eax, 0xffffffff
je 0x72a328fa
sub esi, eax
test esi, esi
jg 0x72a328aa
push edi
push ebx
call fcn.72a34872
mov edi, dword [esp + 0x18]
add esp, 8
push 0
push edi
push ebx
call fcn.72a2d992
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
call fcn.7294c1c4
cmp dword [eax], 5
jne 0x72a3290f
call fcn.7294c1f9
mov dword [eax], 0xd
or ebp, 0xffffffff
jmp 0x72a328d3
jge 0x72a3295a
push 0
push ecx
push ebx
call fcn.72a2d992
add esp, 0xc
push ebx
call fcn.72a32763
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ebp, eax
neg ebp
sbb ebp, ebp
neg ebp
dec ebp
cmp ebp, 0xffffffff
jne 0x72a3295a
call fcn.7294c1f9
mov dword [eax], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.7294c1c4
mov dword [eax], esi
push 0
push edi
push ebx
call fcn.72a2d992
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1004
ret
Function at 0x72a343bf
Capabilities:
Set environment variable

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x72a3457d
push 0x3d
push edi
call fcn.72a1e396
mov esi, eax
add esp, 8
test esi, esi
je 0x72a3457d
cmp edi, esi
je 0x72a3457d
mov dl, byte [esi + 1]
mov ecx, dword [0x72a50f14]
xor eax, eax
test dl, dl
sete al
mov ebp, eax
mov eax, dword [0x72a4c62c]
cmp eax, ecx
jne 0x72a34416
push eax
call fcn.72a34636
add esp, 4
mov dword [0x72a4c62c], eax
test eax, eax
jne 0x72a34491
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x72a3443d
mov eax, dword [0x72a50f18]
test eax, eax
je 0x72a3443d
call fcn.72a30a37
test eax, eax
je 0x72a3448c
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
test ebp, ebp
je 0x72a34449
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 4
call fcn.7294214c
add esp, 4
mov dword [0x72a4c62c], eax
test eax, eax
je 0x72a3457d
mov dword [eax], 0
mov eax, dword [0x72a50f18]
test eax, eax
jne 0x72a3448c
push 4
call fcn.7294214c
add esp, 4
mov dword [0x72a50f18], eax
test eax, eax
je 0x72a3457d
mov dword [eax], 0
mov eax, dword [0x72a4c62c]
mov ebx, eax
mov eax, esi
sub eax, edi
push eax
push edi
mov dword [esp + 0x18], eax
call fcn.72a345c2
mov esi, eax
add esp, 8
test esi, esi
jl 0x72a3458e
cmp dword [ebx], 0
je 0x72a3458e
test ebp, ebp
je 0x72a34586
mov ecx, dword [ebx + esi*4]
lea edi, [ebx + esi*4]
push ecx
call fcn.729426e1
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x72a344e8
mov eax, edi
mov edx, dword [eax + 4]
add eax, 4
mov dword [edi], edx
inc esi
mov ecx, dword [eax]
mov edi, eax
test ecx, ecx
jne 0x72a344d7
lea eax, [esi*4]
push eax
push ebx
call fcn.72a2ebff
add esp, 8
test eax, eax
je 0x72a34502
mov dword [0x72a4c62c], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x72a34575
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.7294214c
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x72a34575
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [esp + 0x10]
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
neg ebp
rep movsb byte es:[edi], byte [esi]
sbb ebp, ebp
mov byte [ebx + eax], 0
lea eax, [ebx + eax + 1]
not ebp
and ebp, eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push ebx
call fcn.729426e1
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov dword [ebx + esi*4], edi
jmp 0x72a34506
test ebp, ebp
jne 0x72a34575
test esi, esi
jge 0x72a34598
neg esi
lea ecx, [esi*4 + 8]
push ecx
push ebx
call fcn.72a2ebff
add esp, 8
test eax, eax
je 0x72a3457d
mov dword [eax + esi*4], edi
mov dword [eax + esi*4 + 4], 0
mov dword [0x72a4c62c], eax
jmp 0x72a34506
Function at 0x72a35da0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x7295b630
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x72a35dfb
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x729599f1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x72a35deb
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 4
xor eax, eax
jmp 0x72a35df6
Function at 0x72a37a1a
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.72a22185
xor esi, esi
cmp eax, esi
jne 0x72a37b12
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0x104
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x1a4]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edi, eax
push 1
lea eax, [ebp - 0xa0]
push esi
push eax
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x20]
lea eax, [eax + eax + 2]
push eax
push esi
push 0x78
call fcn.72a118ff
mov ebx, dword [ebp - 0x1c]
cmp edi, esi
jne 0x72a37af2
cmp ebx, esi
jne 0x72a37ac8
push 7
pop edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x72a37abc
cmp edi, esi
jne 0x72a37abc
push 5
pop edi
lea ecx, [ebp - 0x20]
call fcn.72a11955
mov eax, edi
jmp 0x72a37b15
mov eax, dword [ebp - 0xc]
push esi
inc eax
push esi
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
push esi
push eax
push ebx
push esi
push dword [ebp - 4]
call fcn.72a22372
cmp eax, esi
jne 0x72a37af6
push ebx
push dword [ebp - 4]
call fcn.72a22242
cmp eax, esi
je 0x72a37ac8
push 5
jmp 0x72a37aa7
cmp eax, 0x103
jne 0x72a37af2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x72a37b1c
lea ecx, [ebp - 0x20]
call fcn.72a11955
push 5
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.72a221e4
test eax, eax
lea ecx, [ebp - 0x20]
jne 0x72a37b0d
call fcn.72a11955
xor eax, eax
jmp 0x72a37b15
Function at 0x72a3d05d
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword [edx]
pop ecx
mov eax, dword [eax + 0x18]
push dword [eax + 0x10]
push ecx
mov ecx, 0x72a41d0f
cmp byte [0x72a4f290], 0
jne 0x72a3e978
pushal
push esp
push edx
call 0x72a0f372
popal
jmp fcn.72a3d079

Function at 0x72a43b68
Capabilities:
Packed with generic packer

Disassembly:
sub dword [esp + 4], eax
mov ecx, 0x72a41d44
jmp 0x72a3d06c

Function at 0x72a45d3d
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp byte [0x72a4f290], 0
push esi
push edi
je 0x72a45d55
push 0xffffffffffffffed
call fcn.72a0f325
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.72a45cfa
push dword [0x72a4ef9c]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test byte [eax + 0x76], 2
je 0x72a45d8b
mov eax, dword [esi]
test eax, eax
je 0x72a45d8b
mov ecx, dword [eax]
and dword [esi], 0
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.72a193d1
cmp byte [0x72a4f290], 0
je 0x72a45da3
call fcn.72a0f96e
mov eax, dword [esi]
pop edi
pop esi
leave
ret 0xc

Function at 0x72a46467
Capabilities:
Get thread local storage value

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov eax, dword [edi + 0x10]
lea esi, [edi + 0x10]
cmp eax, ebx
mov dword [esp + 0xc], ebx
jne 0x72a464ce
lea eax, [esp + 0xc]
push eax
push 1
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocData]
test eax, eax
jge 0x72a46497
push 7
call fcn.72a0e22c
mov ecx, dword [esp + 0xc]
mov dx, word [edi + 2]
mov dword [ecx + 4], 0x10
mov eax, dword [esp + 0xc]
mov word [eax + 2], dx
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x14], ebx
mov edx, dword [esp + 0xc]
mov dword [edx + 0x10], ebx
mov eax, dword [esp + 0xc]
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [0x72a4ef9c]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push 1
push 0xc
mov ebp, eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x72a464f8
push 7
call fcn.72a0e22c
mov ecx, dword [eax + 0x10]
mov edi, dword [edi + 0xc]
mov esi, dword [eax + 0xc]
mov edx, ecx
dec ecx
mov dword [ebp + 0x68], eax
test edx, edx
mov word [ebp + 0x60], 0x200c
je 0x72a46528
lea ebx, [ecx + 1]
mov edx, edi
mov ecx, esi
add esi, 0x10
add edi, 0x10
call sym.MSVBVM60.DLL___vbaVarDup
dec ebx
jne 0x72a46514
xor ebx, ebx
mov dword [ebp + 0x60], ebx
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x72a46bb8
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x72a4ef9c]
push ebx
push ebp
push esi
push edi
mov ebx, edx
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov bp, word [ebx]
lea edi, [eax + 0x50]
mov ax, word [esi]
cmp bp, 8
jae 0x72a46c02
cmp ax, 8
jae 0x72a46c02
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ecx, esi
mov dword [ecx], edx
mov edx, dword [ebx + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, ebp
and ecx, 0xffff
cmp ecx, 0x11
ja case.0x72a46c1b.6
xor edx, edx
mov dl, byte [ecx + 0x72a46db0]
jmp dword [edx*4 + 0x72a46d94]
and eax, 0xffff
cmp eax, 0x11
ja case.0x72a46c34.7
xor ecx, ecx
mov cl, byte [eax + 0x72a46de4]
jmp dword [ecx*4 + 0x72a46dc4]
mov eax, dword [esi + 8]
test eax, eax
je case.0x72a46c34.0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, esi
mov dword [eax], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esi + 8]
test eax, eax
je case.0x72a46c34.0
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp case.0x72a46c34.0
mov ecx, esi
call sym.MSVBVM60.DLL___vbaFreeVar
jmp case.0x72a46c34.0
cmp ebx, esi
je 0x72a46d8b
mov ecx, esi
call sym.MSVBVM60.DLL___vbaFreeVar
mov ebx, dword [ebx + 8]
mov word [esi], 8
test ebx, ebx
mov dword [esi + 8], 0
je 0x72a46d8b
jne 0x72a46cc3
xor eax, eax
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test eax, eax
mov dword [esi + 8], eax
jne 0x72a46d8b
push 7
call fcn.72a0e22c
mov eax, dword [ebx - 4]
jmp 0x72a46ca9
mov eax, dword [ebx + 8]
push edi
push 3
push 0
push 0
push 0
push 0
push eax
call fcn.72a1955e
mov ecx, esi
call sym.MSVBVM60.DLL___vbaFreeVar
mov ecx, edi
mov edx, esi
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, esi
mov ecx, dword [ecx + 0xc]
mov dword [edi], 0
mov dword [edx + 0xc], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
test ebp, 0x2000
je 0x72a46d54
lea edx, [esp + 0x10]
push edx
push ebx
call fcn.72a47147
test eax, eax
je 0x72a46d28
push eax
call fcn.72a0e22c
mov word [edi], bp
mov eax, dword [esp + 0x10]
mov ecx, esi
mov dword [edi + 8], eax
call sym.MSVBVM60.DLL___vbaFreeVar
mov ecx, dword [esp + 0x10]
mov dx, word [edi]
mov dword [esi + 8], ecx
mov word [esi], dx
mov dword [edi], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push ebx
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
push 0
push eax
call fcn.72a193d1
mov ecx, esi
call sym.MSVBVM60.DLL___vbaFreeVar
mov eax, edi
mov ecx, esi
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi], 0
mov dword [ecx + 0xc], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x72a46ed7
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x72a4ef9c]
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov ebp, dword [esp + 0x28]
cmp word [ebp], 0x400c
jne 0x72a46efb
mov ebp, dword [ebp + 8]
mov eax, dword [esp + 0x2c]
cmp word [eax], 0x400c
jne 0x72a46f0f
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov eax, ecx
mov di, word [eax]
mov esi, edi
and esi, 0xbfff
cmp si, 9
je 0x72a46f2d
cmp si, 0xd
je 0x72a46f2d
push 0xd
call fcn.72a0e22c
test edi, 0x4000
je 0x72a46f62
mov edx, dword [eax + 8]
mov edi, dword [edx]
mov ax, word [ebp]
test ah, 0x40
je 0x72a46fe3
and eax, 0xffff
and ah, 0xbf
mov ebx, eax
cmp ebx, 0xd
je 0x72a46f67
cmp ebx, 9
je 0x72a46f6c
push 0xd
call fcn.72a0e22c
mov edi, dword [eax + 8]
jmp 0x72a46f3a
cmp ebx, 9
jne 0x72a46fcf
cmp si, 0xd
jne 0x72a46fcf
test edi, edi
je 0x72a46fcf
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push ecx
push 0x72970450
push edi
call dword [eax]
test eax, eax
jge 0x72a46f90
push 0xd
call fcn.72a0e22c
cmp word [esp + 0x24], 0
je 0x72a46f9e
mov edx, dword [edi]
push edi
call dword [edx + 8]
mov edi, dword [esp + 0x28]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x72a46fb1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], edi
cmp word [esp + 0x24], 0
je 0x72a46fc5
mov edx, dword [esp + 0x2c]
mov dword [edx], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
cmp word [esp + 0x24], 0
jne 0x72a46fa2
test edi, edi
je 0x72a46fa2
mov eax, dword [edi]
push edi
call dword [eax + 4]
jmp 0x72a46fa2
cmp word [esp + 0x24], 0
jne 0x72a46ffc
test edi, edi
je 0x72a46ffc
mov edx, dword [edi]
push edi
call dword [edx + 4]
mov dword [ebx + 0x58], edi
mov word [ebx + 0x50], si
mov ecx, dword [ebp + 8]
mov ax, word [ebp]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x10]
mov word [esp + 0x10], ax
mov dword [ebp + 8], edi
mov word [ebp], si
call sym.MSVBVM60.DLL___vbaFreeVar
mov dword [ebx + 0x50], 0
jmp 0x72a46fb3
Function at 0x72a48e38
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [ebp + 0x18]
add eax, 0x50
mov dword [ebp - 4], eax
mov ax, word [edi]
test ah, 0x40
je 0x72a48ed0
and eax, 0xbfff
mov esi, eax
cmp si, 0x11
jbe 0x72a48e84
test si, 0x2000
jne 0x72a48e80
cmp si, 0x24
je 0x72a48e80
push 0x1ca
call fcn.72a0e22c
push 0xd
jmp 0x72a48e7b
movzx eax, si
lea eax, [eax + eax*8]
movzx ax, byte [eax*2 + 0x7296fa10]
cmp si, ax
jne 0x72a48e9e
cmp si, 0xa
jne 0x72a48ea5
push 0xd
call fcn.72a0e22c
push 0
push edi
push dword [ebp + 0x1c]
call fcn.72a46537
mov ebx, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.72a214f5
push esi
push ebx
push dword [ebp + 0xc]
call fcn.72a214f5
pop edi
pop esi
pop ebx
leave
ret 0x18
mov eax, dword [ebp + 0x10]
cmp word [eax], 9
jne 0x72a48f63
mov edi, dword [ebp + 8]
xor esi, esi
push edi
push 3
push esi
push esi
push esi
push esi
push dword [eax + 8]
call fcn.72a1955e
mov dword [ebp + 0x10], edi
mov ebx, dword [ebp + 0x14]
cmp word [ebx], 9
jne 0x72a48f11
push dword [ebp + 0xc]
push 3
push esi
push esi
push esi
push esi
push dword [ebx + 8]
call fcn.72a1955e
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
cmp word [edi], 9
jne 0x72a48f2e
push dword [ebp - 4]
push 3
push esi
push esi
push esi
push esi
push dword [edi + 8]
call fcn.72a1955e
mov edi, dword [ebp - 4]
mov cx, word [edi]
mov esi, dword [ebp + 0x10]
cmp cx, 0x11
ja 0x72a48f46
cmp word [esi], 0x11
ja 0x72a48f46
cmp word [ebx], 0x11
jbe 0x72a48f6b
mov ax, word [ebx]
or ax, word [esi]
or eax, ecx
test ah, 0x20
jne 0x72a48f67
cmp ax, 0x24
je 0x72a48f67
push 0x1ca
call fcn.72a0e22c
xor esi, esi
jmp 0x72a48ef4
push 0xd
jmp 0x72a48f5e
movzx eax, word [edi]
movzx ecx, word [esi]
lea eax, [eax + eax*8]
movzx eax, byte [ecx + eax*2 + 0x7296fa10]
movzx ecx, word [ebx]
lea eax, [eax + eax*8]
movzx si, byte [ecx + eax*2 + 0x7296fa10]
cmp si, 1
jne 0x72a48f98
push 0x5e
call fcn.72a0e22c
cmp si, 0xa
jne 0x72a48fa5
push 0xd
call fcn.72a0e22c
push esi
push edi
push dword [ebp + 0x18]
call fcn.72a214f5
mov edi, dword [ebp - 4]
cmp word [edi], 8
jne 0x72a48eb3
push dword [edi + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [edi], 0
jmp 0x72a48eb3
Function at 0x72a49656
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov si, word [ecx]
push edi
mov di, word [edx]
mov eax, 0x7fff
and edi, eax
and esi, eax
cmp di, 9
je 0x72a496ac
cmp si, 9
je 0x72a496ac
movzx eax, word [ebp + 8]
push 0x30001
push eax
push ecx
push edx
call dword [0x72a4ef2c]
mov dword [ebp + 8], eax
mov esi, dword [ebp + 8]
test esi, esi
jge 0x72a497ec
push esi
call fcn.72a0be99
push eax
call fcn.72a0e22c
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ebx, [eax + 0x50]
add eax, 0x60
mov dword [ebp - 4], eax
cmp di, 9
jne 0x72a49779
cmp si, di
push ebx
push 3
jne 0x72a4975c
mov eax, dword [ebp + 0x10]
xor esi, esi
push esi
push esi
push esi
push esi
push dword [eax + 8]
call fcn.72a1955e
mov ax, word [ebx]
mov dword [ebp + 0x10], ebx
mov word [ebp - 8], ax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], esi
jne 0x72a49701
push 0x5b
call fcn.72a0e22c
mov esi, ebx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x38]
xor eax, eax
push ecx
push dword [ebp - 4]
movsd dword es:[edi], dword [esi]
push 3
push eax
push eax
push eax
movsd dword es:[edi], dword [esi]
mov word [ebx], ax
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
call fcn.72a194fe
lea esi, [ebp - 0x18]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test eax, eax
movsd dword es:[edi], dword [esi]
jge 0x72a4973e
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.72a193d1
mov esi, dword [ebp - 4]
cmp word [esi], 9
jne 0x72a4974e
push 0xd
call fcn.72a0e22c
mov dword [ebp + 0xc], esi
mov si, word [esi]
mov edi, dword [ebp - 8]
jmp 0x72a496c1
xor eax, eax
push eax
push eax
push eax
push eax
mov eax, dword [ebp + 0x10]
push dword [eax + 8]
call fcn.72a1955e
mov ax, word [ebx]
mov dword [ebp + 0x10], ebx
mov word [ebp - 8], ax
jmp 0x72a49754
cmp si, 9
jne 0x72a497a3
push dword [ebp - 4]
xor eax, eax
push 3
push eax
push eax
push eax
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
call fcn.72a1955e
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
mov si, word [eax]
jmp 0x72a496c1
movzx eax, word [ebp + 8]
push 0x30001
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [0x72a4ef2c]
cmp word [ebx], 8
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp + 8], eax
jne 0x72a497d1
push dword [ebx + 8]
call edi
and word [ebx], 0
mov esi, dword [ebp - 4]
cmp word [esi], 8
jne 0x72a49695
push dword [esi + 8]
call edi
and word [esi], 0
jmp 0x72a49695
lea eax, [esi - 1]
pop edi
pop esi
pop ebx
leave
ret 0xc