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

Disassembly:
push esi
mov esi, dword [ecx + 4]
mov eax, dword [esi + 8]
test eax, eax
je 0xebe4e8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0xebe4e8
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0xebe4e8
mov eax, dword [esi + 8]
mov esi, dword [eax + 4]
mov ecx, dword [esi + 0x38]
push 0x10004
push ecx
mov dword [esi + 0x40], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0x38]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0xebeae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xfc7153
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10316ec]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x10316ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push fcn.00e946c0
push 0xe94640
push 1
push 0x10
lea eax, [esp + 0x2c]
push eax
call fcn.00fb3330
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], 0xa
mov dword [esp + 0xc], edi
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call fcn.00e947a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.00e946c0
push 1
push esi
lea ecx, [esp + 0x24]
lea edx, [esp + 0x14]
call fcn.00e9a950
mov cl, byte [eax]
mov byte [esp + 0xa], cl
mov byte [esp + 0x38], 2
cmp dword [esp + 0x14], 7
jne 0xebeb9a
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0xf]
mov byte [esp + 0xf], bl
call fcn.00e95ae0
cmp eax, ebx
je 0xebeb9a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push ebx
call eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.00e946c0
push fcn.00e946c0
push 1
push 0x10
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x48], 0xffffffff
call fcn.00f594cc
mov al, byte [esp + 0xa]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00f58a41
add esp, 0x34
ret
Function at 0xebf110
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xfc3830
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10316ec]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push edi
mov eax, dword [0x10316ec]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], vtable.ggadget::win32::GdiplusImage.0
mov dword [esp + 0x10], ebx
test byte [ebp + 8], 8
mov dword [esp + 0x60], ebx
je 0xebf219
mov ecx, dword [0x103c194]
cmp ecx, 0xffffffff
jne 0xebf178
xor eax, eax
jmp 0xebf185
mov edx, dword [0x103c194]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, 0xf
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x60], 1
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x34]
push ecx
push str.resource:__menu_checked_mark.png
mov ecx, eax
call edx
push 0x20
push str.resource:__menu_checked_mark.png
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00e18800
push ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x18]
mov byte [esp + 0x6c], 2
call fcn.00ec1f80
mov edi, 0x10
mov byte [esp + 0x60], 1
cmp dword [esp + 0x2c], edi
jb 0xebf200
mov edx, dword [esp + 0x18]
push edx
call fcn.00f58a36
add esp, 4
mov byte [esp + 0x60], bl
cmp dword [esp + 0x48], edi
jb 0xebf224
mov eax, dword [esp + 0x34]
push eax
call fcn.00f58a36
add esp, 4
jmp 0xebf224
push ebx
push ebx
lea ecx, [esp + 0x14]
call fcn.00ec1ec0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
lea edx, [esp + 0x10]
call fcn.00ebf4a0
mov dword [esp + 0xc], vtable.ggadget::win32::GdiplusImage.0
mov dword [esp + 0x60], 3
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0xebf252
push eax
call fcn.00ec2540
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00f58a41
mov esp, ebp
pop ebp
ret 8

Function at 0xec0da0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0xfc0181
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10316ec]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, 1
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x28]
push eax
sub esp, 0x14
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x2c], esp
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x44]
push edx
push eax
push esi
call fcn.00ec1400
add esp, 0x24
mov dword [esp + 0x10], edi
lea edi, [esp + 0x30]
mov byte [esp + 0x20], bl
call fcn.00ec03a0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0xec12d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xfc0138
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10316ec]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [0x10316ec]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00e19870
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x30]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
mov dword [esp + 0x50], 0
call fcn.00e19870
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
push 0xffffffffffffffff
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
push 0
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esi + 0x30], edx
call fcn.00e19870
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x20], edx
mov edx, dword [esp + 0x30]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0x18], 0x10
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
mov dword [edi + 0x30], eax
jb 0xec13d9
mov ecx, dword [esp + 4]
push ecx
call fcn.00f58a36
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00f58a41
add esp, 0x44
ret
Function at 0xec2c60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0xfc1e86
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x10316ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
fld qword [esp + 0x28]
xor ebx, ebx
mov dword [esi + 4], 1
mov dword [esi + 8], ebx
mov word [esi + 0xc], bx
mov dword [esi + 0x10], ebx
fstp qword [esi + 0x18]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x44], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x6c], ebx
mov al, 1
mov dword [esi + 0x70], ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], vtable.ggadget::Signal2_void__int__int_.0
mov byte [esp + 0x14], al
lea ecx, [esi + 0xb4]
push ebx
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push 0xfe8868
mov word [ecx], ax
call fcn.00e11d20
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xd4], edx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0x1c
Function at 0xec3f90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x2c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
mov byte [eax + 5], 0
xor ebx, ebx
call esi
test ax, ax
je 0xec3fb9
mov ebx, 1
push 0x12
call esi
test ax, ax
je 0xec3fc5
or ebx, 4
push 0x11
call esi
test ax, ax
je 0xec3fd1
or ebx, 2
push 1
xor edi, edi
call esi
test al, 0xfe
je 0xec3fe0
mov edi, 1
push 2
call esi
test al, 0xfe
je 0xec3feb
or edi, 2
push 4
call esi
test al, 0xfe
je 0xec3ff6
or edi, 4
fldz
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xd4]
fst qword [esp + 0x18]
xor eax, eax
fstp qword [esp + 0x20]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x2716
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0x60]
lea eax, [esp + 0x10]
push eax
call edx
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
dec eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0xec4100
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor esi, esi
call edi
test ax, ax
je 0xec4121
mov esi, 1
push 0x12
call edi
test ax, ax
je 0xec412d
or esi, 4
push 0x11
call edi
test ax, ax
je 0xec4139
or esi, 2
xor edi, edi
cmp ebx, edi
je 0xec4179
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
mov dword [esp + 8], 0x4e21
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x64]
lea eax, [esp + 8]
push eax
call edx
mov edi, eax
neg edi
sbb eax, eax
neg eax
dec eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
push str.Unknown_key:_0x_x
lea esi, [esp + 0x10]
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadgetwin32gadget_window.cc
mov dword [esp + 0x18], 0x2d1
call fcn.00ea1eb0
add esp, 8
neg edi
sbb eax, eax
neg eax
pop edi
dec eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0xec41c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor esi, esi
call edi
test ax, ax
je 0xec41e1
mov esi, 1
push 0x12
call edi
test ax, ax
je 0xec41ed
or esi, 4
push 0x11
call edi
test ax, ax
je 0xec41f9
or esi, 2
xor edi, edi
cmp ebx, edi
je 0xec4239
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
mov dword [esp + 8], 0x4e22
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x64]
lea eax, [esp + 8]
push eax
call edx
mov edi, eax
neg edi
sbb eax, eax
neg eax
dec eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
push str.Unknown_key:_0x_x
lea esi, [esp + 0x10]
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadgetwin32gadget_window.cc
mov dword [esp + 0x18], 0x2df
call fcn.00ea1eb0
add esp, 8
neg edi
sbb eax, eax
neg eax
pop edi
dec eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0xec4280
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor esi, esi
call edi
test ax, ax
je 0xec429b
mov esi, 1
push 0x12
call edi
test ax, ax
je 0xec42a7
or esi, 4
push 0x11
call edi
test ax, ax
je 0xec42b3
or esi, 2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0xd4]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x4e23
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x64]
lea eax, [esp + 8]
push eax
call edx
neg eax
sbb eax, eax
neg eax
pop edi
dec eax
pop esi
add esp, 0x14
ret 8
Function at 0xec4360
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
add eax, 0xfffeffff
push edi
mov esi, ecx
cmp eax, 3
ja case.default.0xec437b
jmp dword [eax*4 + 0xec447c]
cmp byte [esi + 0xc], 0
je case.default.0xec437b
mov eax, esi
call fcn.00ec4a20
mov eax, esi
call fcn.00ec4790
call fcn.00ec4850
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x84]
push eax
push 0
push 0x401
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esi + 5], 0
je case.default.0xec437b
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
test al, 0xfe
jne case.default.0xec437b
push 4
call edi
test al, 0xfe
jne case.default.0xec437b
push 2
call edi
test al, 0xfe
jne case.default.0xec437b
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 8]
mov edx, esi
call fcn.00ec3ab0
test al, al
jne case.default.0xec437b
push esi
call fcn.00ec3f90
mov edx, dword [esi + 0x38]
push 0x10003
push edx
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x38]
push 0x10004
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0x40], 0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xec7300
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0xfc074b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10316ec]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 0x60
call fcn.00f58a50
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
test eax, eax
je 0xec7347
push eax
call fcn.00ec6a00
mov edi, eax
jmp 0xec7349
xor edi, edi
mov dword [esp + 0x18], 0xffffffff
mov esi, dword [ebx + 4]
cmp esi, edi
je 0xec736e
test esi, esi
je 0xec736b
push esi
call fcn.00ec6b00
push esi
call fcn.00f58a36
add esp, 4
mov dword [ebx + 4], edi
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0xec738b
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x18
fld qword [esp + 0x30]
mov eax, dword [esp + 0x24]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x38]
fstp qword [esp]
push eax
mov eax, dword [esp + 0x34]
call fcn.00ec6c70
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x18

Function at 0xeca260
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0xfc0031
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x10316ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esp + 0x14], ebx
xor eax, eax
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], ebx
mov word [esi + 0x20], ax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 2
call fcn.00e95f20
push ebx
mov dword [esi + 0x100], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
fldz
mov ecx, dword [esp + 0x20]
fst qword [esi + 0x108]
fst qword [esi + 0x110]
mov dword [esi + 0x104], eax
fst qword [esi + 0x118]
mov word [esi + 0x138], 0x101
fst qword [esi + 0x120]
mov dword [esi + 0x13c], ecx
fst qword [esi + 0x128]
mov eax, esi
fstp qword [esi + 0x130]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0xecfac0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0xfc512e
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10316ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10316ec]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
test byte [0x104dd48], 1
mov esi, ecx
jne 0xecfb2b
or dword [0x104dd48], 1
lea eax, [esp + 0x23]
xor ebx, ebx
push eax
mov dword [esp + 0x54], ebx
call fcn.00ed0390
push 0xfd4d50
call fcn.00f593bf
add esp, 4
mov dword [esp + 0x50], 0xffffffff
jmp 0xecfb2d
xor ebx, ebx
lea ecx, [esp + 0x24]
push ecx
call fcn.00ed0480
mov eax, dword [esp + 0x24]
cmp eax, dword [0x104dce4]
je 0xecfb4b
add eax, 0x24
jmp 0xecfcb6
lea edx, [esp + 0x1c]
push edx
push 0x20019
push ebx
push str.SoftwareMicrosoftWindows_NTCurrentVersionFontLinkSystemLink
push 0x80000002
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
js 0xecfcb4
mov edi, 8
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x14], edi
jb 0xecfb84
mov eax, dword [esi]
jmp 0xecfb86
mov eax, esi
mov edx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push ebx
push eax
push edx
call ebp
mov eax, dword [esp + 0x18]
push eax
call fcn.00f57a7c
mov ebx, eax
add esp, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], 1
cmp dword [esi + 0x14], edi
jb 0xecfbc0
mov eax, dword [esi]
jmp 0xecfbc2
mov eax, esi
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0
push 0
push eax
push edx
call ebp
test eax, eax
js 0xecfca3
mov ecx, esi
call fcn.00ed0140
mov ebp, dword [esp + 0x18]
mov edi, eax
xor eax, eax
shr ebp, 1
je 0xecfc8e
cmp eax, ebp
jae 0xecfc03
cmp word [ebx + eax*2], 0x2c
je 0xecfc03
inc eax
cmp eax, ebp
jb 0xecfbf7
inc eax
mov esi, eax
cmp eax, ebp
jae 0xecfc1c
lea ebx, [ebx]
cmp word [ebx + esi*2], 0
je 0xecfc1c
inc esi
cmp esi, ebp
jb 0xecfc10
mov edx, esi
sub edx, eax
xor ecx, ecx
push edx
lea eax, [ebx + eax*2]
mov word [esp + 0x2c], cx
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
call fcn.00e11d20
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 2
call fcn.00e20d60
mov byte [esp + 0x50], 1
cmp dword [esp + 0x3c], 8
jb 0xecfc6c
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00f58a36
add esp, 4
xor edx, edx
lea eax, [esi + 1]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], dx
cmp eax, ebp
jb 0xecfbf7
push ebx
mov dword [esp + 0x54], 0xffffffff
call fcn.00f59081
add esp, 4
mov eax, edi
jmp 0xecfcb6
push ebx
mov dword [esp + 0x54], 0xffffffff
call fcn.00f59081
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00f58a41
add esp, 0x40
ret
Function at 0xed0650
Capabilities:
Encode data using xor

Disassembly:
cmp dword [eax + 0x14], 8
push esi
jb 0xed065b
mov ecx, dword [eax]
jmp 0xed065d
mov ecx, eax
mov edx, dword [eax + 0x10]
lea edx, [ecx + edx*2]
mov eax, 0x811c9dc5
cmp ecx, edx
je 0xed0682
lea esp, [esp]
movzx esi, word [ecx]
imul eax, eax, 0x1000193
add ecx, 2
xor eax, esi
cmp ecx, edx
jne 0xed0670
and eax, 0x7fffffff
push 0x1f31d
push eax
call fcn.00fb41cf
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
mov eax, edx
jns 0xed06ac
add eax, 0x7fffffff
pop esi
ret

Function at 0xed0e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xfc7071
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10316ec]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [0x10316ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea esi, [esp + 0x10]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
call fcn.00ed1350
push eax
mov esi, 1
push edi
mov dword [esp + 0x40], esi
call fcn.00ed0cd0
add esp, 8
mov byte [esp + 0x38], 0
cmp dword [esp + 0x24], 0x10
mov dword [esp + 8], esi
jb 0xed0e84
mov eax, dword [esp + 0x10]
push eax
call fcn.00f58a36
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00f58a41
add esp, 0x34
ret

Function at 0xed1350
Capabilities:
Identify system language via api

Disassembly:
push ecx
push edi
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
call fcn.00ed11d0
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [eax + eax + 0xfe41a4]
add eax, eax
add esp, 4
test ecx, ecx
jne 0xed1384
mov ecx, dword [eax + 0xfe41a0]
mov eax, ecx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xed13a0
sub eax, edi
push eax
push ecx
mov ecx, esi
call fcn.00e18800
mov eax, esi
pop edi
pop ecx
ret

Function at 0xed21b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0xfb9cd0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10316ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov byte [esp + 0xb], cl
lea ecx, [esp + 0xb]
lea eax, [esi + 4]
push ecx
push eax
mov dword [esi], vtable.GeneratedMessageFactory.0
call fcn.00ee45c0
push 0x18
mov byte [esp + 0x18], 1
call fcn.00f58a50
add esp, 4
push eax
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edx, [esp + 0x1c]
push edx
lea eax, [esi + 0x34]
push eax
mov byte [esp + 0x1c], 2
call fcn.00ee45c0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0xed2850
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [eax]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xed2858
sub eax, esi
add eax, edx
mov ecx, 0x811c9dc5
cmp edx, eax
je 0xed2880
lea esp, [esp]
movzx esi, byte [edx]
imul ecx, ecx, 0x1000193
inc edx
xor ecx, esi
cmp edx, eax
jne 0xed2870
and ecx, 0x7fffffff
push 0x1f31d
push ecx
call fcn.00fb41cf
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
mov eax, edx
jns 0xed28ab
add eax, 0x7fffffff
pop esi
ret