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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [0x1001d0e8], ebx
je 0x10006b4e
xor esi, esi
mov eax, 0x1001d0e8
xchg dword [eax], esi
test esi, esi
je 0x10006b4e
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x10]
test ecx, ecx
je 0x10006b39
call fcn.1000d293
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, edi
test edi, edi
jne 0x10006b2a
push dword [0x1001c854]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, ebx
test edi, edi
je 0x10006b68
mov esi, dword [edi + 4]
mov dword [edi + 4], ebx
mov ecx, dword [ebp + 8]
mov byte [ebp - 1], 1
test ecx, ecx
jne 0x10006b8c
xor esi, esi
inc esi
mov dword [ebp - 8], esi
test edi, edi
jne 0x10006b82
mov byte [ebp - 1], bl
jmp 0x10006b9f
mov eax, dword [edi + 0x14]
mov al, byte [eax]
mov byte [ebp - 1], al
jmp 0x10006b9f
test esi, esi
jne 0x10006b9c
mov esi, dword [0x1001d0f0]
test esi, esi
jg 0x10006b9c
mov esi, ebx
mov dword [ebp - 8], esi
cmp byte [0x1001d0ee], bl
jne 0x10006bb8
test edi, edi
je 0x10006bb8
mov eax, dword [edi + 0x14]
cmp byte [eax], bl
je 0x10006bb8
xor esi, esi
inc esi
mov dword [ebp - 8], esi
mov al, byte [0x1001d0ed]
mov byte [ebp - 2], al
test ecx, ecx
je 0x10006c23
test edi, edi
je 0x10006bfe
mov ebx, dword [edi + 0x20]
test ebx, ebx
je 0x10006bfe
test al, al
jne 0x10006bf7
mov ecx, dword [ebx]
xor eax, eax
test esi, esi
je 0x10006bdf
cmp ecx, esi
jmp 0x10006be5
cmp ecx, dword [0x1001c85c]
setne al
test eax, eax
jne 0x10006bf7
test esi, esi
jne 0x10006c23
mov esi, ecx
mov dword [ebp - 8], esi
jmp 0x10006c23
mov ecx, ebx
call fcn.1000d293
xor eax, eax
cmp byte [ebp - 2], al
jne 0x10006c08
push 0x24
pop eax
push ecx
push eax
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.1000d104
mov ebx, eax
test ebx, ebx
jne 0x10006c20
xor esi, esi
inc esi
jmp 0x10006bf2
mov esi, dword [ebp - 8]
mov al, byte [ebp - 1]
and dword [ebp - 0x2c], 0
push dword [0x1001c854]
mov byte [ebp - 0x34], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x18], 0x100063a4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], 0x10006394
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x34]
test ebx, ebx
je 0x10006c7e
push eax
mov ecx, ebx
call fcn.1000d32a
jmp 0x10006c85
push esi
push eax
call fcn.10006cc8
lea ecx, [ebp - 0x1c]
call fcn.1000cca0
cmp dword [ebp + 8], esi
je 0x10006cc3
test ebx, ebx
je 0x10006cbc
cmp byte [0x1001d0ed], 0
jne 0x10006cb5
cmp byte [ebp - 2], 0
jne 0x10006cb5
test edi, edi
jne 0x10006cb0
call fcn.10009f41
mov edi, eax
mov dword [edi + 0x20], ebx
jmp 0x10006cc3
mov ecx, ebx
call fcn.1000d293
test edi, edi
je 0x10006cc3
mov dword [edi + 0x20], esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006cc8
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x10006ce2
mov eax, dword [esi + 0x28]
jmp 0x10006ce4
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1001c854]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], esi
mov byte [ebp - 8], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
call fcn.10006d47
pop ecx
test edi, edi
jne 0x10006d27
push dword [ebp - 0x14]
jmp 0x10006d28
push ebx
push dword [0x1001c854]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x10006d40
call fcn.1000d293
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10007021
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
cmp dword [edi], 2
je 0x10007098
cmp byte [0x1001c860], 0
je 0x1000706a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov ecx, dword [0x1001d0f8]
cmp dword [edi], 2
je 0x10007098
pause
dec ecx
test ecx, ecx
jg 0x10007051
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x64
jb 0x10007045
xor ecx, ecx
xor eax, eax
inc ecx
lock cmpxchg dword [edi], ecx
test eax, eax
jne 0x10007098
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x1000708d
lea ecx, [ebp - 8]
mov byte [ebp - 8], 1
call fcn.10007599
mov dword [esi + 0xc], eax
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100072d3
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.10008092

