joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470ec0
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [0x4c0090]
test eax, eax
je 0x470fa2
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x470ef1
mov esi, eax
mov eax, dword [eax]
or eax, dword [esi + 4]
jne 0x470f97
mov eax, dword [0x4c0090]
test eax, eax
je 0x470fb1
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x470f74
mov esi, eax
test eax, eax
jne 0x470f54
movzx eax, byte [0x4c0b90]
xor ecx, ecx
mov edx, 0x20
call fcn.0046de40
test eax, eax
je 0x470fcc
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0x18], 0x4c0090
mov esi, eax
mov eax, dword [0x4c0090]
test eax, eax
je 0x470fc0
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xorps xmm0, xmm0
mov eax, esp
movaps xmmword [esp], xmm0
push 2
push 0x10
push eax
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x470f78
movaps xmm0, xmmword [esp]
jmp 0x470f86
xor esi, esi
jmp 0x470f9a
lea ecx, [esp + 0x10]
call fcn.0046d830
movups xmm0, xmmword [esp + 0x10]
mov dword [esi + 4], 0
mov dword [esi], 1
movups xmmword [esi + 8], xmm0
add esi, 8
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov ecx, 0x4c0090
call fcn.00491290
jmp 0x470ed8
mov ecx, 0x4c0090
call fcn.00491290
jmp 0x470eff
mov ecx, 0x4c0090
call fcn.00491290
jmp 0x470f4c
mov ecx, 8
mov edx, 0x20
call fcn.0048d220
int3
Function at 0x471215
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, ecx
mov eax, dword [0x4c00c8]
test eax, eax
je 0x47135a
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x47124d
mov ebx, eax
mov eax, dword [eax]
or eax, dword [ebx + 4]
jne 0x47134d
mov eax, dword [0x4c00c8]
test eax, eax
je 0x471369
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x4712c9
mov ebx, eax
test eax, eax
jne 0x4712ac
mov al, byte [0x4c0b90]
xor edi, edi
xor ecx, ecx
mov edx, 0x50
call fcn.0046de40
test eax, eax
je 0x471387
mov ebx, eax
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 0x48], 0x4c00c8
mov eax, dword [0x4c00c8]
test eax, eax
je 0x471378
dec eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
je 0x4712d0
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi], ecx
lea edx, [esi + 8]
or eax, dword [esi + 4]
mov dword [esi + 4], ecx
mov eax, 0x4b1668
cmovne eax, edx
jmp 0x4712d5
xor ebx, ebx
jmp 0x471350
mov eax, 0x4b1668
movups xmm0, xmmword [eax + 0x30]
movaps xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [eax + 0x20]
movaps xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movaps xmmword [esp + 0x10], xmm1
movaps xmmword [esp], xmm0
lea eax, [esp + 0x40]
mov ecx, 0x12
mov edi, eax
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 4], 0
mov dword [ebx], 1
movaps xmm0, xmmword [esp + 0x30]
movups xmmword [ebx + 0x38], xmm0
movaps xmm0, xmmword [esp + 0x20]
movups xmmword [ebx + 0x28], xmm0
movaps xmm0, xmmword [esp]
movaps xmm1, xmmword [esp + 0x10]
movups xmmword [ebx + 0x18], xmm1
movups xmmword [ebx + 8], xmm0
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x47134d
cmp dword [esp + 0x4c], 2
je 0x47134d
lea ecx, [esp + 0x4c]
call fcn.00436b9d
add ebx, 8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x4c00c8
call fcn.00491290
jmp 0x471234
mov ecx, 0x4c00c8
call fcn.00491290
jmp 0x47125b
mov ecx, 0x4c00c8
call fcn.00491290
jmp 0x4712a4
mov ecx, 8
mov edx, 0x50
call fcn.0048d220
push edi
push esi
mov edi, dword [esp + 0xc]
mov esi, dword [edi]
mov eax, dword [esi]
test eax, eax
je 0x4713e4
dec eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [edi + 4]
test eax, eax
je 0x4713c2
lock dec dword [eax]
jne 0x4713c2
mov ecx, dword [edi + 4]
call fcn.00462600
push edi
push 0
push dword [0x4c0b18]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi]
test eax, eax
je 0x4713ed
dec eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop edi
ret
mov ecx, esi
call fcn.00491290
jmp 0x4713a5
mov ecx, esi
call fcn.00491290
jmp 0x4713d8
Function at 0x471396
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, ecx
mov eax, dword [0x4c00c8]
test eax, eax
je 0x47135a
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x47124d
mov ebx, eax
mov eax, dword [eax]
or eax, dword [ebx + 4]
jne 0x47134d
mov eax, dword [0x4c00c8]
test eax, eax
je 0x471369
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x4712c9
mov ebx, eax
test eax, eax
jne 0x4712ac
mov al, byte [0x4c0b90]
xor edi, edi
xor ecx, ecx
mov edx, 0x50
call fcn.0046de40
test eax, eax
je 0x471387
mov ebx, eax
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 0x48], 0x4c00c8
mov eax, dword [0x4c00c8]
test eax, eax
je 0x471378
dec eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
je 0x4712d0
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi], ecx
lea edx, [esi + 8]
or eax, dword [esi + 4]
mov dword [esi + 4], ecx
mov eax, 0x4b1668
cmovne eax, edx
jmp 0x4712d5
xor ebx, ebx
jmp 0x471350
mov eax, 0x4b1668
movups xmm0, xmmword [eax + 0x30]
movaps xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [eax + 0x20]
movaps xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movaps xmmword [esp + 0x10], xmm1
movaps xmmword [esp], xmm0
lea eax, [esp + 0x40]
mov ecx, 0x12
mov edi, eax
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 4], 0
mov dword [ebx], 1
movaps xmm0, xmmword [esp + 0x30]
movups xmmword [ebx + 0x38], xmm0
movaps xmm0, xmmword [esp + 0x20]
movups xmmword [ebx + 0x28], xmm0
movaps xmm0, xmmword [esp]
movaps xmm1, xmmword [esp + 0x10]
movups xmmword [ebx + 0x18], xmm1
movups xmmword [ebx + 8], xmm0
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x47134d
cmp dword [esp + 0x4c], 2
je 0x47134d
lea ecx, [esp + 0x4c]
call fcn.00436b9d
add ebx, 8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x4c00c8
call fcn.00491290
jmp 0x471234
mov ecx, 0x4c00c8
call fcn.00491290
jmp 0x47125b
mov ecx, 0x4c00c8
call fcn.00491290
jmp 0x4712a4
mov ecx, 8
mov edx, 0x50
call fcn.0048d220
push edi
push esi
mov edi, dword [esp + 0xc]
mov esi, dword [edi]
mov eax, dword [esi]
test eax, eax
je 0x4713e4
dec eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [edi + 4]
test eax, eax
je 0x4713c2
lock dec dword [eax]
jne 0x4713c2
mov ecx, dword [edi + 4]
call fcn.00462600
push edi
push 0
push dword [0x4c0b18]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi]
test eax, eax
je 0x4713ed
dec eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop edi
ret
mov ecx, esi
call fcn.00491290
jmp 0x4713a5
mov ecx, esi
call fcn.00491290
jmp 0x4713d8
Function at 0x47213b
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0x4c00a4]
test eax, eax
je 0x4721db
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x472164
mov edi, eax
cmp dword [eax + 4], 0
je 0x472164
add edi, 4
jmp 0x4721d6
mov eax, dword [0x4c00a4]
test eax, eax
je 0x4721ea
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x4721d4
mov esi, eax
test eax, eax
jne 0x4721b6
mov al, byte [0x4c0b90]
xor ecx, ecx
mov edx, 8
call fcn.0046de40
test eax, eax
je 0x472205
mov esi, eax
mov dword [eax], 0x4c00a4
mov dword [eax + 4], 0
mov eax, dword [0x4c00a4]
test eax, eax
je 0x4721f9
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea edi, [esi + 4]
call fcn.00472108
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
test ecx, ecx
je 0x4721d6
lock dec dword [ecx]
jne 0x4721d6
call fcn.00462600
jmp 0x4721d6
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0x4c00a4
call fcn.00491290
jmp 0x47214b
mov ecx, 0x4c00a4
call fcn.00491290
jmp 0x47216e
mov ecx, 0x4c00a4
call fcn.00491290
jmp 0x4721ae
mov ecx, 4
mov edx, 8
call fcn.0048d220
push edi
push esi
mov edi, dword [esp + 0xc]
mov esi, dword [edi + 0x48]
mov eax, dword [esi]
test eax, eax
je 0x472264
dec eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x472242
cmp dword [edi + 0xc], 2
je 0x472242
lea ecx, [edi + 0xc]
call fcn.00436b9d
push edi
push 0
push dword [0x4c0b18]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi]
test eax, eax
je 0x47226d
dec eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop edi
ret
mov ecx, esi
call fcn.00491290
jmp 0x472224
mov ecx, esi
call fcn.00491290
jmp 0x472258
Function at 0x472214
Capabilities:
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0x4c00a4]
test eax, eax
je 0x4721db
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x472164
mov edi, eax
cmp dword [eax + 4], 0
je 0x472164
add edi, 4
jmp 0x4721d6
mov eax, dword [0x4c00a4]
test eax, eax
je 0x4721ea
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x4721d4
mov esi, eax
test eax, eax
jne 0x4721b6
mov al, byte [0x4c0b90]
xor ecx, ecx
mov edx, 8
call fcn.0046de40
test eax, eax
je 0x472205
mov esi, eax
mov dword [eax], 0x4c00a4
mov dword [eax + 4], 0
mov eax, dword [0x4c00a4]
test eax, eax
je 0x4721f9
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea edi, [esi + 4]
call fcn.00472108
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
test ecx, ecx
je 0x4721d6
lock dec dword [ecx]
jne 0x4721d6
call fcn.00462600
jmp 0x4721d6
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0x4c00a4
call fcn.00491290
jmp 0x47214b
mov ecx, 0x4c00a4
call fcn.00491290
jmp 0x47216e
mov ecx, 0x4c00a4
call fcn.00491290
jmp 0x4721ae
mov ecx, 4
mov edx, 8
call fcn.0048d220
push edi
push esi
mov edi, dword [esp + 0xc]
mov esi, dword [edi + 0x48]
mov eax, dword [esi]
test eax, eax
je 0x472264
dec eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x472242
cmp dword [edi + 0xc], 2
je 0x472242
lea ecx, [edi + 0xc]
call fcn.00436b9d
push edi
push 0
push dword [0x4c0b18]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi]
test eax, eax
je 0x47226d
dec eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop edi
ret
mov ecx, esi
call fcn.00491290
jmp 0x472224
mov ecx, esi
call fcn.00491290
jmp 0x472258
Function at 0x47a0a8
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, edx
mov esi, ecx
xor edi, edi
lea eax, [esp + 4]
mov dword [eax], edi
push eax
push 0x4b3894
push 1
push edi
push 0x4b38b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x47a177
mov ebp, dword [esp + 4]
test ebp, ebp
je 0x47a18a
mov edx, dword [esp + 0x20]
mov ecx, ebx
call fcn.00479bea
mov edi, eax
xor ebx, ebx
lea eax, [esp + 8]
mov dword [eax], ebx
mov ecx, dword [ebp]
sub esp, 0x24
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
movaps xmm0, xmmword [0x493a40]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], edi
mov dword [esp], ebp
call dword [ecx + 0xc]
test eax, eax
js 0x47a195
mov eax, dword [esp + 8]
mov dword [esp], eax
test eax, eax
je 0x47a1a8
test edi, edi
je 0x47a13a
push edi
call dword [sym.imp.oleaut32.dll_SysFreeString]
sub esp, 0x20
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
movaps xmm0, xmmword [0x493a50]
movups xmmword [esp + 4], xmm0
mov ebx, dword [esp + 0x20]
mov dword [esp], ebx
mov dword [esp + 0x14], 3
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x47a1cb
mov dword [esi + 4], ebx
mov dword [esi], 0x80000011
jmp 0x47a1bc
mov ecx, eax
call fcn.00479561
mov edi, eax
test edx, edx
je 0x47a18a
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov dword [esi], 0x80000000
mov dword [esi + 4], edi
jmp 0x47a1c3
mov ecx, eax
call fcn.00479561
mov ebx, eax
test edx, edx
je 0x47a1a8
mov eax, dword [edx]
push edx
call dword [eax + 8]
test edi, edi
je 0x47a1b3
push edi
call dword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [esi], 0x80000000
mov dword [esi + 4], ebx
mov eax, dword [ebp]
push ebp
call dword [eax + 8]
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, eax
call fcn.00479561
mov edi, eax
test edx, edx
je 0x47a1de
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov dword [esi + 4], edi
mov dword [esi], 0x80000000
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
jmp 0x47a1bc

Function at 0x47e69e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x47e6dd
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x47e6dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x47e6dd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x47e6dd
cmp dword [ecx + 0x74], 0xe
jbe 0x47e6dd
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x486691
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x48672e
push ebx
push esi
call fcn.0048665a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004865ee
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4866db
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x48672d
push edi
push eax
call fcn.004872ae
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4866fb
call fcn.0048514f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x48672c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004865ee
add esp, 0x20
test eax, eax
jne 0x48671a
push edi
call fcn.0048514f
jmp 0x486722
push ebx
call fcn.0048514f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x487a2b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b5d98
push 0x4b5d90
push str.FlsAlloc
push 0x1f
call fcn.004878ea
mov esi, eax
add esp, 0x10
test esi, esi
je 0x487a5f
push dword [ebp + 8]
mov ecx, esi
call dword [0x49327c]
call esi
jmp 0x487a65
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x487aa9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b5da8
push 0x4b5da0
push str.FlsGetValue
push 0x21
call fcn.004878ea
mov esi, eax
add esp, 0x10
test esi, esi
je 0x487ae0
push dword [ebp + 8]
mov ecx, esi
call dword [0x49327c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x487ae8
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b5db0
push 0x4b5da8
push str.FlsSetValue
push 0x22
call fcn.004878ea
mov esi, eax
add esp, 0x10
test esi, esi
je 0x487b22
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x49327c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x48cf90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x48cfbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48cfbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x49010c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
push str.api_ms_win_core_synch_l1_2_0.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x49014a
mov edi, eax
push str.WaitOnAddress
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x49014a
mov esi, eax
push str.WakeByAddressSingle
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x49014a
mov ebx, eax
xor edi, edi
jmp 0x4901b2
push 0x4a91c8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x490209
mov esi, eax
push str.NtCreateKeyedEvent
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x490209
mov ebx, eax
push str.NtReleaseKeyedEvent
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x490209
mov edi, eax
push str.NtWaitForKeyedEvent
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x490209
mov esi, eax
xor eax, eax
mov ecx, esp
push eax
push eax
push 0xc0000000
push ecx
call ebx
test eax, eax
jne 0x490209
mov ebx, dword [esp]
mov al, byte [0x4c0b90]
xor ecx, ecx
mov edx, 0xc
call fcn.0046de40
test eax, eax
je 0x49021d
mov ebp, eax
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
xor eax, eax
lock cmpxchg dword [0x4c0ab0], ebp
je 0x4901ff
mov esi, eax
cmp dword [ebp], 0
je 0x4901ee
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
push 0
push dword [0x4c0b18]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebp, esi
mov eax, ebp
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8__registry_srcindex.crates.io_1cd66030c949c28dparking_lot_core_0.9.9_src_thread_parkerwindowsmod.rs
mov edx, 0x5b
push 0x4a9294
call fcn.0049022c
mov ecx, 4
mov edx, 0xc
call fcn.0048d220
Function at 0x491290
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x491301
lea ebx, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x491338
cmp dword [esp + 4], 0
je 0x49131f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x49134b
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x4c0b20]
nop dword [eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x4c0b20], esi
jne 0x4912e0
mov byte [0x4c0b1c], 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
jmp 0x49132f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x49138c
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x491323
mov edi, dword [esp]
jmp 0x49132f
mov edi, dword [esi]
jmp 0x49132e
mov edi, eax
push dword [esp]
call dword [sym.imp.KERNEL32.dll_TlsFree]
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0
call fcn.004913c0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x4b075c
mov dword [esp + 8], 0x4b0720
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], str.Invalid
mov dword [esp + 0x14], 0
call fcn.0048d2c0
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x4b0720
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], str.Invalid
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004913f0
int3
Function at 0x1001204a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10012059
pop dword [ebp - 0x40]
mov eax, 0x5a7b1f24
add eax, 0xb5860135
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x3d484
push 0
mov eax, 0xf18f05f4
add eax, 0x1e738b18
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0xeb5a7360
sub ecx, 0xeb5a20c5
mov esi, eax
mov edi, 0x8fe3d8df
add edi, 0x80209321
add edi, dword [ebp - 0x40]
mov edx, 0x60112d5b
sub edx, 0xc64e7f4c
sub dword [ebp - 0x14], 0x6c1580ab
mov ebx, dword [edi]
sub ebx, edx
xor dword [ebp - 0x34], 0x1d1930fa
mov dword [esi], ebx
sub dword [ebp - 4], esi
add esi, 0xc4b51c5c
add esi, 0x3b4ae3a8
add edi, 0x158b033d
add edi, 0xea74fcc7
loop 0x100120b8
add eax, 0x13d3f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x8bda0cf9
add ecx, 0x8425f307
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0xd327c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x58c000]
push edi
jmp 0xd327da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xd327e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd327d0
mov eax, 1
add ebx, ebx
jne 0xd327f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xd32804
jne 0xd32823
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd32823
dec eax
add ebx, ebx
jne 0xd32810
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xd327e8
add ebx, ebx
jne 0xd3281f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xd32875
xor ecx, ecx
sub eax, 3
jb 0xd3283b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xd328aa
sar eax, 1
mov ebp, eax
jmp 0xd32846
add ebx, ebx
jne 0xd32846
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd32814
inc ecx
add ebx, ebx
jne 0xd32854
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd32814
add ebx, ebx
jne 0xd32861
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xd32856
jne 0xd32872
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd32856
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xd32894
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xd32886
jmp 0xd327d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xd32894
add edi, ecx
jmp 0xd327d6
pop esi
mov edi, esi
mov ecx, 0x3db4c0
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xd328cf
cmp byte [edi], 0x82
jne 0xd328b4
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xd328b2
lea edi, [esi + 0x930000]
mov eax, dword [edi]
or eax, eax
je 0xd32917
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9736d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x973714]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xd328d5
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x97371c]
or eax, eax
je 0xd32911
mov dword [ebx], eax
add ebx, 4
jmp 0xd328f2
call dword [esi + 0x973718]
mov ebp, dword [esi + 0x973720]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xd3294b
sub esp, 0xffffff80
jmp section.UPX0