joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47cdc0
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, 0xfffffff8
sub esp, 0x90
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x47cf75
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x47cdf6
mov ebx, eax
mov eax, dword [eax]
or eax, dword [ebx + 4]
jne 0x47cfa5
mov eax, dword [esi]
test eax, eax
je 0x47cfaa
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x47cfc3
mov ebx, eax
test eax, eax
jne 0x47ce57
movzx eax, byte [0x69b8b9]
push 8
push 0x50
call fcn.00407070
add esp, 8
test eax, eax
je 0x47cfdd
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0x48], esi
mov ebx, eax
mov eax, dword [esi]
test eax, eax
je 0x47cfcf
dec eax
push ebx
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x47ce7d
mov ecx, dword [eax]
mov dword [eax], 0
lea edx, [eax + 8]
or ecx, dword [eax + 4]
mov dword [eax + 4], 0
mov eax, 0x608d18
cmovne eax, edx
jmp 0x47ce82
mov eax, 0x608d18
movsd xmm0, qword [eax + 0x38]
movsd xmm1, qword [eax + 8]
lea edi, [esp + 0x40]
mov ecx, 0x12
mov esi, ebx
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [eax + 0x30]
movsd qword [esp + 8], xmm1
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0x20], xmm0
movsd xmm0, qword [eax + 0x18]
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 4], 0
mov dword [ebx], 1
movsd xmm0, qword [esp + 0x38]
movsd qword [ebx + 0x40], xmm0
movsd xmm0, qword [esp + 0x30]
movsd qword [ebx + 0x38], xmm0
movsd xmm0, qword [esp + 0x28]
movsd qword [ebx + 0x30], xmm0
movsd xmm0, qword [esp + 0x20]
movsd qword [ebx + 0x28], xmm0
movsd xmm0, qword [esp + 0x18]
movsd qword [ebx + 0x20], xmm0
movsd xmm0, qword [esp + 0x10]
movsd qword [ebx + 0x18], xmm0
movsd xmm0, qword [esp]
movsd xmm1, qword [esp + 8]
movsd qword [ebx + 0x10], xmm1
movsd qword [ebx + 8], xmm0
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x44]
je 0x47cfa5
mov eax, dword [esp + 0x4c]
cmp eax, 2
je 0x47cfa5
test eax, eax
lea eax, [esp + 0x50]
je 0x47cf93
mov ecx, dword [esp + 0x50]
lock dec dword [ecx]
jne 0x47cfa5
push eax
call fcn.0042e6d0
jmp 0x47cfa2
push esi
call fcn.0059fef0
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jae 0x47cde9
jmp 0x47cdf6
mov ecx, dword [esp + 0x50]
lock dec dword [ecx]
jne 0x47cfa5
push eax
call fcn.0042db00
add esp, 4
add ebx, 8
jmp 0x47cfc5
push esi
call fcn.0059fef0
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jne 0x47ce11
xor ebx, ebx
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push esi
call fcn.0059fef0
add esp, 4
jmp 0x47ce4f
push 0x50
push 8
call fcn.005a08c0
add esp, 8
ud2
Function at 0x47cff0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x47d016
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x47d02b
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x47d02b
add eax, 8
pop esi
pop edi
ret
push edi
call fcn.0059fef0
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jae 0x47d009
mov eax, dword [edi]
test eax, eax
je 0x47d0ca
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x47d0e3
mov esi, eax
test eax, eax
jne 0x47d088
movzx eax, byte [0x69b8b9]
push 8
push 0x18
call fcn.00407070
add esp, 8
test eax, eax
je 0x47d0f3
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0x10], edi
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x47d0e8
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47d0aa
mov edi, dword [eax]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov dword [eax], 0
or edi, dword [eax + 4]
mov dword [eax + 4], 0
jne 0x47d0b1
call fcn.004286b0
mov ecx, eax
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [esi], 1
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop esi
pop edi
ret
push edi
call fcn.0059fef0
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jne 0x47d046
xor eax, eax
pop esi
pop edi
ret
push edi
call fcn.0059fef0
add esp, 4
jmp 0x47d080
push 0x18
push 8
call fcn.005a08c0
add esp, 8
ud2
Function at 0x483ef0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x78
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x487710
lea edi, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov esi, dword fs:[0]
mov dword [ebp - 0x18], esi
mov dword fs:[0], edi
movsd xmm0, qword [edx]
mov edi, dword [ecx + 0x28]
movsd xmm1, qword [edx + 8]
mov esi, dword [eax + 0x10]
movsd xmm2, qword [eax + 8]
movsd qword [ebp - 0x70], xmm0
movsd xmm0, qword [eax]
cmp edi, 0x8000
movsd qword [ebp - 0x68], xmm1
mov dword [ebp - 0x74], esi
movsd qword [ebp - 0x7c], xmm2
mov dword [ebp - 0x24], edi
movsd qword [ebp - 0x84], xmm0
jae 0x4840cf
movsd xmm1, qword [edx + 8]
movsd xmm0, qword [edx]
movsd xmm2, qword [eax]
movzx esi, word [ebp + 0xc]
cmp edi, dword [ecx + 0x24]
mov dword [ebp - 0x28], ecx
movsd qword [ebp - 0x38], xmm1
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x10]
movsd qword [ebp - 0x40], xmm0
movsd qword [ebp - 0x54], xmm2
mov word [ebp - 0x1e], si
mov dword [ebp - 0x44], eax
mov eax, edi
movsd qword [ebp - 0x4c], xmm1
mov word [ebp - 0x30], si
mov dword [ebp - 0x60], 0
jne 0x483fc8
lea eax, [ecx + 0x20]
mov dword [ebp - 0x10], 1
push edi
push eax
call fcn.00485a10
add esp, 8
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x20]
movsd xmm0, qword [ebp - 0x60]
movsd xmm1, qword [ebp - 0x58]
movsd xmm2, qword [ebp - 0x50]
movsd xmm3, qword [ebp - 0x48]
movsd xmm4, qword [ebp - 0x40]
movsd xmm5, qword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
imul ebx, eax, 0x34
inc eax
mov dword [ebp - 0x2c], 0
mov dword [edx + ebx + 0x30], esi
movsd qword [edx + ebx + 0x28], xmm5
movsd qword [edx + ebx + 0x20], xmm4
movsd qword [edx + ebx + 0x18], xmm3
movsd qword [edx + ebx + 0x10], xmm2
movsd qword [edx + ebx + 8], xmm1
movsd qword [edx + ebx], xmm0
mov dword [ecx + 0x28], eax
mov esi, dword [ebp + 0x10]
mov ebx, edi
mov edx, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
cmp esi, eax
mov ecx, 0
cmovae esi, ecx
jb 0x484044
nop dword [eax + eax]
test eax, eax
je 0x484080
mov ecx, eax
movzx eax, word [edx + esi*4]
cmp ax, 0xffff
je 0x484082
movzx edi, word [edx + esi*4 + 2]
mov word [edx + esi*4], bx
movzx ebx, word [ebp - 0x1e]
inc dword [ebp - 0x2c]
mov word [edx + esi*4 + 2], bx
mov ebx, eax
inc esi
mov word [ebp - 0x1e], di
mov eax, ecx
cmp esi, eax
mov ecx, 0
cmovae esi, ecx
jae 0x484040
jmp 0x484044
jmp 0x484080
movzx eax, word [ebp - 0x1e]
cmp dword [ebp - 0x2c], 0x80
movzx ecx, byte [ebp + 0x14]
mov word [edx + esi*4], bx
mov word [edx + esi*4 + 2], ax
setb dl
xor cl, 1
test dl, cl
mov ecx, dword [ebp - 0x28]
jne 0x4840bb
mov eax, dword [ecx + 4]
or eax, dword [ecx]
jne 0x4840bb
mov dword [ecx + 4], 0
mov dword [ecx], 1
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x24]
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 0x60a840
push 0x16
push 0x60a828
call fcn.0059c390
add esp, 0xc
ud2
Function at 0x484bc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x487750
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
push dword [ebp + 0xc]
call fcn.00483490
add esp, 4
mov edi, dword [ebp + 0x10]
push edi
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.00482c90
add esp, 8
movzx ecx, word [ebx + 0x38]
mov word [ebp - 0x22], ax
mov dword [ebp - 0x20], 0
and cx, ax
movzx esi, cx
jmp 0x484c44
movzx eax, byte [eax + 4]
cmp al, byte [edi + 4]
je 0x484ce6
nop word cs:[eax + eax]
nop dword [eax]
inc dword [ebp - 0x20]
inc esi
cmp esi, dword [ebx + 0x1c]
jb 0x484c56
mov eax, dword [ebx + 0x1c]
nop dword [eax]
test eax, eax
je 0x484c50
xor esi, esi
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x2c], esi
movzx ecx, word [eax + esi*4]
cmp ecx, 0xffff
je 0x484cf6
mov dword [ebp - 0x28], ecx
movzx ecx, word [ebx + 0x38]
movzx eax, word [eax + esi*4 + 2]
mov edx, ecx
and edx, eax
sub esi, edx
and esi, ecx
cmp esi, dword [ebp - 0x20]
jb 0x484cf6
cmp ax, word [ebp - 0x22]
mov esi, dword [ebp - 0x2c]
jne 0x484c40
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebp - 0x28]
cmp eax, ecx
jbe 0x484d89
mov eax, dword [ebx + 0x20]
imul edx, ecx, 0x34
mov ecx, dword [eax + edx + 0x20]
test ecx, ecx
setne bl
cmp dword [edi], 0
sete bh
cmp bl, bh
mov ebx, dword [ebp + 0xc]
je 0x484c40
lea eax, [eax + edx + 0x20]
test ecx, ecx
je 0x484c26
mov dword [ebp - 0x10], 0
push edi
push eax
call fcn.00575990
add esp, 8
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x2c]
test al, al
je 0x484c40
mov edx, dword [ebp - 0x28]
mov al, 1
mov edi, esi
mov ecx, ebx
mov dword [ebp - 0x20], eax
mov al, 2
jmp 0x484d26
cmp dword [ebp - 0x20], 0x200
mov eax, dword [ebx]
mov dword [ebp - 0x20], 0
setae cl
xor eax, 2
or eax, dword [ebx + 4]
setne al
and al, cl
mov ecx, edi
mov edi, dword [edi]
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x30], esi
mov esi, dword [ecx + 8]
mov ecx, ebx
mov ebx, dword [ebp + 8]
cmp byte [ebp - 0x20], 0
mov dword [ebx], ecx
mov dword [ebx + 4], edi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], esi
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
movzx edx, word [ebp - 0x22]
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], esi
mov esi, dword [ebp + 0x10]
mov word [ebx + 0x18], dx
mov byte [ebx + 0x1a], al
je 0x484d75
mov eax, dword [esi]
test eax, eax
je 0x484d75
lea ecx, [esi + 0xc]
mov edx, dword [esi + 4]
mov esi, dword [esi + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], 0xffffffff
push esi
push edx
push ecx
call eax
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 0x60a8ec
push eax
push ecx
call fcn.005a0c50
add esp, 0xc
ud2
Function at 0x49d280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4a30b0
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
add ecx, eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x20], 0
mov dword [ebp - 0x2c], 1
push ecx
push eax
call fcn.00474770
add esp, 8
mov dword [ebp - 0x30], 0x800
mov dword [ebp - 0x40], 0
movzx eax, byte [0x69b8b9]
push 1
push 0x800
call fcn.00407070
add esp, 8
test eax, eax
je 0x49d3fd
mov edx, dword [ebp - 0x58]
mov ecx, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x800
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x38], ecx
sub edx, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edx
nop dword [eax]
lea eax, [ebp - 0x30]
push eax
push ecx
lea eax, [ebp - 0x40]
push eax
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x4c]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x49d37e
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
cmp dword [ebp - 0x48], eax
jae 0x49d340
push eax
push dword [ebp - 0x44]
lea eax, [ebp - 0x2c]
push eax
call fcn.0059c3c0
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
jmp 0x49d324
test eax, eax
jne 0x49d395
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
mov eax, 0xde
cmp ecx, 0xb
jbe 0x49d3df
mov ecx, dword [ebp - 0x34]
mov byte [ecx], 0
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x28]
mov byte [ecx + 0xc], 0xc
test eax, eax
je 0x49d3b7
push 1
push eax
push dword [ebp - 0x38]
call fcn.00407080
add esp, 0xc
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x49d3ce
add eax, eax
push 2
push eax
push dword [ebp - 0x3c]
call fcn.00407080
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
movsd xmm0, qword [ebp - 0x2c]
mov dword [edx + 8], eax
movsd qword [edx], xmm0
mov byte [edx + 0xc], cl
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x49d3be
jmp 0x49d3ce
mov dword [ebp - 0x10], 0
push 0x800
push 1
call fcn.005a08c0
add esp, 8
ud2
Function at 0x4aac30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov esi, esp
mov dword [esi + 0xd0], ebp
mov dword [esi + 0xd4], esp
mov dword [esi + 0xe0], 0xffffffff
mov dword [esi + 0xdc], 0x4b8630
call fcn.004aac66
Function at 0x4bf240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ecx + 0x40]
mov esi, ecx
cmp eax, 3
je 0x4bf280
cmp eax, 4
jne 0x4bf31d
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov edi, 3
add eax, 0xfffffffe
adc ecx, 0xffffffff
xor edx, edx
cmp edi, eax
sbb edx, ecx
jb 0x4bf31d
cmp eax, 2
je 0x4bf2a4
jmp 0x4bf31d
mov ecx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
add ecx, 0xfffffffe
adc eax, 0xffffffff
cmp ecx, 4
sbb eax, 0
mov eax, 1
cmovb eax, ecx
cmp eax, 2
je 0x4bf2b1
cmp eax, 3
jne 0x4bf31d
push esi
call fcn.004e6880
add esp, 0x58
pop esi
pop edi
pop ebx
ret
cmp byte [esi + 0x9a], 1
jne 0x4bf309
movzx eax, byte [esi + 0x78]
cmp al, 0xb
je 0x4bf2de
cmp al, 0xa
jb 0x4bf2de
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4bf2de
push 1
push eax
push dword [esi + 0x7c]
call fcn.00407080
add esp, 0xc
mov byte [esi + 0x78], 0xb
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 2
mov word [esi + 0x99], 1
jmp 0x4bf31d
mov eax, dword [0x69b710]
mov eax, dword [eax]
test eax, eax
je 0x4bf324
push esi
call fcn.004e6880
add esp, 4
add esp, 0x54
pop esi
pop edi
pop ebx
ret
mov edi, dword [0x69a360]
movzx eax, byte [edi + 8]
test al, al
je 0x4bf314
movzx ecx, al
cmp ecx, 1
je 0x4bf345
cmp ecx, 2
jne 0x4bf40a
mov al, 2
movzx eax, al
push eax
push dword [edi]
call fcn.005313d0
add esp, 8
test al, al
je 0x4bf314
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x4bf420
mov ebx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea edi, [esi + 0x9a]
mov dword [esp + 0x18], 0x60ee60
mov dword [esp + 0x1c], 0x4092f0
lea ecx, [eax + 0x1c]
mov dword [esp + 0x3c], 0x60f400
mov dword [esp + 0x40], 2
mov dword [esp + 0x4c], 0
mov dword [esp + 0x20], edi
lea edi, [esp + 0x28]
mov dword [esp + 0x24], 0x4c4ca0
mov dword [esp], edi
mov edi, esp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], ebx
lea ebx, [esp + 0x18]
mov dword [esp + 0x2c], edx
movlps qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], ebx
lea ebx, [esp + 0x3c]
mov dword [esp + 0x48], 2
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x60e7cc
push ecx
push eax
call fcn.00531b00
add esp, 8
jmp 0x4bf314
push edi
call fcn.0059e2f0
add esp, 4
test al, al
jne 0x4bf345
jmp 0x4bf314
push 0x60f3bc
push 0x22
push 0x60e700
call fcn.005a0a40
add esp, 0xc
ud2
Function at 0x4da200
Capabilities:
Get remote cert context via schannel

