joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100028e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x10042040]
xor eax, esp
mov dword [esp + 0x1c], eax
cmp dword [0x10046a4c], 0
push esi
push edi
jne 0x1000290d
cmp dword [0x10046a54], 0
je 0x1000290d
call fcn.10002730
mov edi, dword [0x100420ec]
lea eax, [esp + 0x14]
push eax
push dword [0x10046a5c]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
movd xmm1, eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 8]
cvtdq2ps xmm0, xmm0
push eax
movss dword [edi + 4], xmm1
movss dword [edi + 8], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 8]
sub ecx, dword [0x10046a60]
mov edx, dword [esp + 0xc]
sbb edx, dword [0x10046a64]
call fcn.10038810
mov edx, dword [0x10046a6c]
mov ecx, dword [0x10046a68]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
call fcn.10038810
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0xc], xmm1
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [0x10046a60], eax
mov dword [0x10046a64], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xe1], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xe2], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xe4], 0
mov byte [edi + 0xe3], al
call fcn.1000e2b0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
call fcn.10037580
mov esp, ebp
pop ebp
ret

Function at 0x10002d00
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100389de
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10042040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x31], dl
mov esi, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], esi
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x3c], 1
push eax
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 0x38], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x10002ddc
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002d94
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.1000a460
cmp byte [ebp - 0x31], 0
je 0x10002ddc
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x10002ddc
lea ecx, [ebp - 0x30]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002dc7
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
mov ecx, esi
call fcn.1000a460
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10037580
mov esp, ebp
pop ebp
ret
Function at 0x10009aa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x10009ad5
sub eax, 1
jne 0x10009ae9
push eax
push eax
push eax
push 0x10009a40
push eax
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov eax, 1
pop ebp
ret 0xc
push dword [0x10042fe4]
push 0xfffffffffffffffc
push dword [0x10042f38]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, 1
pop ebp
ret 0xc

Function at 0x1000c820
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x10046a9c], 0
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
jne 0x1000c8da
xor ebx, ebx
nop dword [eax]
mov edx, ebx
mov eax, ebx
shr eax, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebx*4 + 0x10046a98], eax
inc ebx
cmp ebx, 0x100
jb 0x1000c840
mov ebx, dword [ebp + 8]
not ebx
mov eax, ebx
test edi, edi
jle 0x1000c906
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10046a98]
sub edi, 1
jne 0x1000c8e5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1000c938
nop dword [eax]
cmp cl, 0x23
jne 0x1000c91f
cmp byte [esi], cl
jne 0x1000c91f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10046a98]
test cl, cl
jne 0x1000c910
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1000d210
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x1000d222
mov dword [ebx], 0
mov edx, 0x1003e950
call fcn.1000d0b0
mov esi, eax
test esi, esi
jne 0x1000d236
pop esi
pop ebx
pop ebp
ret
push edi
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1000d306
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x1000d306
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1000d306
mov ecx, dword [0x100420ec]
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
mov eax, dword [ecx + 0xbc]
inc dword [ecx + 0x310]
call eax
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x1000d306
push esi
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, edi
je 0x1000d2d6
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x100420ec]
mov ecx, dword [ebp + 8]
push ecx
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
call eax
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x1000d2ee
push eax
mov eax, dword [ebp + 8]
add eax, edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x1000d2fe
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000f850
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100392ed
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10042040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov esi, dword [0x100420ec]
mov dword [esi + 0x294c], 0
test eax, eax
je 0x1000f985
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x294c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
push 8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.100284e0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov byte [eax + ecx], 0
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov byte [ebp - 4], 2
cmp dword [esi + 0x295c], ebx
jle 0x1000f925
xor edi, edi
nop
mov eax, dword [esi + 0x2964]
lea ecx, [ebp - 0x1c]
add eax, edi
push ecx
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
inc ebx
add esp, 0xc
add edi, 0x18
cmp ebx, dword [esi + 0x295c]
jl 0x1000f900
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
lea ebx, [eax - 1]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x10]
mov edx, 0x1003e954
mov byte [ebp - 4], 0
call fcn.1000d0b0
mov edi, eax
test edi, edi
je 0x1000f963
push edi
push ebx
push 1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
mov dword [ebp - 4], 5
test esi, esi
je 0x1000f985
mov eax, dword [0x100420ec]
push esi
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
call eax
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10034c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039416
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10042040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov eax, 0x3f
mov dword [esi + 4], 0x3f800000
mov word [esi + 0x3c], ax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x3f800000
call fcn.10034df0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10036af0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10042040]
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 0x10036bea
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10036be3
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x10036bc9
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10036bc9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10036bc9
mov edx, dword [esi]
test edx, edx
jne 0x10036b92
push 0x200
push edx
push dword [0x10042ff4]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10036be3
jmp 0x10036bbd
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10036bbd
shl eax, 3
push eax
push edx
push 0
push dword [0x10042ff4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10036be3
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 0x10036b51
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10036c2f
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10036c2f
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 0x10036c29
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.10036970
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10036bf6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10037580
mov esp, ebp
pop ebp
ret

Function at 0x10036c40
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
je 0x10036c8c
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x10036c7b
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 0x10036c74
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 0x10036c51
pop edi
push dword [ebx]
push 0
push dword [0x10042ff4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret
Function at 0x10036c90
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 [0x10046ee0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
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 0x10036cd6
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 0x10036cf1
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 0x10036d20
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x10046ee8]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x10036dfd
mov eax, dword [0x10046ee0]
add eax, 0x14
test byte [eax], 2
je 0x10036d5a
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x10036d45
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x10036dfd
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10036af0
mov ecx, dword [0x10046ee8]
add esp, 4
cmp esi, ecx
jae 0x10036dab
imul edi, esi, 0x2c
mov eax, dword [0x10046ee0]
test byte [edi + eax + 0x14], 2
jne 0x10036da0
mov ecx, esi
call fcn.10036c90
mov ebx, eax
test ebx, ebx
jne 0x10036da8
mov ecx, dword [0x10046ee8]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10036d81
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10036dfc
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10036ded
mov ebx, eax
nop dword [eax + eax]
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10036de1
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 0x10036dc0
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x10042ff4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423366
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
je 0x4233b1
cmp edx, 0xffffffff
je 0x4233b1
cmp word [edx], 0x5a4d
jne 0x4233b1
mov eax, dword [edx + 0x3c]
mov ecx, dword [0x490edc]
add eax, edx
cmp edx, ecx
jae 0x4233a5
cmp eax, ecx
jae 0x43441a
lea edx, [eax + 0xf8]
cmp edx, ecx
jae 0x43441a
cmp dword [eax], 0x4550
jne 0x43441a
pop ebp
ret 4
xor eax, eax
jmp 0x4233b1
Function at 0x427db6
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x427dd4
cmp dword [eax + 4], 0
jne 0x43d1d4
push edi
call fcn.00411430
mov dword [ebp + 0xc], eax
mov al, byte [eax + 0x30]
mov byte [ebp + 8], al
push 0
push dword [ebp + 8]
call dword [0x484788]
mov edx, eax
test edx, edx
je 0x4496df
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x427e01
mov dword [eax], edx
mov ecx, dword [edx + 0x60]
push ebx
sub ecx, 0x24
mov dword [edx + 4], esi
mov dword [edx + 8], 3
mov eax, dword fs:[0x124]
mov ebx, dword [ebp + 0x1c]
mov dword [edx + 0x50], eax
mov dword [edx + 0x64], edi
mov eax, dword [esi + 0x18]
add eax, dword [esi + 0x10]
mov byte [edx + 0x20], 0
mov dword [edx + 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [edx + 0x34], eax
mov dword [edx + 0x28], ebx
mov byte [ecx], 4
mov eax, dword [esi + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov dword [ecx + 0xc], esi
mov eax, dword [eax + 4]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x18], edi
mov ecx, dword [ebp + 0xc]
call dword [0x484780]
mov ecx, 0xc0000000
mov edx, eax
and edx, ecx
cmp edx, ecx
je 0x4496e9
pop ebx
pop edi
pop esi
pop ebp
ret 0x1c
inc dword [0x488564]
mov eax, dword [esi + 0x14]
add eax, 0xfff
shr eax, 0xc
add dword [0x488560], eax
jmp 0x427dd4
mov eax, 0xc000009a
jmp 0x427e72
and dword [ebx + 4], 0
push 0
push ebx
push dword [ebp + 0x18]
mov dword [ebx], eax
call dword [ebp + 0x14]
mov eax, 0x103
jmp 0x427e71
Function at 0x433f58
Capabilities:
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
sub esp, 0xc
mov ecx, esp
sub esp, 0x210
and esp, 0xfffffff0
sub esp, 0x8c
mov eax, esp
mov dword [eax + 0x6c], 0xb
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x64], 0
mov ebx, dword fs:[0x1c]
mov edx, dword [ebx + 4]
mov dword [ecx], edx
mov edi, dword [ebx + 0x124]
mov edx, dword [edi + 0x20]
mov dword [ecx + 4], edx
mov edx, dword fs:[0x18]
mov dword [ecx + 8], edx
mov edi, 0x434065
mov dword [eax + 0x58], ecx
mov dword [eax + 0x68], edi
pushfd
pop edi
and edi, 0x60dd7
or edi, 0x200
mov dword [eax + 0x78], 0x23
mov dword [eax + 0x74], 0x11ffe
mov dword [eax + 0x70], edi
mov dword [eax + 0x4c], 0xffffffff
mov dword [eax + 0x48], 0xffffffff
mov edi, dword [ebx + 0x124]
mov byte [edi + 0x51], 1
add eax, 0x8c
cli
push ecx
mov esi, dword [ebx + 4]
mov ecx, 0x84
mov edi, eax
rep movsd dword es:[edi], dword [esi]
pop ecx
mov edi, dword [ebx + 0x124]
mov dword [ebx + 4], eax
mov esi, dword [ebx + 0x40]
sub eax, 0x10
mov dword [ebx], 0xffffffff
mov dword [esi + 4], eax
add eax, 0x220
mov dword [edi + 0x18], eax
mov eax, dword [ecx + 0x20]
mov dword fs:[0x18], eax
mov dword [edi + 0x20], eax
mov ebx, dword fs:[0x3c]
mov word [ebx + 0x3a], ax
shr eax, 0x10
mov byte [ebx + 0x3c], al
mov byte [ebx + 0x3f], ah
sti
push 0
push 0
call fcn.004eb908
mov ebp, esp
jmp 0x407229

Function at 0x43597b
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
movzx ecx, word [ecx + 6]
push esi
xor esi, esi
test ecx, ecx
push edi
jbe 0x4359b9
mov edx, dword [eax + 0xc]
cmp dword [ebp + 0x10], edx
jb 0x4359a9
mov edi, dword [eax + 0x10]
add edi, edx
cmp dword [ebp + 0x10], edi
jb 0x4359b3
add eax, 0x28
inc esi
cmp esi, ecx
jb 0x435997
jmp 0x4359b9
pop edi
pop esi
pop ebp
ret 0xc
xor eax, eax
jmp 0x4359b3

Function at 0x469cf5
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
xor ecx, ecx
movzx edx, word [esi + ecx*2 + 2]
movzx edi, word [esi + ecx*2]
xor edx, edi
add eax, edx
inc ecx
inc ecx
cmp ecx, 0x20
jb 0x469d04
mov edi, 0x399b
xor edx, edx
mov ecx, edi
div ecx
mov ebx, edx
mov dword [ebp + 8], ebx
jmp 0x469d48
push 0x40
push esi
push eax
call fcn.0040e080
cmp eax, 0x40
je 0x469d5a
lea eax, [ebx + 1]
xor edx, edx
mov ecx, edi
div ecx
mov ebx, edx
cmp ebx, dword [ebp + 8]
je 0x469d81
mov ecx, dword [0x484dd4]
mov eax, ebx
shl eax, 6
add eax, ecx
cmp dword [eax], 0
jne 0x469d2a
mov ecx, dword [0x484dd4]
mov eax, ebx
shl eax, 6
lea edi, [ecx + eax]
cmp dword [edi], 0
jne 0x469d78
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
inc dword [0x491ce8]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, edi
jmp 0x469d7a
Function at 0x46f56d
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
movzx edx, word [eax + 0x18]
and word [eax + 0x16], 0xf1e2
xor ecx, ecx
push esi
push edi
xor edi, edi
cmp edx, 0x10b
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
je 0x46f5c7
cmp edx, 0x20b
je 0x46f5aa
xor al, al
jmp 0x46f67b
mov esi, dword [eax + 0x84]
mov dword [eax + 0x30], ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], ecx
mov dword [eax + 0x78], ecx
mov dword [eax + 0x7c], ecx
lea edx, [eax + 0x88]
jmp 0x46f5cd
mov esi, dword [eax + 0x74]
lea edx, [eax + 0x78]
cmp esi, 2
mov dword [eax + 0x58], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], ecx
jbe 0x46f5ff
mov edi, dword [edx + 0x10]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
cmp esi, 4
push ebx
jbe 0x46f611
mov ebx, dword [edx + 0x20]
mov dword [ebp - 4], ebx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
cmp esi, 5
jbe 0x46f622
mov ebx, dword [edx + 0x28]
mov dword [ebp - 8], ebx
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], ecx
cmp esi, 0xb
pop ebx
jbe 0x46f62e
mov dword [edx + 0x58], ecx
mov dword [edx + 0x5c], ecx
cmp esi, 6
jbe 0x46f636
mov dword [edx + 0x34], ecx
movzx esi, word [eax + 6]
cmp esi, ecx
movzx edx, word [eax + 0x14]
lea edx, [edx + eax + 0x18]
je 0x46f679
lea eax, [edx + 0x14]
mov edx, dword [eax - 8]
cmp edx, edi
mov dword [eax - 4], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov word [eax + 0xc], cx
mov word [eax + 0xe], cx
je 0x46f66d
cmp edx, dword [ebp - 4]
je 0x46f66d
cmp edx, dword [ebp - 8]
jne 0x46f673
mov dword [eax - 8], ecx
mov dword [eax - 0xc], ecx
add eax, 0x28
dec esi
jne 0x46f649
mov al, 1
pop edi
pop esi
leave
ret 4

Function at 0x46f780
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
shr eax, 2
push 0
pop esi
not ebx
not esi
je 0x46f7cb
mov dword [ebp + 8], eax
mov ecx, dword [edi]
xor ecx, 0x55555555
mov eax, ebx
mul ecx
mov dword [ebp - 8], eax
mov eax, ebx
mov ecx, ebx
shld ecx, esi, 0x17
xor ecx, dword [ebp - 8]
shld esi, eax, 0x17
add edi, 4
xor esi, edx
dec dword [ebp + 8]
mov ebx, ecx
jne 0x46f7a1
pop edi
mov edx, esi
pop esi
mov eax, ebx
pop ebx
leave
ret 8