joyce8/EMBER2024-capa huggingface dataset:
Function at 0x72a07058
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
cmp dword [edi + 0x2c], esi
je 0x72a07083
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.72a072ac
pop edi
pop esi
leave
ret 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
cmp ecx, esi
je 0x72a071f1
mov dword [ebp + 0xc], 1
cmp ecx, esi
je 0x72a070b5
mov eax, dword [edi + 0x14]
and ah, 0xf7
or al, 0x20
mov dword [edi + 0x14], eax
cmp ecx, esi
lea eax, [edi + 0x70]
jne 0x72a070b8
lea eax, [edi + 0x6c]
mov dword [ebp - 0xc], eax
mov eax, dword [eax]
cmp eax, esi
je 0x72a071d3
cmp dword [eax], esi
je 0x72a071d3
cmp ecx, esi
lea eax, [edi + 0x4c]
jne 0x72a070d7
lea eax, [edi + 0x50]
mov dword [ebp - 4], eax
mov eax, dword [eax]
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x72a071d3
push ecx
mov ecx, edi
call fcn.72a077d0
mov eax, dword [ebp - 4]
cmp dword [eax], esi
jbe 0x72a071d3
xor ebx, ebx
cmp dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
jbe 0x72a071ca
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, esi
je 0x72a071ca
cmp ebx, dword [eax]
jge 0x72a071ca
mov eax, dword [eax + 0x10]
mov esi, dword [eax + ebx*4]
test esi, esi
je 0x72a071c2
mov eax, dword [esi + 4]
test al, 2
jne 0x72a071c2
cmp dword [ebp + 8], 0
je 0x72a07201
and eax, 0x20
test eax, eax
je 0x72a071c2
mov eax, dword [esi + 0xc]
push dword [ebp + 0xc]
inc dword [esi]
mov dword [ebp - 8], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x72a07174
cmp dword [ebp + 8], 0
mov eax, dword [esi + 4]
je 0x72a07209
and eax, 0x10
test eax, eax
jne 0x72a07187
xor eax, eax
mov ecx, esi
cmp dword [ebp + 8], eax
push eax
je 0x72a07211
call fcn.72a06dd4
push 1
push 0xffffffffffffffff
push esi
mov ecx, edi
call fcn.7294727c
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x72a071b7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0x10]
jae 0x72a071af
cmp eax, dword [ebp - 0x10]
jae 0x72a071b2
mov dword [ebp + 0x10], esi
cmp dword [ebp + 0x10], esi
jne 0x72a071c2
mov ecx, edi
call fcn.72a073f0
test eax, eax
je 0x72a0721b
inc ebx
cmp ebx, dword [ebp - 0x14]
jb 0x72a071fa
xor esi, esi
cmp dword [ebp - 8], esi
jne 0x72a070ef
cmp dword [ebp + 8], esi
je 0x72a071dc
and dword [edi + 0x14], 0xffffffdf
cmp dword [ebp - 8], esi
je 0x72a0721f
mov eax, dword [ebp - 4]
cmp dword [eax], esi
jbe 0x72a0721f
push 1
pop eax
pop ebx
jmp 0x72a0707d
and dword [ebp + 0xc], 0xfffffffe
jmp 0x72a0709f
xor esi, esi
jmp 0x72a07108
and eax, 0x40
jmp 0x72a07143
and eax, 8
jmp 0x72a07170
call fcn.7294e8a4
jmp 0x72a07187
xor esi, esi
jmp 0x72a071d3
xor eax, eax
jmp 0x72a071eb
Function at 0x72a072ac
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 1
call ebx
mov esi, dword [edi + 0x2c]
xor ecx, ecx
cmp esi, ecx
mov dword [ebp - 0xc], eax
jne 0x72a072db
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
inc dword [esi]
cmp dword [ebp + 8], ecx
je 0x72a073c9
mov dword [ebp + 0xc], 1
cmp dword [ebp + 8], ecx
je 0x72a072fd
mov eax, dword [edi + 0x14]
and ah, 0xf7
or al, 0x20
mov dword [edi + 0x14], eax
mov eax, dword [esi + 4]
mov dword [ebp - 4], ecx
test al, 2
jne 0x72a0738a
cmp dword [ebp + 8], ecx
je 0x72a073d2
and eax, 0x20
cmp eax, ecx
je 0x72a0738a
mov eax, dword [esi + 0xc]
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x72a07346
cmp dword [ebp + 8], 0
mov eax, dword [esi + 4]
je 0x72a073da
and eax, 0x10
test eax, eax
jne 0x72a0735c
xor eax, eax
mov ecx, esi
cmp dword [ebp + 8], eax
mov dword [ebp - 8], eax
push eax
je 0x72a073e2
call fcn.72a06dd4
cmp dword [ebp + 0x10], 0
je 0x72a0737d
call ebx
mov ecx, eax
sub ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x10]
jae 0x72a07373
cmp eax, dword [ebp - 0xc]
jae 0x72a07377
and dword [ebp + 0x10], 0
cmp dword [ebp + 0x10], 0
jne 0x72a07388
mov ecx, edi
call fcn.72a073f0
test eax, eax
je 0x72a073ec
xor ecx, ecx
cmp dword [ebp - 4], ecx
je 0x72a07398
cmp dword [ebp - 8], ecx
jne 0x72a072fd
cmp dword [ebp + 8], ecx
je 0x72a073a1
and dword [edi + 0x14], 0xffffffdf
push 1
push 0xffffffffffffffff
push esi
mov ecx, edi
call fcn.7294727c
xor eax, eax
cmp dword [ebp - 4], eax
je 0x72a072d4
cmp dword [ebp - 8], eax
je 0x72a072d4
push 1
pop eax
jmp 0x72a072d4
and dword [ebp + 0xc], 0xfffffffe
jmp 0x72a072ed
and eax, 0x40
jmp 0x72a07317
and eax, 8
jmp 0x72a07342
call fcn.7294e8a4
jmp 0x72a0735c
xor ecx, ecx
jmp 0x72a07398

Function at 0x72a09bdc
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [0x72a4ef9c]
call esi
cmp dword [eax + 0x34], 0
jne 0x72a09c31
cmp word [eax + 0x38], 0
jne 0x72a09c31
push dword [0x72a4ef9c]
call esi
test byte [eax + 0xa0], 2
jne 0x72a09c31
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
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 fcn.72a099de
pop esi
pop ebp
ret 0x24
xor eax, eax
jmp 0x72a09c2c
Function at 0x72a0bb8b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [esp + 0x10]
mov edi, eax
push esi
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [edi + 0xa0]
test al, 2
je 0x72a0bbb6
test al, 1
je 0x72a0bbc0
push 0
push esi
mov ecx, ebx
call fcn.72a0a827
push esi
push 0xd
call fcn.7294b091
mov eax, dword [esi]
push esi
call dword [eax + 8]
test eax, eax
jbe 0x72a0bbee
push esi
mov ecx, ebx
call fcn.72a0b496
test eax, eax
jl 0x72a0bbf0
test byte [esi + 0x2c], 0x10
je 0x72a0bbee
mov ecx, dword [esi + 0x1c]
lea eax, [esi + 0x1c]
push eax
call dword [ecx + 8]
xor eax, eax
pop edi
pop esi
pop ebx
ret 4

Function at 0x72a0bd77
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [esp + 4], 0
jne 0x72a0bd9c
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
mov ecx, eax
push dword [esp + 0xc]
call fcn.72a0cd43
xor eax, eax
ret 8
push 5
pop eax
jmp 0x72a0bd99

Function at 0x72a0bef5
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax + 0xc]
xor eax, eax
cmp word [esp + 4], 0xffff
je 0x72a0bf1a
movzx eax, word [esp + 4]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx + eax*4]
ret 4
Function at 0x72a0ce69
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], 0x44
cmp ax, 9
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], ax
jbe 0x72a0ce9e
push 5
call fcn.72a0e22c
mov eax, dword [ebp + 8]
xor esi, esi
cmp eax, esi
je 0x72a0cec7
cmp word [eax], 8
jne 0x72a0cec7
cmp dword [eax + 8], esi
jne 0x72a0cec7
push esi
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ebx, eax
cmp ebx, esi
jne 0x72a0cecf
push 5
call fcn.72a0e22c
push eax
call sym.MSVBVM60.DLL___vbaStrVarCopy
jmp 0x72a0ceba
cmp dword [0x72a4ee5c], esi
je 0x72a0cf8a
cmp ebx, esi
jne 0x72a0cf43
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
inc eax
push esi
push eax
push ebx
push esi
push esi
call edi
cmp eax, esi
mov dword [ebp + 8], eax
je 0x72a0cf06
push eax
call fcn.72945484
cmp eax, esi
mov dword [ebp + 0xc], eax
jne 0x72a0cf4a
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp edi, esi
jne 0x72a0cfbc
mov eax, dword [ebp + 0xc]
dec eax
dec eax
je 0x72a0cfa7
dec eax
je 0x72a0cfae
sub eax, 5
je 0x72a0cfb5
sub eax, 6
je 0x72a0cfb5
push 5
call fcn.72a0e22c
mov eax, dword [ebx - 4]
shr eax, 1
jmp 0x72a0cee1
cmp ebx, esi
jne 0x72a0cf83
xor eax, eax
push esi
push esi
push dword [ebp + 8]
inc eax
push dword [ebp + 0xc]
push eax
push ebx
push esi
push esi
call edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp + 0xc]
mov edi, eax
call fcn.7294d14e
jmp 0x72a0cf10
mov eax, dword [ebx - 4]
shr eax, 1
jmp 0x72a0cf50
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
jmp 0x72a0cf10
push 0x35
call fcn.72a0e22c
push 0x4c
call fcn.72a0e22c
push 7
call fcn.72a0e22c
push 0x2710
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
fild dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x72a0d164
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
push ebx
push esi
push edi
push 1
pop esi
push esi
call dword [0x72a50b4c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x72a4f430]
sub eax, dword [0x72a4f42c]
mov edi, dword [sym.imp.USER32.dll_GetKeyboardState]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x180]
push eax
call edi
xor ebx, ebx
mov dword [ebp - 0x80], esi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x64], esi
mov word [ebp - 0x60], bx
mov dword [ebp - 0x5c], 6
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov eax, dword [0x72a4f42c]
cmp eax, dword [0x72a4f430]
jge 0x72a0d244
mov ecx, eax
mov dword [ebp - 0x78], ebx
shl ecx, 4
add ecx, dword [0x72a4f424]
inc eax
mov dword [0x72a4f42c], eax
cmp dword [ecx], 0x102
jne 0x72a0d21c
mov word [ebp - 0x7c], bx
mov ax, word [ecx + 4]
mov word [ebp - 0x7a], ax
mov dword [ebp - 0x78], 4
mov ax, word [ecx + 4]
mov dword [ebp - 4], esi
mov word [ebp - 0x5e], ax
lea eax, [ebp - 0x80]
push 0x1c
push eax
mov eax, dword [ebp - 4]
inc eax
push eax
call dword [0x72a50b48]
sub eax, dword [ebp - 4]
add dword [ebp - 8], eax
jmp 0x72a0d1bc
mov word [ebp - 0x7a], bx
mov eax, dword [ecx]
cmp eax, 0x101
mov dword [ebp - 4], ebx
je 0x72a0d233
cmp eax, 0x105
jne 0x72a0d23a
mov dword [ebp - 0x78], 2
mov ax, word [ecx + 4]
mov word [ebp - 0x7c], ax
jmp 0x72a0d203
lea eax, [ebp - 0x280]
push eax
call edi
push 0xd
xor eax, eax
pop ecx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov al, byte [ebp - 0x16c]
push 2
cmp al, byte [ebp - 0x26c]
pop edi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], edi
je 0x72a0d28d
lea eax, [ebp - 0x48]
push 0x1c
push eax
push edi
mov word [ebp - 0x44], 0x14
mov word [ebp - 0x28], 0x14
call dword [0x72a50b48]
mov al, byte [ebp - 0xf0]
cmp al, byte [ebp - 0x1f0]
je 0x72a0d2b4
lea eax, [ebp - 0x48]
push 0x1c
push eax
push edi
mov word [ebp - 0x44], 0x90
mov word [ebp - 0x28], 0x90
call dword [0x72a50b48]
mov al, byte [ebp - 0xef]
cmp al, byte [ebp - 0x1ef]
je 0x72a0d2db
lea eax, [ebp - 0x48]
push 0x1c
push eax
push edi
mov word [ebp - 0x44], 0x91
mov word [ebp - 0x28], 0x91
call dword [0x72a50b48]
mov ax, word [0x72a4f0c4]
and ax, 0x3ff
cmp ax, 0x11
jne 0x72a0d312
mov al, byte [ebp - 0x16b]
cmp al, byte [ebp - 0x26b]
je 0x72a0d312
lea eax, [ebp - 0x48]
push 0x1c
push eax
push edi
mov word [ebp - 0x44], 0x15
mov word [ebp - 0x28], 0x15
call dword [0x72a50b48]
cmp dword [ebp - 0x10], ebx
mov dword [0x72a4f41c], esi
mov dword [0x72a4f42c], ebx
mov dword [0x72a4f430], ebx
mov dword [0x72a4f418], ebx
je 0x72a0d336
push ebx
call dword [0x72a50b4c]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 8], eax
je 0x72a0d34b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x11
call fcn.72a0e22c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x72a0ddf4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
cmp dword [0x72a4fb8c], 3
push esi
push edi
jne 0x72a0ded8
mov al, byte [0x729599f1]
mov ecx, 0x81
mov byte [ebp - 0x208], al
xor eax, eax
lea edi, [ebp - 0x207]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x208]
push 0x104
push eax
push esi
mov dword [0x72a4fb8c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x72a0ded8
mov al, byte [0x729599f1]
push 0x40
mov byte [ebp - 0x30c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x30b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x30c]
push esi
push eax
push esi
lea eax, [ebp - 0x208]
push esi
push eax
call fcn.729455fe
add esp, 0x14
lea eax, [ebp - 0x208]
push 0x7295a114
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x394]
push 0x4000
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
je 0x72a0ded8
lea eax, [ebp - 0x208]
push eax
push esi
push 0x7296eb30
push 0x729692a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, esi
jl 0x72a0ded1
cmp eax, 3
jl 0x72a0ded3
xor eax, eax
mov dword [0x72a4fb8c], eax
pop edi
pop esi
leave
ret

Function at 0x72a0e15b
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push esi
call fcn.7294e4c8
mov dword [esi + 0x18], fcn.72a0e364
add esi, 4
mov eax, dword [esp + 8]
cmp dword [esi], 0
mov dword [esi + 0x18], eax
jne 0x72a0e1aa
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0x24], 0
jne 0x72a0e1aa
cmp dword [esi], 0
jne 0x72a0e1aa
push eax
call fcn.7294a203
test eax, eax
je 0x72a0e1aa
mov ecx, dword [eax + 0x40]
and dword [esi], 0
mov edx, esi
call fcn.72a1a612
pop esi
ret 8

Function at 0x72a0e22c
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [esp + 0xc]
cmp esi, 0x9c68
jne 0x72a0e26e
push edi
call fcn.7294a203
test eax, eax
je 0x72a0e26e
test byte [eax + 0x28], 4
jne 0x72a0e25c
or byte [edi + 0x76], 2
test eax, eax
je 0x72a0e26e
push eax
call fcn.72a0e86e
push eax
push 0x13
call fcn.7294b091
mov eax, esi
add edi, 0x78
or esi, 0x800a0000
push edi
neg eax
sbb eax, eax
and eax, esi
push eax
call fcn.72a0e15b
push edi
call fcn.72a0e1ae
Function at 0x72a0ec6f
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push edi
push dword [0x72a4fba4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x72a0ed34
mov edi, dword [sym.imp.ole32.dll_CoTaskMemAlloc]
push 0x10
call edi
mov esi, eax
cmp esi, ebx
je 0x72a0eca4
push 0x20
call edi
mov edx, eax
cmp edx, ebx
jne 0x72a0ecb0
push ebx
call fcn.72a0ec2b
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 8
xor eax, eax
pop ecx
mov edi, edx
rep stosd dword es:[edi], eax
and dword [edx + 0x14], 0xfffffffc
or dword [edx + 0xc], 0xffffffff
mov edi, 0x72a50b50
mov dword [esi], edx
push edi
mov dword [esi + 4], edx
mov dword [esi + 0xc], ebx
mov dword [edx + 8], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x72a50b70]
push edi
mov dword [esi + 8], eax
mov dword [0x72a50b70], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
push dword [0x72a4fba4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp byte [0x72a4f290], bl
je 0x72a0ed23
push ebx
call fcn.72a0f9ef
mov edi, eax
cmp edi, ebx
je 0x72a0ed23
test byte [edi + 4], 8
je 0x72a0ed20
mov eax, dword [edi + 8]
push ebx
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
push edi
jmp 0x72a0ed03
push 1
push 1
push ebx
push ebx
push 0xfffffffffffffffe
push 0xfffffffffffffffa
push 1
call fcn.72a0ed3b
mov eax, esi
jmp 0x72a0ecac
Function at 0x72a0efcb
Capabilities:
Query environment variable
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0xc], ebx
mov dword [0x72a4f0d0], ebx
mov eax, dword [ebp - 0xc]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x14]
push ebx
inc dword [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x14], 0x200
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x72a0f0e9
push 4
lea eax, [ebp - 8]
pop esi
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x1c], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x72a0f0e9
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x41c]
push 0x7296eb58
push eax
call fcn.72a2c96a
add esp, 0xc
lea eax, [ebp - 0x41c]
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x72a0f08c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x7296eb44
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x72a0f0d0
cmp dword [ebp - 0x18], esi
jne 0x72a0f0d0
cmp dword [ebp - 0x10], ebx
je 0x72a0f0d0
push 0x10
call fcn.72945484
mov esi, eax
xor eax, eax
mov edi, esi
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x7296eb3c
mov dword [esi + 8], ebx
push dword [ebp - 8]
mov byte [ebp - 1], bl
call fcn.72a0f105
test eax, eax
jne 0x72a0f0b9
cmp dword [esi], ebx
jne 0x72a0f0bd
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
jne 0x72a0f0e1
mov eax, dword [0x72a4f0d0]
mov dword [0x72a4f0d0], esi
mov dword [esi + 0xc], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], ebx
jmp 0x72a0efe2
push esi
call fcn.7294d14e
jmp 0x72a0f0d0
mov esi, dword [0x72a4f0d0]
cmp esi, ebx
je 0x72a0f0fe
push esi
call fcn.72a0eeff
mov esi, dword [esi + 0xc]
jmp 0x72a0f0ef
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x72a10d70
Capabilities:
Get thread local storage value

Disassembly:
push esi
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [esp + 8], 0
mov esi, dword [eax + 0x1c]
je 0x72a10d9b
push 0x7296ef60
push dword [esp + 0xc]
call fcn.72a2ca0a
pop ecx
test eax, eax
pop ecx
jne 0x72a10da3
push 1
push esi
call fcn.729466e5
pop esi
ret 4

Function at 0x72a10dd1
Capabilities:
Get thread local storage value

Disassembly:
push esi
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [eax + 0x14]
call fcn.72a3d000
push 0xffffffffffffffff
push esi
call fcn.72a43b76
mov eax, dword [esp + 4]
push dword [esp + 0xc]
mov eax, dword [eax + 8]
push dword [esp + 0xc]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [eax]
call dword [ecx]
ret 0xc
Function at 0x72a11695
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov ecx, eax
neg ecx
push esi
lea esi, [ebx + 0x34]
sbb ecx, ecx
and dword [ebp - 0xc], 0
and ecx, dword [ebp + 0x10]
and dword [ebp - 4], 0
test dword [esi + 4], 0xfffffffe
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
mov dword [ebp + 0x14], esi
je 0x72a117d8
mov eax, dword [ebx + 8]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esi + 4]
mov ecx, eax
and ecx, 1
or al, 1
mov dword [ebp + 0x10], ecx
mov dword [esi + 4], eax
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
test eax, 0xfffffffe
je 0x72a1176f
lea edx, [ebp + 8]
and al, 0xfe
push edx
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
push 0
push edx
push 1
push 0x409
push 0x7295aea8
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x18]
push dword [0x72a4ef9c]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test byte [eax + 0x76], 2
je 0x72a1175e
mov eax, dword [esi + 4]
and al, 0xfe
or eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.72a193d1
mov eax, dword [ebx + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
cmp edi, 0x80020009
jne 0x72a1176f
lea eax, [ebp - 0x30]
push eax
call fcn.7294e4c8
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x72a116e7
cmp dword [ebp + 0x10], eax
jne 0x72a117ce
and dword [esi + 4], 0xfffffffe
mov dword [ebp + 0x14], esi
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx]
test ecx, ecx
je 0x72a117ce
mov eax, dword [ecx + 4]
test eax, 0xfffffffe
jne 0x72a117aa
mov eax, dword [ecx]
push ecx
mov dword [edx], eax
call fcn.7294d14e
jmp 0x72a1178b
mov edx, dword [esi + 4]
test edx, 0xfffffffe
jne 0x72a117c9
mov edi, eax
xor edi, edx
and edi, 1
xor edi, eax
and eax, 1
mov dword [esi + 4], edi
mov dword [ecx + 4], eax
jmp 0x72a1178b
mov dword [ebp + 0x14], ecx
jmp 0x72a1178b
mov ebx, dword [ebx + 8]
push ebx
mov eax, dword [ebx]
call dword [eax + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x72a11d55
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [eax + 0x50]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.72a218ab
mov cx, word [eax]
cmp cx, 8
jne 0x72a11d9f
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push 7
push eax
push esi
call fcn.72a214dd
push eax
call fcn.72a193d1
fld qword [esi + 8]
pop esi
leave
ret 4
cmp cx, 7
jne 0x72a11daa
fld qword [eax + 8]
jmp 0x72a11d9a
push 0xd
call fcn.72a0e22c
Function at 0x72a12ec9
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
xor edi, edi
push dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call fcn.72a132e0
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 0x18]
mov esi, dword [eax]
lea eax, [ebp - 4]
push eax
push esi
call fcn.72a13b42
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x72a12f28
call fcn.72a138be
cmp dword [ebp - 4], edi
jne 0x72a12f20
mov dword [ebp - 4], 0x3e
cmp dword [ebp - 4], edi
je 0x72a12f28
push dword [ebp - 4]
call fcn.72a0e22c
lea eax, [ebp - 4]
push eax
push ebx
push esi
call fcn.72a13bb6
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.72a138d1
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.72a13b42
cmp eax, 0xd
jne 0x72a12f7a
lea eax, [ebp - 4]
push eax
push esi
call fcn.72a13b42
cmp eax, 0xa
je 0x72a12f7a
cmp dword [ebp - 4], edi
jne 0x72a12f7a
lea ecx, [ebp - 4]
push ecx
push eax
push esi
call fcn.72a13bb6
call fcn.72a138be
cmp dword [ebp - 4], edi
je 0x72a12f8c
push dword [ebp - 4]
call fcn.72a0e22c
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi], eax
pop esi
pop ebx
leave
ret 8