Disassembly:
push esi
push eax
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, esp
mov dword [esp], 0
push ecx
push 0x53
push eax
call dword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x4da231
mov dword [esi], 0
mov dword [esi + 4], eax
mov eax, esi
add esp, 4
pop esi
ret
mov eax, dword [esp]
mov dword [esi + 4], eax
mov byte [esi], 4
mov eax, esi
add esp, 4
pop esi
ret
Function at 0x4dba10
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, 0xfffffff8
sub esp, 0x90
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x4dbbc5
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x4dba46
mov ebx, eax
mov eax, dword [eax]
or eax, dword [ebx + 4]
jne 0x4dbbf5
mov eax, dword [esi]
test eax, eax
je 0x4dbbfa
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x4dbc13
mov ebx, eax
test eax, eax
jne 0x4dbaa7
movzx eax, byte [0x69b8b9]
push 8
push 0x50
call fcn.00407070
add esp, 8
test eax, eax
je 0x4dbc2d
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0x48], esi
mov ebx, eax
mov eax, dword [esi]
test eax, eax
je 0x4dbc1f
dec eax
push ebx
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4dbacd
mov ecx, dword [eax]
mov dword [eax], 0
lea edx, [eax + 8]
or ecx, dword [eax + 4]
mov dword [eax + 4], 0
mov eax, 0x6143d0
cmovne eax, edx
jmp 0x4dbad2
mov eax, 0x6143d0
movsd xmm0, qword [eax + 0x38]
movsd xmm1, qword [eax + 8]
lea edi, [esp + 0x40]
mov ecx, 0x12
mov esi, ebx
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [eax + 0x30]
movsd qword [esp + 8], xmm1
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0x20], xmm0
movsd xmm0, qword [eax + 0x18]
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 4], 0
mov dword [ebx], 1
movsd xmm0, qword [esp + 0x38]
movsd qword [ebx + 0x40], xmm0
movsd xmm0, qword [esp + 0x30]
movsd qword [ebx + 0x38], xmm0
movsd xmm0, qword [esp + 0x28]
movsd qword [ebx + 0x30], xmm0
movsd xmm0, qword [esp + 0x20]
movsd qword [ebx + 0x28], xmm0
movsd xmm0, qword [esp + 0x18]
movsd qword [ebx + 0x20], xmm0
movsd xmm0, qword [esp + 0x10]
movsd qword [ebx + 0x18], xmm0
movsd xmm0, qword [esp]
movsd xmm1, qword [esp + 8]
movsd qword [ebx + 0x10], xmm1
movsd qword [ebx + 8], xmm0
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x44]
je 0x4dbbf5
mov eax, dword [esp + 0x4c]
cmp eax, 2
je 0x4dbbf5
test eax, eax
lea eax, [esp + 0x50]
je 0x4dbbe3
mov ecx, dword [esp + 0x50]
lock dec dword [ecx]
jne 0x4dbbf5
push eax
call fcn.004f6000
jmp 0x4dbbf2
push esi
call fcn.0059fef0
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jae 0x4dba39
jmp 0x4dba46
mov ecx, dword [esp + 0x50]
lock dec dword [ecx]
jne 0x4dbbf5
push eax
call fcn.004f5ea0
add esp, 4
add ebx, 8
jmp 0x4dbc15
push esi
call fcn.0059fef0
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jne 0x4dba61
xor ebx, ebx
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push esi
call fcn.0059fef0
add esp, 4
jmp 0x4dba9f
push 0x50
push 8
call fcn.005a08c0
add esp, 8
ud2
Function at 0x4dbfe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4dc5b0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
cmp byte [eax + 8], 2
jne 0x4dc01e
mov dl, 2
jmp 0x4dc0a4
mov esi, dword [eax]
mov ecx, 0x7fffffff
mov eax, dword [esi + 0x20]
nop dword [eax + eax]
mov edx, dword [esi + 0x18]
xor edx, ecx
cmp eax, edx
je 0x4dc0d1
lea edx, [eax + 1]
lock cmpxchg dword [esi + 0x20], edx
jne 0x4dc030
lock inc dword [esi]
jle 0x4dc0ee
mov dword [ebp - 0x24], esi
movzx eax, byte [0x69b8b9]
push 4
push 0x1c
call fcn.00407070
add esp, 8
test eax, eax
je 0x4dc0f2
movzx ecx, word [ebp - 0x24]
xor edx, edx
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov byte [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x18], 0
mov word [ebp - 0x20], cx
mov ch, byte [ebp - 0x22]
mov byte [ebp - 0x1e], ch
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
movzx eax, byte [ebp - 0x1e]
mov dword [ecx], esi
mov byte [ecx + 8], dl
mov byte [ecx + 0xb], al
movzx eax, word [ebp - 0x20]
mov word [ecx + 9], ax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0xffffffff
push 0x610214
push 0x35
push str.cannot_clone__Sender_____too_many_outstanding_senders
call fcn.0059c670
add esp, 0xc
ud2
ud2
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x10], 0
push 0x1c
push 4
call fcn.005a08c0
add esp, 8
ud2
Function at 0x4deff0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x74], 0x4e2340
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x70]
mov edx, dword fs:[0]
mov dword [esi + 0x70], edx
mov dword fs:[0], ecx
mov dword [esi + 0x50], 4
lea edx, [esi + 0x38]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x18]
mov dword [esi + 8], ecx
mov ecx, dword [ecx + 0x1c]
mov byte [esi + 7], 1
mov dword [esi + 0x78], 1
push ecx
push eax
push edx
call fcn.0054c2e0
add esp, 0xc
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x38]
mov edi, dword [esi + 0x3c]
movsd xmm0, qword [esi + 0x60]
mov eax, dword [esi + 0x44]
movsd xmm1, qword [esi + 0x58]
mov dword [esi + 0x78], 2
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 8]
movsd qword [esi + 0x30], xmm0
movsd xmm0, qword [esi + 0x50]
mov dword [esi + 0x1c], eax
movsd qword [esi + 0x28], xmm1
add ecx, 0x20
movsd qword [esi + 0x20], xmm0
mov dword [esi + 8], ecx
call fcn.004dc8c0
movsd xmm0, qword [esi + 0x30]
mov eax, dword [esi + 8]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x20]
movsd xmm1, qword [esi + 0x28]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lea eax, [esi + 0x10]
mov byte [esi + 7], 0
mov dword [esi + 0x78], 1
push eax
call fcn.0054c340
add esp, 4
xor eax, eax
mov ecx, dword [esi + 0x70]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret