joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
xor ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40b525
xor eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
test eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
test eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
test eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x10005310
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100151d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [0x100151dc]
mov dword [ebp - 0x18], esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10005352
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
jmp 0x100053e2
push ebx
push dword [0x100151dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [eax + 0x40]
mov eax, dword [ebp + 0xc]
sub eax, edi
je 0x1000538b
sub eax, 1
je 0x1000537f
sub eax, 1
jne 0x100053df
push dword [ebp + 8]
mov ecx, ebx
call fcn.100063c3
jmp 0x10005387
push dword [ebp + 8]
call fcn.10006348
mov edi, eax
jmp 0x100053df
push 1
push 0x10
push esi
mov esi, dword [0x100156d0]
mov ecx, esi
call dword [0x10016308]
call esi
mov esi, eax
lea edi, [ebp - 0x14]
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10020d9d
push eax
call sym.OLETHK32.dll_TransformHRESULT_3216
mov esi, dword [0x100156d0]
mov edi, eax
push 1
push 0x10
push dword [ebp - 0x18]
mov ecx, esi
call dword [0x10016308]
call esi
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100132f0
leave
ret 0xc
Function at 0x10005a1e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x28
xor esi, esi
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
test eax, eax
je 0x10005a42
push ecx
mov ecx, eax
call fcn.10007179
mov dword [ebp - 4], eax
jmp 0x10005a45
mov dword [ebp - 4], esi
push 0x28
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
test eax, eax
je 0x10005a5d
push ecx
mov ecx, eax
call fcn.10007179
mov ebx, eax
jmp 0x10005a5f
mov ebx, esi
push 0x28
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
test eax, eax
je 0x10005a77
push ecx
mov ecx, eax
call fcn.10007179
mov edi, eax
jmp 0x10005a79
mov edi, esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x10005ae2
test ebx, ebx
je 0x10005ad2
test edi, edi
je 0x10005ad2
push 0x24
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
test eax, eax
je 0x10005aba
xor ecx, ecx
mov dword [eax + 8], esi
inc ecx
mov dword [eax + 0x1c], esi
mov dword [eax + 4], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 4]
mov dword [eax + 0x20], esi
mov esi, eax
mov dword [eax], 0x10001008
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x18], edi
test esi, esi
je 0x10005acf
push dword [0x100151dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [eax + 0x40], esi
jmp 0x10005b06
mov eax, dword [ebp - 4]
mov ecx, eax
call fcn.10011172
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
je 0x10005af4
mov ecx, ebx
call fcn.10011172
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
je 0x10005b06
mov ecx, edi
call fcn.10011172
push edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1000741d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x100151d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, 0x9c
mov dword [ebp - 8], edx
mov ebx, ecx
call fcn.10013e60
mov edi, esp
test edi, edi
jne 0x10007450
mov eax, 0x8007000e
jmp 0x1000758d
mov eax, dword [ebp + 8]
lea esi, [edi + 0x5c]
push dword [0x100151dc]
and dword [edi + 0x78], 0
and dword [edi + 0x7c], 0
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x1c]
mov dword [esi], eax
mov dword [edi + 0x60], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [edi + 0x98], eax
test eax, eax
je 0x10007588
mov eax, dword [eax + 0x40]
mov ecx, ebx
mov dword [edi + 0x84], eax
shl ecx, 4
mov eax, dword [ecx + 0x10001b78]
sub eax, 0xc
mov dword [edi + 4], eax
mov eax, dword [ecx + 0x10001b7c]
mov dword [edi + 8], eax
mov eax, dword [edi + 0x6c]
mov dword [edi + 0x64], 1
mov edx, dword [eax]
add eax, 4
mov dword [edi + 0x94], edx
mov dword [edi + 0x6c], eax
test byte [edx + 0x1c], 4
jne 0x10007588
mov dword [edi + 0x80], edx
mov ecx, esi
mov edx, dword [edx + 0x20]
push 4
mov dword [edi + 0x10], edx
call fcn.10007e5e
mov dword [edi + 0x18], eax
test eax, eax
jne 0x100074ef
mov eax, dword [edi + 0x78]
jmp 0x1000758d
mov edx, dword [eax]
mov ecx, esi
mov eax, dword [edi + 8]
shl eax, 2
push eax
mov dword [edi + 0x14], edx
call fcn.10007e5e
mov dword [edi + 0xc], eax
test eax, eax
je 0x100074e7
cmp dword [edi + 0x64], 0
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x10]
jge 0x1000751f
add eax, 0xfffffffc
mov dword [edi + 0x60], eax
mov dword [eax], ecx
jmp 0x10007525
mov dword [eax], ecx
add dword [edi + 0x60], 4
mov ecx, dword [ebp - 8]
mov eax, dword [edi + 4]
push esi
mov eax, dword [eax + ecx*4]
mov dword [edi], eax
mov dword [edi + 0x70], eax
mov eax, dword [edi + 0xc]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x74], eax
mov eax, dword [edi + 0x94]
mov dword [edi + 0x90], eax
mov eax, dword [edi + 0x84]
mov dword [edi + 0x8c], ecx
mov dword [edi + 0x88], ebx
mov dword [eax + 8], 4
mov eax, dword [edi + 0x70]
movzx eax, byte [eax]
and eax, 0x3f
mov esi, dword [eax*4 + 0x100010f8]
mov ecx, esi
call dword [0x10016308]
call esi
mov ecx, dword [edi + 0x84]
and dword [ecx + 8], 0
jmp 0x1000758d
mov eax, 0x80004005
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100132f0
leave
ret 4
Function at 0x1000c67a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 1], dl
push ebx
push esi
push edi
mov edi, ecx
test dl, 0xc0
je 0x1000c7f7
mov eax, dword [edi + 0x10]
xor ebx, ebx
mov ecx, dword [eax]
add eax, 4
mov dword [ebp - 8], ecx
mov dword [edi + 0x10], eax
test ecx, ecx
je 0x1000c74a
mov al, dl
and al, 0x40
mov byte [ebp - 2], al
je 0x1000c6cf
cmp dword [ebp + 0x10], ebx
je 0x1000c6c9
mov edx, dword [ebp + 0x10]
call fcn.1000739c
mov ecx, dword [ebp - 8]
mov dl, byte [ebp - 1]
jmp 0x1000c6cb
xor eax, eax
test eax, eax
jne 0x1000c6e8
test dl, dl
jns 0x1000c6f2
cmp dword [ebp + 0x10], ebx
je 0x1000c6e2
mov edx, dword [ebp + 0x10]
call fcn.100073c7
jmp 0x1000c6e4
xor eax, eax
test eax, eax
je 0x1000c6f2
mov eax, 0x80070057
jmp 0x1000c857
push dword [ebp + 8]
push dword [0x100151dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10010f3c
mov ebx, eax
test ebx, ebx
jne 0x1000c718
mov eax, 0x8007000e
jmp 0x1000c857
cmp byte [ebp - 2], 0
je 0x1000c74a
mov esi, dword [0x100156d0]
mov ecx, esi
push 1
push dword [ebp + 8]
push ebx
call dword [0x10016308]
call esi
push dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp - 8]
call dword [0x10016308]
call dword [ebp + 0x14]
cmp dword [edi + 8], 0
mov eax, dword [edi + 4]
jge 0x1000c75d
add eax, 0xfffffffc
mov dword [edi + 4], eax
mov dword [eax], ebx
jmp 0x1000c763
mov dword [eax], ebx
add dword [edi + 4], 4
inc dword [edi + 0x14]
mov eax, dword [edi + 0x14]
push edi
movzx eax, byte [eax]
and eax, 0x3f
mov esi, dword [eax*4 + 0x100010f8]
mov ecx, esi
call dword [0x10016308]
call esi
mov cl, byte [ebp - 1]
mov esi, eax
mov dword [ebp - 0xc], esi
test cl, cl
jns 0x1000c7da
mov edi, dword [ebp - 8]
test edi, edi
je 0x1000c7da
test esi, esi
js 0x1000c7c7
mov esi, dword [0x100156d0]
mov ecx, esi
push 1
push dword [ebp + 8]
push ebx
call dword [0x10016308]
call esi
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push eax
call dword [0x10016308]
call dword [ebp + 0xc]
mov esi, dword [ebp - 0xc]
jmp 0x1000c7da
test cl, 0x40
jne 0x1000c7da
push dword [ebp + 0x10]
push 0
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
test ebx, ebx
je 0x1000c855
push dword [ebp + 8]
push ecx
push dword [0x100151dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10011023
jmp 0x1000c855
cmp dword [edi + 8], 0
mov esi, dword [ebp + 8]
jge 0x1000c804
mov ecx, esi
jmp 0x1000c806
xor ecx, ecx
mov eax, dword [edi + 4]
mov ebx, dword [ebp + 0x10]
sub eax, ecx
mov ecx, dword [ebp + 0x14]
push esi
push ebx
push eax
push dword [edi + 0x10]
call dword [0x10016308]
call dword [ebp + 0x14]
cmp dword [edi + 8], 0
mov eax, dword [edi + 4]
jge 0x1000c82d
sub eax, esi
jmp 0x1000c82f
add eax, esi
add dword [edi + 0x10], ebx
inc dword [edi + 0x14]
mov dword [edi + 4], eax
mov eax, dword [edi + 0x14]
push edi
movzx eax, byte [eax]
and eax, 0x3f
mov esi, dword [eax*4 + 0x100010f8]
mov ecx, esi
call dword [0x10016308]
call esi
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1000cae4
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], edx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov eax, dword [edi + 0x10]
mov esi, dword [eax]
add eax, 4
mov dword [edi + 0x10], eax
test esi, esi
je 0x1000cc10
mov edx, 0x1000
mov ecx, esi
call fcn.100073f2
test eax, eax
je 0x1000cb29
mov eax, 0x80070057
jmp 0x1000cc77
cmp dword [ebp - 0xc], ebx
je 0x1000cb84
mov ecx, esi
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1000cb35
sub ecx, edx
sar ecx, 1
je 0x1000cb86
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, eax
test ebx, ebx
je 0x1000cb84
lea ecx, [ebx + ebx]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [ebp - 8], eax
test eax, eax
jne 0x1000cb70
mov eax, 0x8007000e
jmp 0x1000cc77
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x1000cbc9
cmp eax, ebx
ja 0x1000cbc9
mov esi, dword [ebp - 8]
xor ebx, ebx
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1000cb8b
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
add eax, eax
push eax
push dword [0x100151dc]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10010f3c
mov ebx, eax
test ebx, ebx
jne 0x1000cbd3
mov esi, 0x8007000e
jmp 0x1000cc67
mov esi, 0x8000ffff
jmp 0x1000cc67
push dword [ebp - 0xc]
mov edx, ebx
mov ecx, esi
push dword [ebp - 4]
call fcn.10007c76
mov esi, eax
test esi, esi
js 0x1000cc49
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000cc10
cmp eax, dword [ebp - 4]
jae 0x1000cc10
mov esi, dword [0x100156d0]
mov ecx, esi
push 1
push 0
push ebx
call dword [0x10016308]
call esi
mov ecx, dword [ebp + 8]
mov byte [eax + ecx], 0
cmp dword [edi + 8], 0
mov eax, dword [edi + 4]
jge 0x1000cc23
add eax, 0xfffffffc
mov dword [edi + 4], eax
mov dword [eax], ebx
jmp 0x1000cc29
mov dword [eax], ebx
add dword [edi + 4], 4
inc dword [edi + 0x14]
mov eax, dword [edi + 0x14]
push edi
movzx eax, byte [eax]
and eax, 0x3f
mov esi, dword [eax*4 + 0x100010f8]
mov ecx, esi
call dword [0x10016308]
call esi
mov esi, eax
test ebx, ebx
je 0x1000cc67
mov eax, dword [ebp - 4]
add eax, eax
push eax
push ecx
push dword [0x100151dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10011023
mov eax, dword [ebp - 8]
test eax, eax
je 0x1000cc75
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1000cce9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp - 8], ecx
mov dword [edi + 0x10], eax
test ecx, ecx
jne 0x1000cd28
xor ebx, ebx
cmp dword [edi + 8], 0
mov eax, dword [edi + 4]
jge 0x1000cda6
add eax, 0xfffffffc
mov dword [edi + 4], eax
mov dword [eax], ebx
jmp 0x1000cdac
push 4
pop edx
call fcn.100073c7
test eax, eax
je 0x1000cd3e
mov eax, 0x80070057
jmp 0x1000ce21
push 4
push dword [0x100151dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10010f3c
mov ebx, eax
test ebx, ebx
jne 0x1000cd63
mov eax, 0x8007000e
jmp 0x1000ce21
mov esi, dword [0x100156d0]
mov ecx, esi
push 1
push 4
push ebx
call dword [0x10016308]
call esi
mov ecx, 0x200
and dword [eax], 0
call fcn.10007acd
mov ecx, eax
mov dword [ebp - 4], ecx
test ecx, ecx
jne 0x1000cd0e
push 4
push ecx
push dword [0x100151dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10011023
jmp 0x1000cd59
mov dword [eax], ebx
add dword [edi + 4], 4
inc dword [edi + 0x14]
mov eax, dword [edi + 0x14]
push edi
movzx eax, byte [eax]
and eax, 0x3f
mov esi, dword [eax*4 + 0x100010f8]
mov ecx, esi
call dword [0x10016308]
call esi
cmp dword [ebp - 8], 0
mov esi, eax
mov dword [ebp - 0xc], esi
je 0x1000ce05
test esi, esi
js 0x1000cdf7
mov esi, dword [0x100156d0]
mov ecx, esi
push 1
push 4
push ebx
call dword [0x10016308]
call esi
test eax, eax
jne 0x1000ce26
mov esi, 0x80070057
mov ecx, dword [ebp - 4]
call fcn.10007b1a
mov eax, dword [ebp - 8]
and dword [eax], 0
test ebx, ebx
je 0x1000ce1f
push 4
push ecx
push dword [0x100151dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10011023
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
mov edx, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 0x100
push dword [ebp - 4]
mov ecx, edi
call fcn.1000cc95
mov esi, eax
test eax, eax
js 0x1000ce44
mov esi, dword [ebp - 0xc]
test esi, esi
js 0x1000cdf7
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x1000ce05
Function at 0x10010427
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x100151dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1001046f
push esi
mov esi, dword [eax + 0x4c]
test esi, esi
je 0x1001046e
push edi
push 8
add esi, 0x10
pop edi
cmp dword [esi + 4], 0
je 0x10010465
cmp dword [esi], 0
jne 0x10010465
push esi
push dword [esi + 0xc]
lea eax, [esi - 0x10]
push dword [esi + 8]
push dword [esi + 4]
push eax
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
add esi, 0x20
sub edi, 1
jne 0x10010446
pop edi
pop esi
ret

Function at 0x100104e3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
push dword [0x100151dc]
and dword [eax], 0
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x1001054e
mov esi, dword [edi + 0x4c]
test esi, esi
jne 0x1001053b
mov ebx, 0x100
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov esi, eax
test esi, esi
je 0x10010532
push ebx
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
jmp 0x10010534
xor esi, esi
mov dword [edi + 0x4c], esi
test esi, esi
je 0x1001054e
xor ebx, ebx
lea eax, [esi + 0x14]
cmp dword [eax], 0
je 0x1001055a
inc ebx
add eax, 0x20
cmp ebx, 8
jl 0x10010540
mov eax, 0x8000ffff
pop edi
pop esi
pop ebx
leave
ret 0xc
mov edx, dword [ebp - 4]
mov ecx, ebx
mov eax, dword [ebp + 8]
shl ecx, 5
add ecx, esi
mov esi, dword [ebp - 8]
mov edi, ecx
push edx
mov dword [ecx + 0x14], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x1c], eax
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x10016308]
call esi
mov eax, dword [ebp + 0x10]
not ebx
mov dword [eax], ebx
xor eax, eax
jmp 0x10010553
Function at 0x1001231b
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x100151d4]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
mov edx, 0x104
push ebx
push esi
push edi
push ecx
push ecx
xor edi, edi
mov dword [esp + 0x1c], eax
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.100116bb
push 0x10004bb4
lea ecx, [esp + 0x1c]
call fcn.10011617
lea eax, [esp + 0x18]
push eax
push edi
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x1001239b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x100123d1
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc0
call fcn.1001204a
mov edi, eax
jmp 0x100123d1
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov ecx, esi
call fcn.10012206
mov ebx, eax
test ebx, ebx
jns 0x100123c3
push ebx
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc6
call fcn.1001202b
mov edi, ebx
jmp 0x100123d1
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
test esi, esi
je 0x100123db
push esi
call fcn.100120a4
mov ecx, dword [esp + 0x224]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100132f0
mov esp, ebp
pop ebp
ret 8

Function at 0x10013500
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1001353e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10013536
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10013540
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10013526
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10013610
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10013641
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10013641
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x10013641
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1001b2d7
Capabilities:
Encode data using xor

Disassembly:
call 0x1001b250
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1001b280
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1001b29c
xor edx, 0
jmp 0x1001b2a7
xor edx, edx
jmp 0x1001b2be
jmp 0x1001b2ca
xor eax, eax
push 0x8427d7c0
call 0x1001b2d7
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1001b313
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1001b2ec
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1001b32a
add eax, 0
jno 0x1001b32f
add esi, 0
ret 0x10

Function at 0x1001c098
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1001c0ba
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1001c25c
cmp edi, dword [ebp + 0x10]
jb 0x1001c25c
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1001bb84
inc edi
jmp 0x1001c143
jmp 0x1001c150
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001bb84
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001bb84
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1001c1a4
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1001c188
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001c1d2
add dword [eax], 0x39
jle 0x1001c1ae
sub al, 0xf5
mov ch, al
call fcn.1001c1e7
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10