Function at 0x100073ae
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push dword [0x1001c854]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov ecx, dword [ebx + 0x14]
cmp dword [ecx + 4], 1
je 0x10007428
push esi
push edi
mov edi, dword [ebx + 0x18]
mov ecx, dword [edi]
mov esi, dword [ecx + 4]
mov ecx, esi
call fcn.1001aab6
mov ecx, edi
call esi
cmp eax, 3
jne 0x100073f6
mov edx, dword [edi + 0x20]
test edx, edx
je 0x10007426
imul ecx, dword [ebx], 0x14
mov eax, dword [edx + 0x18]
mov eax, dword [eax + 0x18]
add dword [ecx + edx + 0x34], eax
jmp 0x10007426
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call fcn.1001aab6
mov ecx, edi
call esi
cmp eax, 6
jne 0x10007426
mov esi, dword [edi + 0x30]
test esi, esi
je 0x10007426
imul edx, dword [ebx], 0x28
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x20]
add dword [edx + esi + 0x40], eax
mov eax, dword [ecx + 0x24]
adc dword [edx + esi + 0x44], eax
pop edi
pop esi
pop ebx
ret
Function at 0x10007524
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
push dword [edi]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [edi + 4], eax
test eax, eax
jne 0x1000758e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xa
mov ebx, eax
pop esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [edi]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [edi + 4], eax
test eax, eax
jne 0x1000758e
add esi, esi
mov eax, 0x3e8
cmp esi, eax
jbe 0x1000757d
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x7530
jae 0x10007593
jmp 0x10007551
pop edi
pop esi
pop ebx
leave
ret
call sym.VCOMP140.DLL__vcomp_for_static_end
int3

Function at 0x10007599
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor eax, eax
cmp byte [edi], al
sete al
xor esi, esi
push esi
push eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 4], eax
test eax, eax
jne 0x10007609
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xa
mov ebx, eax
pop esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
cmp byte [edi], cl
push 0
sete cl
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 4], eax
test eax, eax
jne 0x10007609
add esi, esi
mov eax, 0x3e8
cmp esi, eax
jbe 0x100075f8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x7530
jae 0x1000760e
jmp 0x100075c9
pop edi
pop esi
pop ebx
leave
ret
call sym.VCOMP140.DLL__vcomp_for_static_end
int3

Function at 0x100097c4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
cmp dword [edi], 2
je 0x10009851
cmp byte [0x1001c860], 0
je 0x1000980d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov ecx, dword [0x1001d0fc]
cmp dword [edi], 2
je 0x10009851
pause
dec ecx
test ecx, ecx
jg 0x100097f4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x64
jb 0x100097e8
xor ecx, ecx
xor eax, eax
inc ecx
lock cmpxchg dword [edi], ecx
cmp eax, 2
je 0x10009851
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x10009846
test eax, eax
jne 0x10009839
lea ecx, [ebp - 8]
mov byte [ebp - 8], 1
call fcn.10007599
mov dword [esi + 0xc], eax
mov ecx, eax
jmp 0x10009846
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10009839
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100099a3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
push dword [0x1001c854]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 0x18]
lea ebx, [esi + 0x10]
mov edx, dword [ebx]
test edx, edx
je 0x100099d4
lea ecx, [edx - 1]
mov eax, edx
lock cmpxchg dword [ebx], ecx
cmp eax, edx
jne 0x100099ba
mov esi, dword [esi + 0xc]
sub esi, edx
jmp 0x100099de
mov ecx, edi
or esi, 0xffffffff
call fcn.10009ed7
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x10009a94
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x1001c854]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10009ab4
mov ecx, dword [eax + 0x14]
cmp dword [ecx + 4], 1
je 0x10009ab4
mov ecx, eax
jmp fcn.10009ed7
ret

Function at 0x10009ab5
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [0x1001c854]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10009af9
mov ecx, dword [esi + 0x14]
cmp dword [ecx + 4], 1
je 0x10009af9
mov ecx, dword [esi + 0x18]
lea edx, [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
add ecx, 0x14
call fcn.10009856
mov ecx, esi
call fcn.10009ed7
pop esi
pop ebp
jmp sym.VCOMP140.DLL__vcomp_barrier
pop esi
pop ebp
ret

Function at 0x10009afc
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
push dword [0x1001c854]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 0x18]
test ecx, ecx
jne 0x10009b29
lea ecx, [edi + 0x14]
call fcn.100097c4
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov dword [esi + 8], eax
jmp 0x10009b2c
mov eax, dword [esi + 8]
add ecx, 4
sub eax, 1
mov dword [esi + 0xc], ecx
mov edi, dword [ecx - 4]
mov dword [esi + 8], eax
jne 0x10009b43
and dword [esi + 0xc], 0
jmp 0x10009b47
test ecx, ecx
jne 0x10009b4e
mov ecx, esi
call fcn.10009ed7
mov eax, edi
pop edi
pop esi
ret
Function at 0x10009ded
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push 4
push 0x1000
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x1001d11c], eax
test eax, eax
je 0x10009eba
push esi
push 0x10005f5c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x10009eb4
push 0x10005f78
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10009eb4
mov ecx, dword [0x1001d11c]
push 0x10005f90
push esi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10009eb4
mov ecx, dword [0x1001d11c]
push 0x10005fb4
push esi
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10009eb4
mov ecx, dword [0x1001d11c]
push 0x10005fd8
push esi
mov dword [ecx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10009eb4
mov ecx, dword [0x1001d11c]
push 0x10005ff4
push esi
mov dword [ecx + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10009eb4
mov ecx, dword [0x1001d11c]
mov dword [ecx + 0x10], eax
lea eax, [ebp - 4]
push eax
push 2
push 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10009eb9
call fcn.10009ebc
pop esi
leave
ret

Function at 0x10009ed7
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ecx + 0x18]
or eax, 0xffffffff
push edi
mov byte [ecx + 0x1c], 0
lock xadd dword [esi + 4], eax
dec eax
mov edi, dword [esi]
jne 0x10009f30
mov ecx, dword [edi + 0xc]
call fcn.1001aab6
mov ecx, esi
call dword [edi + 0xc]
push dword [0x1001c854]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax + 0x14]
mov edi, dword [ecx + 0x18]
mov eax, dword [edi + 8]
mov dword [ecx + 0x18], eax
lea eax, [ecx + 0x1c]
cmp edi, eax
je 0x10009f3d
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call fcn.1001aab6
mov ecx, edi
call esi
jmp 0x10009f3d
mov ecx, dword [edi + 8]
call fcn.1001aab6
mov ecx, esi
call dword [edi + 8]
pop edi
pop esi
leave
ret

Function at 0x10009f41
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [0x1001c854]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x10009fca
push ebx
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0x24
call fcn.10007524
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0x2c
mov esi, eax
call fcn.10007524
xor ebx, ebx
xor edx, edx
inc edx
push esi
push dword [0x1001c854]
mov byte [eax], bl
lea ecx, [eax + 0x1c]
mov dword [eax + 0x18], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [ecx], 0x100063a4
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebx
mov dword [ecx], 0x10006394
mov dword [eax + 0x28], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
mov byte [esi + 0x1c], bl
mov dword [esi + 0x20], ebx
mov eax, dword [eax + 0x18]
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebx
mov eax, esi
pop esi
leave
ret
Function at 0x1000b6cb
Capabilities:
Allocate thread local storage
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1001c854], eax
call fcn.10009ded
cmp dword [0x1001d11c], 0
je 0x1000b6f6
call fcn.1000b631
mov dword [0x1001c85c], eax
jmp 0x1000b6fb
mov eax, dword [0x1001c85c]
push esi
xor esi, esi
inc esi
cmp eax, esi
jne 0x1000b71b
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp dword [ebp - 0x10], esi
jb 0x1000b715
mov esi, dword [ebp - 0x10]
mov dword [0x1001c85c], esi
call fcn.1000b7be
call fcn.1000b850
pop esi
leave
ret

