joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d580
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4796b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046d522
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00472bba
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004740d6
test eax, eax
je 0x43d69c
mov ecx, dword [esp + 0x3c]
call fcn.00472be7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43d660
push edi
mov ecx, esi
call fcn.0047024c
mov ecx, esi
call fcn.0043d800
cmp dword [esp + 0x38], 1
jne 0x43d695
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00470387
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4400c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4400f3
push esi
call fcn.0044e400
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4400ec
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x440179
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x440162
mov eax, dword [esi + 8]
test eax, eax
je 0x440117
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44015e
cmp eax, 2
je 0x440162
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44010a
cmp eax, 3
je 0x44013d
cmp eax, 1
jne 0x44010a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44010a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44010a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004401a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x440188
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004401a0
add esp, 4
pop esi
ret

Function at 0x440a10
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x440a31
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x440a31
mov eax, dword [eax + 0x44]
test eax, eax
je 0x440a31
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x46e317
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46e34f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046c3ce
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046c3a6
jmp 0x46e35b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46fa09
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46fa4b
call fcn.004754c6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46fa4b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46fa42
xor eax, eax
jmp 0x46fa53
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046fa59
pop edi
pop esi
pop ebx
ret 4
Function at 0x4759f6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x475a24
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x475a42
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047595c
jmp 0x475a42
mov eax, dword [esi + 0x14]
test eax, eax
je 0x475a42
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047595c
test edi, edi
mov eax, edi
jne 0x475a2c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
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
sub 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
or 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
or eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
or 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 0x9141e8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x9141f2
pushal
call 0x9141f8
pop ebp
sub ebp, 0x10
sub ebp, 0x5141e8
jmp 0x91420e
mov eax, 0x5141e8
add eax, ebp
add eax, 0x4c
mov ecx, 0x601
mov edx, 0x79a0d15
xor byte [eax], dl
inc eax
dec ecx
jne 0x914225
jmp 0x914238
sahf
fcomp dword [esi + 0x1515299c]
adc eax, 0x15edd494
adc eax, 0xadd81615
adc edx, dword [0x3daf1515]
adc eax, 0xf7e21515
push ss
fstp qword [esi + 0x15151994]
adc eax, 0x9845d016
jno 0x914293
jmp 0x7dc25403
adc eax, 0x989e1515
sahf
cwde
add eax, 0xd4151515
cld
pop ss
and al, 0x17
xchg esi, eax
xlatb
adc dword [edx + ebx - 0x70], ebx
loope 0x914290
ljmp 0x7198:0x31399eea
Function at 0x10002dad
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 4], dl
mov dword [ebp - 0x10], 0x247c
cmp dword [ebp - 0x10], 0xc1b
push esi
jge 0x10002e8c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push str._ld__ld
call fcn.1004c36b
add esp, 0xc
cmp dword [ebp - 0xc], 1
jne 0x10002e05
push 0x1006cdf4
call fcn.1004c876
push dword [ebp - 8]
push 0x1006ca84
call fcn.1004c653
add esp, 0xc
jmp 0x10002e8c
cmp dword [ebp - 0xc], 2
jne 0x10002e32
cmp dword [ebp - 8], 0
jle 0x10002e25
push 0x1006cdf4
call fcn.1004c876
push dword [ebp - 8]
push str.0__ld_n
jmp 0x10002df8
push 0x1006ce00
call fcn.1004c876
pop ecx
jmp 0x10002e8c
push 0x1006cdf4
call fcn.1004c876
mov eax, dword [ebp - 0xc]
xor esi, esi
add eax, 0xfffffffd
pop ecx
test eax, eax
jle 0x10002e6b
push esi
push str._ld
call fcn.1004c653
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
add eax, 0xfffffffd
xor ecx, esi
inc esi
mov dword [ebp - 8], ecx
cmp esi, eax
jl 0x10002e49
jmp 0x10002e6e
mov ecx, dword [ebp - 8]
push 0xc0000
push 0x80000
xor ecx, 0x40000
push ecx
push str._ld__ld__ld
call fcn.1004c653
add esp, 0x10
cmp byte [ebp - 4], 0
je 0x10002eb7
mov edx, dword [ebp + 8]
mov dword [edx], 0
cmp dword [edx], 1
jge 0x10002ec4
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xc64f6b90
inc dword [edx]
cmp dword [edx], 1
jl 0x10002ea3
jmp 0x10002ec4
push 0
push 0x2393
call dword [sym.imp.USER32.dll_MapDialogRect]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100037f8
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006377c
call fcn.100630d8
sub esp, 0x30
push ebx
push esi
mov byte [ebp - 0x18], cl
mov dword [ebp - 0x20], 0xacb
cmp dword [ebp - 0x20], 0xc38
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edx
jle 0x1000385c
xor edi, edi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov ebx, esi
mov esi, 0x543a
mov eax, ebx
mov ecx, 0x10081078
xor eax, edi
cdq
push edx
push eax
call fcn.10004aca
dec ebx
dec esi
jne 0x1000382f
mov esi, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x4dc1
jl 0x10003828
inc edi
cmp edi, 0x2d35
jl 0x10003823
cmp byte [ebp - 0x18], 0
je 0x10003929
mov dword [ebp - 0x1c], 0x5e4
cmp dword [ebp - 0x1c], 0x797
jle 0x100038b7
xor esi, esi
xor edi, edi
mov ebx, 0x6e3f
mov eax, edi
lea ecx, [ebp - 0x3c]
cdq
push edx
push eax
call fcn.10001ab5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10003896
mov eax, dword [eax]
push eax
call fcn.1004c653
pop ecx
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.100050bb
add edi, esi
dec ebx
jne 0x1000387f
inc esi
cmp esi, 0x1815
jl 0x10003878
cmp dword [ebp - 0x1c], 0x460
jge 0x100038cb
push str.agtpi_eivzqcsk_oconmmw_ivj_nmayf_jvypiqb_owzujp
call fcn.1004c653
pop ecx
mov esi, dword [ebp + 0x14]
xor edx, edx
mov eax, dword [esi]
mov eax, dword [esi]
mov eax, dword [esi]
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp ecx, eax
mov eax, dword [ebp + 0x10]
setg dl
xor ecx, ecx
cmp edx, 0x707
mov eax, dword [eax]
setne cl
xor edx, edx
mov dword [eax + 4], ecx
mov ecx, dword [esi]
mov eax, dword [esi]
cmp ecx, eax
mov eax, dword [esi]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x24]
setl cl
xor edx, edx
mov dword [eax], ecx
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, ecx
mov eax, dword [ebp + 0x24]
sete dl
mov eax, dword [eax]
mov dword [eax + 4], edx
jmp 0x1000394c
mov edx, dword [ebp + 8]
mov dword [edx], 0
cmp dword [edx], 3
jge 0x1000394c
mov esi, dword [ebp + 0x18]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 1
inc dword [edx]
cmp dword [edx], 3
jl 0x1000393a
mov dword [ebp - 4], 2
cmp dword [ebp - 0x20], 0x81c
jge 0x1000396b
mov edx, str.rxgof_damych_srlrdt
mov ecx, 0x10081078
call fcn.10006f4f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100053e6
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x100053fd
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

Function at 0x1000541f
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov edx, 0x1035e944
push edi
mov esi, edx
mov edi, 0x7fffffff
mov ecx, dword [esi + 0x9c4]
xor ecx, dword [esi + 0x9c0]
and ecx, edi
xor ecx, dword [esi + 0x9c0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0xff4]
xor eax, ecx
mov dword [esi], eax
add esi, 4
cmp esi, 0x1035ecd0
jl 0x1000542d
mov esi, 0x9908b0df
mov ecx, dword [edx + 0xd50]
xor ecx, dword [edx + 0xd4c]
and ecx, edi
xor ecx, dword [edx + 0xd4c]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, esi
xor eax, ecx
xor eax, dword [edx]
mov dword [edx + 0x38c], eax
add edx, 4
cmp edx, 0x1035ef74
jl 0x1000546d
mov ecx, dword [0x1035fcc0]
xor ecx, dword [0x1035e944]
and ecx, edi
xor ecx, dword [0x1035fcc0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x1035e940], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x1035ef74]
mov dword [0x1035f300], eax
pop esi
ret
Function at 0x1000bca9
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1000bcd6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0
push 0x5e5b
push 0x6036
call fcn.1000e1be
add esp, 0x10
jmp 0x1000bd0f
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1000bd05
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x1000bd0f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
pop ebp
ret

Function at 0x1000d8ed
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1000d939
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0x754f
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
push dword [eax]
push 1
mov eax, dword [ebp - 0x10]
push dword [eax]
push 0x305d
call fcn.1000d97b
add esp, 0x1c
jmp 0x1000d977
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1000d959
push 0
call dword [sym.imp.GDI32.dll_GetObjectType]
jmp 0x1000d977
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1000d977
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esp, ebp
pop ebp
ret
Function at 0x100102c9
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001033f
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1001031d
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1001033d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1001033d
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x10010358
push 0x62ff
push 0x360
push 1
push 0x170f
call fcn.1000b398
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x1001ada2
Capabilities:
Create pipe

Disassembly:
mov eax, 0x10064105
call fcn.100630d8
sub esp, 0x38
mov byte [ebp - 0x18], dl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x1001ae65
mov dword [ebp - 0x24], 0x45d9
cmp dword [ebp - 0x24], 0x4798
jle 0x1001ae38
xor esi, esi
mov ebx, esi
mov edi, esi
mov eax, esi
mov dword [ebp - 0x20], 0x3260
mov dword [ebp - 0x1c], eax
and eax, ebx
lea ecx, [ebp - 0x40]
cdq
push edx
push eax
call fcn.10001ab5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001adf9
mov eax, dword [eax]
push eax
call fcn.1004c653
pop ecx
push esi
push 1
lea ecx, [ebp - 0x40]
call fcn.100050bb
mov eax, dword [ebp - 0x1c]
add eax, edi
dec dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
jne 0x1001ade2
inc edi
cmp edi, 0x1ab7
jl 0x1001add6
inc ebx
cmp ebx, 0x1745
jl 0x1001add4
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
cmp dword [ebp - 0x24], 0x4468
jge 0x1001ae4c
push str.xix_jtcwzl_tbows_brnor_trw_dsxr_fsqgiwevc_hfgodzulr_hwcwalfb_ksf_mhyzio
call fcn.1004c653
pop ecx
mov eax, dword [ebp + 0x18]
or dword [ebp - 4], 0xffffffff
movzx eax, word [eax]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.1001dd72
jmp 0x1001aef6
mov dword [ebp - 0x28], 0x705a
cmp dword [ebp - 0x28], 0x737c
jle 0x1001aecd
xor esi, esi
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x1c], esi
mov ecx, esi
mov dword [ebp - 0x20], 0x516b
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
lea eax, [ebx + edi]
sar eax, cl
mov ecx, 0x10081078
cdq
push edx
push eax
call fcn.10004aca
mov ecx, dword [ebp - 0x24]
add ecx, esi
dec dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
jne 0x1001ae8d
inc esi
push 0
mov dword [ebp - 0x1c], esi
cmp esi, 0x4886
pop esi
jl 0x1001ae7e
inc ebx
cmp ebx, 0x221a
jl 0x1001ae7b
inc edi
cmp edi, 0x42af
jl 0x1001ae79
mov dword [ebp - 4], 2
cmp dword [ebp - 0x28], 0x6f9c
jge 0x1001aeec
mov edx, str.cgopdiu_fcviurfwz_usp
mov ecx, 0x10081078
call fcn.10006f4f
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100206fc
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064313
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10020823
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1002080a
mov dword [ebp - 0x1c], 0x1160
mov dword [ebp - 0x2c], str.edreiht_iedksd_iaikhct_oflx_fhz_rry_yup_htpipxqw_phsz
cmp dword [ebp - 0x1c], 0x13c8
jle 0x100207c2
and dword [ebp - 0x14], 0
jmp 0x10020768
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4f65
jge 0x100207c2
and dword [ebp - 0x18], 0
jmp 0x1002077e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3b39
jge 0x100207c0
mov eax, dword [ebp - 0x14]
or eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x54]
call fcn.10001ab5
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.10004aaa
push eax
call fcn.1004c653
pop ecx
lea ecx, [ebp - 0x54]
call fcn.10004aa0
jmp 0x10020777
jmp 0x10020761
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0xfd5
jge 0x100207e2
push dword [ebp - 0x2c]
call fcn.1004c653
pop ecx
jmp 0x100207fe
or dword [ebp - 4], 0xffffffff
jmp 0x10020808
jmp 0x10020821
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
jmp 0x10020837
push 0x792e
push 1
push 0x1575
call fcn.1001f1e9
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10021242
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10021288
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10021272
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x10021286
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and dword [eax], 0
jmp 0x100212ae
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
push 0x5d7e
push 0x6437
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x18]
call fcn.100239ab
add esp, 0x14
mov esp, ebp
pop ebp
ret