joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445830
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x52ba53
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esi + 4], ebx
lea eax, [esi + 8]
mov dword [esp + 0x1c], ebx
push eax
mov dword [esi], 0x54fbcc
call fcn.004b4650
push 0x537858
mov byte [esp + 0x20], 1
push 0x66
push edi
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
cmp ebp, ebx
je 0x4458e7
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 0x28], eax
cmp eax, ebx
je 0x4458e7
cmp eax, 0x1c
jbe 0x4458e7
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x4458e7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 0x2c], eax
cmp eax, ebx
je 0x4458e7
cmp dword [eax], 0x53495544
jne 0x4458e7
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
lea edi, [edx + ecx]
cmp edi, dword [esi + 0x28]
jb 0x4458e7
push ecx
lea ecx, [edx + eax]
lea edi, [esi + 8]
call fcn.0044b330
mov byte [esi + 0x30], al
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x448d90
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x5265f3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esi], 0x54fcec
mov dword [esi + 4], ebx
mov byte [esp + 0x18], 1
push 0xd
mov dword [esi + 8], ebx
mov dword [esi + 0x44], ebx
call fcn.00501e17
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x448e10
lea ecx, [esp + 0x20]
push ecx
push 0x40
mov eax, 0x448f10
sub eax, edi
push 0xd
sub eax, 0xd
push edi
mov dword [edi], 0x42444c7
mov dword [edi + 4], esi
mov byte [edi + 8], 0xe9
mov dword [edi + 9], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [esi + 0x10], edi
jmp 0x448e13
mov dword [esi + 0x10], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x44add0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52edf8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [0x56cf78]
mov edx, dword [eax + 0xc]
mov ecx, 0x56cf78
mov dword [esp + 0x30], 0x55012c
call edx
add eax, 0x10
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x60]
push str._skin_template
lea ecx, [esp + 0x40]
push ecx
xor ebx, ebx
push edx
mov dword [esp + 0x64], ebx
call fcn.00421440
mov byte [esp + 0x58], 1
mov eax, dword [esp + 0x48]
mov esi, eax
cmp eax, dword [esp + 0x4c]
je 0x44af57
jmp 0x44ae50
mov eax, dword [esi + 4]
neg eax
sbb eax, eax
test eax, fcn.004c8c20
je 0x44ae68
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x18]
jmp 0x44ae6a
mov eax, esi
mov eax, dword [eax]
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x44ae81
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x1c]
jmp 0x44ae89
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
neg eax
sbb eax, eax
test eax, fcn.004c8c20
je 0x44af44
mov ebx, 0x54e660
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x24]
call fcn.0041a740
mov eax, dword [eax]
test eax, eax
je 0x44aebf
mov eax, dword [eax + 8]
mov ecx, eax
test eax, eax
jne 0x44aec4
mov ecx, 0x53741c
lea edx, [esp + 0x14]
push edx
call fcn.0040ace0
lea ebx, [esp + 0x14]
mov byte [esp + 0x58], 2
call fcn.0042bf40
mov ebx, eax
call fcn.0042bfc0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x44af04
add eax, 0xfffffff0
mov byte [esp + 0x58], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x44af38
lea eax, [esp + 0x14]
lea edi, [esp + 0x34]
call fcn.0040d4e0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x34]
call fcn.0041abe0
mov byte [esp + 0x58], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44af44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 8
xor ebx, ebx
cmp esi, dword [esp + 0x4c]
jne 0x44ae50
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], bl
cmp eax, ecx
je 0x44af6d
push eax
call dword [0x56b964]
add esp, 4
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44af95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x4c
ret
Function at 0x452980
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
push 0xd
call fcn.00501e17
mov esi, eax
add esp, 4
test esi, esi
je 0x4529cd
lea ecx, [esp + 4]
push ecx
push 0x40
mov eax, 0x455500
sub eax, esi
push 0xd
sub eax, 0xd
push esi
mov dword [esi], 0x42444c7
mov dword [esi + 4], edi
mov byte [esi + 8], 0xe9
mov dword [esi + 9], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [edi + 0x118], esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [edi + 0x118], eax
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x52b728
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x568fd0]
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 + 4], ebx
mov dword [esp + 0x14], ebx
mov dword [esi], 0x551ee0
mov eax, 0xfffe7960
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
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 + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
lea eax, [esi + 0x54]
push eax
mov byte [esp + 0x18], 2
call fcn.00459d90
lea ecx, [esi + 0x6c]
push ecx
mov byte [esp + 0x18], 3
call fcn.00459d90
lea edx, [esi + 0x84]
push edx
mov byte [esp + 0x18], 4
call fcn.00459d90
mov byte [esp + 0x14], 5
mov eax, dword [0x56cf78]
mov edx, dword [eax + 0xc]
mov ecx, 0x56cf78
call edx
add eax, 0x10
mov dword [esi + 0xa4], eax
mov byte [esp + 0x14], 6
mov eax, dword [0x56cf78]
mov edx, dword [eax + 0xc]
mov ecx, 0x56cf78
call edx
add eax, 0x10
mov dword [esi + 0xa8], eax
mov byte [esp + 0x14], 7
mov eax, dword [0x56cf78]
mov edx, dword [eax + 0xc]
mov ecx, 0x56cf78
call edx
add eax, 0x10
mov dword [esi + 0xac], eax
mov byte [esp + 0x14], 8
mov eax, dword [0x56cf78]
mov edx, dword [eax + 0xc]
mov ecx, 0x56cf78
call edx
add eax, 0x10
mov dword [esi + 0xb0], eax
mov byte [esp + 0x14], 9
mov eax, dword [0x56cf78]
mov edx, dword [eax + 0xc]
mov ecx, 0x56cf78
call edx
add eax, 0x10
mov dword [esi + 0xb4], eax
lea eax, [esi + 0xd0]
push eax
mov byte [esp + 0x18], 0xa
call fcn.004472b0
mov eax, dword [0x56e83c]
mov ecx, 1
add eax, ecx
mov dword [0x56e83c], eax
mov dword [esi + 8], eax
or eax, 0xffffffff
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], ebx
mov byte [esi + 0x9c], cl
mov byte [esi + 0x9d], cl
mov byte [esi + 0x9e], bl
mov byte [esi + 0x9f], cl
mov byte [esi + 0xa0], cl
mov byte [esi + 0xa1], bl
mov dword [esi + 0xc0], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0xcc], bl
mov byte [esi + 0xcd], bl
mov byte [esi + 0xce], bl
mov dword [esi + 0x100], ebx
mov dword [esi + 0xc8], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x45bcc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52ed90
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
push 0x552800
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.00421440
xor esi, esi
mov dword [esp + 0x80], esi
mov eax, dword [esp + 0x30]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp eax, dword [esp + 0x34]
je 0x45be23
mov edx, dword [ebp + 8]
add edx, 0x11c
mov dword [esp + 0x20], edx
mov edi, 0x552808
jmp 0x45bd36
mov ebx, dword [esp + 0x14]
xor esi, esi
mov eax, dword [0x56cf78]
mov edx, dword [eax + 0xc]
mov ecx, 0x56cf78
mov dword [esp + 0x38], 0x552810
call edx
add eax, 0x10
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x38], 0x552818
mov byte [esp + 0x80], 1
mov eax, dword [ebx + 4]
neg eax
sbb eax, eax
test eax, fcn.004c8c20
je 0x45bda4
mov dword [esp + 0x18], esi
lea eax, [esp + 0x18]
jmp 0x45bda6
mov eax, ebx
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x108]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
call fcn.0045b9a0
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0x38]
push edx
call fcn.0045c4b0
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0x552810
mov dword [esp + 0x54], edi
mov dword [esp + 0x40], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45be0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x34]
jne 0x45bd30
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
cmp eax, ecx
je 0x45be40
push eax
call dword [0x56b964]
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x462eb0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x52b508
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea eax, [esi + 0x14]
xor ebx, ebx
push eax
mov dword [esi + 8], ebx
call fcn.00446380
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x34], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x40], bl
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x4c], bl
mov dword [esp + 0x14], ebx
mov dword [esi + 0x50], ebx
lea ecx, [esi + 0x64]
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov byte [esi + 0x5c], bl
call fcn.00433b20
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x462f30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x52d3a8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push eax
xor ebx, ebx
push esi
mov ecx, ebp
mov dword [esp + 0x34], ebx
call fcn.004632c0
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x20], ebx
lea edx, [esp + 0x30]
lea edi, [esi + 0x54]
push edx
lea eax, [esi + 0x64]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov byte [edi + 8], bl
push eax
mov dword [esi + 0x60], ebx
call fcn.004340f0
mov eax, esi
cmp dword [esi + 8], ebx
je 0x462fa5
call fcn.00463270
mov dword [esi + 0x50], eax
jmp 0x462fc3
call fcn.00433c10
test al, al
je 0x462fc0
mov ecx, dword [esp + 0x28]
mov dword [edi], ecx
mov dword [esi + 0x58], ebp
mov byte [esi + 0x5c], 1
mov dword [esi + 0x50], edi
jmp 0x462fc3
mov dword [esi + 0x50], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x470450
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub esp, 0x10
mov eax, dword [0x568fd0]
xor eax, esp
mov dword [esp + 0xc], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx eax, ax
push 0xa
lea ecx, [esp + 4]
push ecx
movzx edx, ax
push 0x1004
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x470492
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00501b9a
add esp, 0x10
ret
lea eax, [esp]
push eax
call fcn.0050878d
mov ecx, dword [esp + 0x10]
add esp, 4
xor ecx, esp
call fcn.00501b9a
add esp, 0x10
ret

Function at 0x470af0
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x568fd0]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
test eax, 0x800
je 0x470c94
mov eax, dword [edi + 0x2d4]
push eax
call sub.IMM32.dll_ImmGetContext
mov dword [esp + 0x18], eax
test eax, eax
je 0x470c7b
push 0x18e
lea ecx, [esp + 0x3c]
push ecx
push 0x800
push eax
call sub.IMM32.dll_ImmGetCompositionStringW
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [edi + 0x2c8]
sar ebx, 1
test eax, eax
je 0x470bad
cmp dword [eax + 0x1ec], 0xfde9
jne 0x470bad
mov esi, ebx
lea edi, [esp + 0x38]
call fcn.00479420
mov esi, eax
lea edx, [esp + 0x1c8]
push esi
push edx
call fcn.00479480
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
add esp, 8
push 0
push esi
lea edx, [esp + 0x1d0]
push edx
mov byte [esp + esi + 0x1d4], 0
call eax
mov edi, dword [esp + 0x10]
jmp 0x470c01
push 0
push 0
push 0x18f
lea ecx, [esp + 0x1d4]
push ecx
push ebx
lea edx, [esp + 0x4c]
push edx
push 0
call fcn.00470450
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x470c01
mov al, byte [esp + esi + 0x1c8]
mov edx, dword [edi]
mov edx, dword [edx + 0x4c]
push 0
mov byte [esp + 0x14], al
push 1
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x1d], 0
call edx
inc esi
cmp esi, ebx
jl 0x470bda
mov eax, dword [edi + 0x260]
sub eax, dword [edi + 0x25c]
mov esi, dword [edi + 0x290]
sar eax, 4
cmp esi, eax
jb 0x470c1f
call fcn.00501daa
mov eax, dword [edi + 0x25c]
shl esi, 4
mov ecx, dword [esi + eax + 4]
mov edx, dword [esi + eax]
push ecx
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00484d60
fld dword [esp + 0x10]
mov dword [esp + 0x1c], 2
call fcn.00505040
fld dword [esp + 0x14]
mov dword [esp + 0x20], eax
call fcn.00505040
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x2c], eax
call sub.IMM32.dll_ImmSetCompositionWindow
mov edx, dword [edi + 0x2d4]
push esi
push edx
call sub.IMM32.dll_ImmReleaseContext
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.00501b9a
mov esp, ebp
pop ebp
ret 8
mov edi, dword [edi + 0x2d4]
push eax
mov eax, dword [ebp + 8]
push eax
push 0x10f
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00501b9a
mov esp, ebp
pop ebp
ret 8
Function at 0x496180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52f65a
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x568fd0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, ecx
cmp byte [esi + 0xcc8], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ebx
je 0x4961ed
mov eax, dword [ebp + 8]
push ebx
push edi
mov ebx, esi
call fcn.0048c8f0
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x7d1]
cmp ecx, 0x3e9
ja 0x4999cd
jmp dword [ecx*4 + 0x499a04]
mov edx, dword [esi]
push ebx
push edi
push eax
mov eax, dword [edx + 0xe8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00501b9a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a3890
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x52af13
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
push esi
call fcn.00446380
lea eax, [esi + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x30], ebx
call fcn.00446380
mov eax, 1
mov byte [esp + 0x2c], al
mov dword [esi + 0x34], ebx
or ecx, 0xffffffff
mov dword [esi + 0x30], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x48], eax
xor eax, eax
xor ecx, ecx
mov edx, eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], bl
mov byte [esi + 0x45], bl
mov ebx, eax
sub esp, 0x10
mov eax, esp
mov edi, ecx
mov dword [eax], edx
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
mov dword [eax + 0xc], ecx
call fcn.004a3f30
lea ebx, [esp + 0x10]
mov edi, esi
call fcn.004a4820
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, esi
sar ecx, 4
dec ecx
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x52815e
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov eax, 8
mov dword [esi], ebx
mov dword [esi + 0x14], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea edi, [esi + 0x3c]
mov byte [esp + 0x18], 1
call fcn.004a5500
lea eax, [esi + 0x58]
push eax
mov byte [esp + 0x1c], 2
call fcn.004a5350
mov byte [esi + 0x30], bl
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x4ad550
Capabilities:
Encode data using xor

Disassembly:
movsx eax, byte [esi]
shl eax, 7
xor ecx, ecx
test edx, edx
jbe 0x4ad572
push edi
lea ecx, [ecx]
movsx edi, byte [ecx + esi]
imul eax, eax, 0xf4243
inc ecx
xor eax, edi
cmp ecx, edx
jb 0x4ad560
pop edi
imul eax, eax, 0xf4243
xor eax, edx
imul eax, eax, 0xf4243
xor eax, dword [esp + 4]
ret

Function at 0x4ae0e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x529648
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x30], 0
mov ebp, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov eax, ebp
sub eax, ecx
sar eax, 3
cmp edi, eax
jbe 0x4ae147
cmp ecx, ebp
jbe 0x4ae12a
call fcn.00501daa
mov ecx, dword [esi + 0x10]
mov eax, dword [esi]
sub ecx, dword [esi + 0xc]
push ebp
push eax
lea eax, [esp + 0x40]
sar ecx, 3
push eax
sub edi, ecx
push edi
push esi
call fcn.004ae790
jmp 0x4ae196
jae 0x4ae196
cmp ecx, ebp
jbe 0x4ae152
call fcn.00501daa
mov ebx, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0x18], edx
cmp ebx, dword [esi + 0x10]
jbe 0x4ae165
call fcn.00501daa
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
push edi
lea ebx, [esp + 0x24]
lea eax, [esp + 0x14]
call fcn.004aeaf0
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ebp
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, esi
call fcn.004ae6d0
mov edx, dword [esp + 0x3c]
push edx
call fcn.005026cd
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x24
ret 8
Function at 0x4afb80
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x52ac8c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov dword [esp + 0x2c], 3
mov edi, dword [esp + 0x34]
lea ebx, [edi + 0x38]
mov eax, ebx
call fcn.004b1500
mov eax, dword [edi + 0x30]
mov eax, dword [eax]
mov esi, dword [edi + 0x18]
add edi, 0x18
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
mov ebp, dword [edi + 0x18]
mov eax, dword [edi]
test esi, esi
je 0x4afbdd
cmp esi, eax
je 0x4afbe2
call fcn.00501daa
cmp dword [esp + 0x1c], ebp
je 0x4afc25
test esi, esi
jne 0x4afc21
call fcn.00501daa
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esi + 0x18]
jne 0x4afbff
call fcn.00501daa
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x24]
test ecx, ecx
je 0x4afc12
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
lea esi, [esp + 0x18]
call fcn.004b1ba0
mov esi, dword [esp + 0x18]
jmp 0x4afbd0
mov esi, dword [esi]
jmp 0x4afbf1
mov eax, dword [edi + 0x18]
mov ebp, dword [eax + 4]
cmp byte [ebp + 0x29], 0
mov esi, ebp
jne 0x4afc51
mov ecx, dword [esi + 8]
push ecx
mov ecx, edi
call fcn.004b1930
mov esi, dword [esi]
push ebp
call fcn.00501b8f
add esp, 4
cmp byte [esi + 0x29], 0
mov ebp, esi
je 0x4afc33
mov eax, dword [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
xor esi, esi
mov dword [edi + 0x1c], esi
mov dword [eax], eax
mov eax, dword [edi + 0x18]
push 0x4aee20
mov byte [esp + 0x30], 2
mov ebp, dword [esp + 0x38]
push 0x20
push 0x1c
lea edx, [ebp + 0x54]
push edx
mov dword [eax + 8], eax
call fcn.00508c67
mov eax, dword [ebx + 0xc]
cmp eax, esi
je 0x4afcb2
mov ecx, dword [ebx + 0x10]
cmp eax, ecx
je 0x4afca6
add eax, 0x40
mov dword [eax + 4], esi
mov dword [eax], vtable.Font.0
add eax, 0x48
lea edx, [eax - 0x40]
cmp edx, ecx
jne 0x4afc93
mov eax, dword [ebx + 0xc]
push eax
call fcn.00501b8f
add esp, 4
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
mov ebx, dword [ebx]
push ebx
call fcn.00501b8f
mov esi, edi
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x2c], 4
call fcn.004b1970
mov eax, dword [esi]
push eax
call fcn.00501b8f
add esp, 4
mov eax, ebp
call fcn.004aeec0
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp eax, esi
je 0x4afcfa
push eax
call fcn.00501b8f
add esp, 4
mov ecx, dword [ebp]
push ecx
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], esi
call fcn.00501b8f
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4