Function at 0x1000c742
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test al, 7
jne 0x1000c77d
mov esi, dword [eax]
mov ebx, esi
mov edx, dword [eax + 4]
mov ecx, edx
xor ebx, dword [ebp + 0xc]
mov eax, esi
xor ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edx
lock cmpxchg8b qword [edi]
cmp eax, esi
mov eax, edi
jne 0x1000c753
cmp edx, dword [esp + 0xc]
jne 0x1000c753
jmp 0x1000c7a7
push 0x1001d118
call sym.VCOMP140.DLL__vcomp_enter_critsect
mov edx, dword [ebp + 8]
pop ecx
mov eax, dword [edx]
mov ecx, dword [edx + 4]
xor eax, dword [ebp + 0xc]
xor ecx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [edx + 4], ecx
push dword [0x1001d118]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000d455
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi]
sub edi, 1
je 0x1000d4bd
xor ecx, ecx
lea eax, [esi + 0x30]
push ecx
push ecx
push eax
push 0x1000cd6a
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x1000d482
xor eax, eax
jmp 0x1000d4c0
xor ebx, ebx
mov dword [esi + 0x34], eax
inc ebx
cmp edi, ebx
jbe 0x1000d4bd
lea eax, [esi + 0x3c]
mov dword [ebp - 4], eax
xor ecx, ecx
add eax, 0xfffffffc
push ecx
push ecx
push eax
push 0x1000cd6a
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
test ecx, ecx
je 0x1000d4c5
mov eax, dword [ebp - 4]
inc ebx
mov dword [eax], ecx
add eax, 8
mov dword [ebp - 4], eax
cmp ebx, edi
jb 0x1000d492
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [esi + 0x1c]
mov dword [esi + 8], 1
call fcn.1000cce5
sub edi, ebx
mov ecx, dword [esi + 0x1c]
call fcn.1000709d
sub edi, 1
jne 0x1000d4d6
mov ecx, esi
call fcn.1000cdd1
mov ecx, dword [esi + 0x1c]
call fcn.10007021
jmp 0x1000d47e
Function at 0x1000dc29
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x1001c004]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
push 0x20a
xor ebx, ebx
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.10019f00
add esp, 0xc
mov dword [esp + 0x10], ebx
push ebx
push ebx
push 0x10006200
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
lea eax, [ebx + ebx]
cmp eax, ebx
jbe 0x1000dd71
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.10007524
mov esi, eax
xor eax, eax
push ebx
push esi
push 0x1000620c
mov word [esi], ax
mov edi, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1000dd61
movzx eax, word [esi]
mov ecx, eax
test ax, ax
je 0x1000dd61
mov ebx, dword [esp + 0x14]
push 0x3b
pop edx
mov dword [esp + 0x18], edx
movzx eax, cx
cmp eax, 0x20
je 0x1000dd40
cmp ax, dx
je 0x1000dd40
test ax, ax
je 0x1000dd61
xor ecx, ecx
lea edx, [esp + 0x20]
cmp ax, word [esp + 0x18]
je 0x1000dcfe
inc ecx
cmp ecx, 0x104
jge 0x1000dcfe
add edi, 2
mov word [edx], ax
add edx, 2
movzx eax, word [edi]
test ax, ax
jne 0x1000dcdd
xor eax, eax
mov word [edx], ax
test ecx, ecx
je 0x1000dd31
cmp ecx, 0x104
jge 0x1000dd31
sub esp, 0xc
lea eax, [esp + 0x1c]
mov edx, 0x10006218
push ebx
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.1000d4f4
add esp, 0x18
cmp dword [esp + 0x10], 0
jne 0x1000dd4b
movzx eax, word [edi]
mov ecx, eax
test ax, ax
je 0x1000dd61
push 0x3b
pop edx
jmp 0x1000dcc1
add edi, 2
movzx ecx, word [edi]
jmp 0x1000dcc1
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x10]
jmp 0x1000dd73
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000df30
mov esp, ebp
pop ebp
ret

Function at 0x1000de39
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edx, dword [0x1001d120]
push esi
mov esi, ecx
push edi
test edx, edx
jne 0x1000de63
call fcn.1000dd88
mov edx, eax
mov dword [0x1001d120], edx
test edx, edx
jne 0x1000de63
mov edx, 0x10000000
mov dword [0x1001d120], edx
mov eax, esi
xor edi, edi
sar eax, 4
push edi
inc eax
movzx eax, ax
push eax
push 6
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x1000de84
mov eax, 0x10006258
jmp 0x1000deca
push eax
push dword [0x1001d120]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, eax
test ecx, ecx
jne 0x1000de9e
mov eax, 0x1000625c
jmp 0x1000deca
and esi, 0x8000000f
jns 0x1000dead
dec esi
or esi, 0xfffffff0
add esi, 1
je 0x1000debd
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
add ecx, 2
sub esi, 1
jne 0x1000deaf
mov eax, 0x10006260
cmp word [ecx], di
je 0x1000deca
lea eax, [ecx + 2]
pop edi
pop esi
ret
Function at 0x100164b1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fld dword [esi + eax*8 + 0x45]
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x10016519
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1001608e
push eax
push esi
push dword [ebp + 8]
call fcn.10016043
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1001607e
mov ecx, fs
movsb byte es:[edi], byte [esi]
mov cl, byte [eax - 0x8363]
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
mov byte [ebp - 0x80], 0x51
invalid
inc ebp
Function at 0x40edf0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x499a2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048e63f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ee72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048c4b1
mov eax, dword [eax]
push 0x4b9cac
push eax
call fcn.0047e4d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048e8ca
test bl, bl
je 0x40ee72
push 0x4b9cac
lea ecx, [esp + 0xc]
call fcn.0048ec5a
push 0x4b9cb8
lea ecx, [esp + 0xc]
call fcn.0048ec5a
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40eeae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048e8ca
jmp 0x40ef79
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40ef32
lea edx, [esp + 0x7c]
push 0x4b9cb4
push edx
call fcn.0047e4d4
add esp, 8
test eax, eax
je 0x40ef32
lea eax, [esp + 0x7c]
push 0x4b9cb0
push eax
call fcn.0047e4d4
add esp, 8
test eax, eax
je 0x40ef32
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40eec2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048e8ca
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40f780
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40f7e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc