joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f7d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497fed
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4bc100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, 0x4bcbac
push edi
mov dword [ebp - 0x14], edi
call fcn.0045b3a0
add esp, 4
test eax, eax
jne 0x40f93a
cmp dword [0x4bcbd8], 0x7fffffff
je 0x40f941
mov dword [ebp - 4], eax
mov ebx, esi
cmp dword [esi + 0x14], 0xf
jbe 0x40f833
mov ebx, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [esi + 0x10], ecx
jbe 0x40f852
nop
movzx eax, byte [ebx + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [esi + 0x10]
jb 0x40f840
push edx
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00442730
mov esi, dword [0x4c1490]
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
cmp esi, dword [0x4c1490]
je 0x40f915
mov cl, 1
lea eax, [esi + 0x28]
xchg byte [eax], cl
cmp dword [esi + 0x24], 0
je 0x40f88c
lea ecx, [esi + 0x20]
call fcn.00404bf0
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
jbe 0x40f89d
mov edx, dword [edx]
xor ecx, ecx
mov ebx, 0x811c9dc5
test eax, eax
je 0x40f8c6
mov edi, dword [ebp - 0x14]
nop dword [eax + eax]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, edi
jb 0x40f8b0
mov edi, 0x4bcbac
and ebx, dword [0x4c14a4]
mov eax, dword [0x4c1498]
lea ecx, [eax + ebx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x40f8f3
cmp eax, esi
jne 0x40f8eb
mov eax, dword [0x4c1490]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x40f8fb
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x40f8fb
cmp eax, esi
jne 0x40f8fb
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov edx, esi
dec dword [0x4c1494]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
call fcn.00443220
push edi
call fcn.0045b3b1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dafc
mov esp, ebp
pop ebp
ret
push 5
call fcn.00456f28
push 6
mov dword [0x4bcbd8], 0x7ffffffe
call fcn.00456f28
int3
Function at 0x410f70
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498234
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4bc100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14c], 1
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x14c], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x41106b
lea eax, [ebp - 0x148]
mov dword [ebp - 0x148], 0x128
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x411064
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x41101c
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.0047c9a7
add esp, 8
test eax, eax
jne 0x411056
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
je 0x411046
mov eax, dword [ebp - 0x140]
mov dword [ecx], eax
add dword [ebp - 0x18], 4
jmp 0x411056
lea eax, [ebp - 0x140]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004427d0
lea eax, [ebp - 0x148]
push eax
push edi
call ebx
test eax, eax
jne 0x411012
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
cmp esi, ebx
je 0x4110a1
push dword [esi]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x411097
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, ebx
jne 0x411075
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4110d1
mov ecx, dword [ebp - 0x14]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4110c7
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4110ed
push ecx
push esi
call fcn.0046dfdf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dafc
mov esp, ebp
pop ebp
ret
call fcn.0047bff9
int3
Function at 0x411410
Capabilities:
Enumerate processes
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x168
mov eax, dword [0x4bc100]
xor eax, esp
mov dword [esp + 0x164], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edx
push 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
push 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x411589
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4114a5
push dword [esp + 0x1c]
lea eax, [esp + 0x68]
push eax
call fcn.0047c9a7
add esp, 8
test eax, eax
je 0x41149d
lea eax, [esp + 0x40]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x411476
jmp 0x4114a5
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], 0
je 0x411589
xor esi, esi
nop dword [eax]
push 0
push 0
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x1c], eax
jne 0x411581
push 0x104
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x40]
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411520
sub eax, edx
lea ecx, [esp + 0x20]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0040e0a0
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x28]
call fcn.0042ae90
cmp eax, 0xffffffff
jne 0x4115c1
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x411581
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411577
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4115fe
push ecx
push edx
call fcn.0046dfdf
add esp, 8
test esi, esi
jne 0x4114c0
xorps xmm0, xmm0
mov ecx, edi
push 0
movups xmmword [edi], xmm0
push 0x4a83de
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.0040e0a0
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.0046dafc
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x16c]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov eax, edi
movups xmm0, xmmword [esp + 0x20]
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [esp + 0x30]
movq qword [edi + 0x10], xmm0
pop edi
pop esi
xor ecx, esp
call fcn.0046dafc
mov esp, ebp
pop ebp
ret
call fcn.0047bff9
int3
Function at 0x414220
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, esi
cmp dword [esi + 0x14], 0xf
jbe 0x414238
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x414266
mov edx, str._ERROR__Source_shortcut_does_not_exist:
mov ecx, 0x4c0548
call fcn.004347a0
cmp dword [esi + 0x14], 0xf
mov ecx, dword [esi + 0x10]
jbe 0x41425e
mov esi, dword [esi]
push ecx
mov edx, esi
jmp 0x414314
cmp dword [edi + 0x14], 0xf
lea ebx, [edi + 0x14]
mov ecx, edi
jbe 0x41427c
mov ecx, dword [edi]
lea edx, [edi + 0x14]
mov dword [esp + 0xc], edx
jmp 0x414280
mov dword [esp + 0xc], ebx
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x41428a
mov eax, dword [esi]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4142d0
mov edx, str._INFO__Shortcut_replaced_copied_to:
mov ecx, 0x4c0448
call fcn.004347a0
cmp dword [ebx], 0xf
mov ecx, dword [edi + 0x10]
jbe 0x4142b1
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.00440dc0
add esp, 4
push eax
call fcn.00434a40
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, str._ERROR__Failed_to_replace_copy_shortcut:
mov ecx, 0x4c0548
call fcn.004347a0
cmp dword [esi + 0x14], 0xf
mov ecx, dword [esi + 0x10]
jbe 0x4142ea
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00440dc0
add esp, 4
mov edx, str._to
mov ecx, eax
call fcn.004347a0
mov ecx, dword [esp + 0xc]
mov edx, dword [edi + 0x10]
cmp dword [ecx], 0xf
jbe 0x414311
mov edi, dword [edi]
push edx
mov edx, edi
mov ecx, eax
call fcn.00440dc0
add esp, 4
push eax
call fcn.00434a40
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d0f0
Capabilities:
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49988d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x140
mov eax, dword [0x4bc100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x18], 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x138], ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x2c], cl
mov dword [ebp - 4], ecx
cmp dword [esi + 0x14], 0xf
mov edi, esi
mov eax, dword [esi + 0x10]
jbe 0x41d15f
mov edi, dword [esi]
cmp ecx, eax
jae 0x41d1bb
push 0x100
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.0046fd30
add esp, 0xc
mov ecx, 0x4aa770
nop
movzx eax, byte [ecx]
inc ecx
mov byte [ebp + eax - 0x130], 1
cmp ecx, 0x4aa772
jne 0x41d180
mov edx, dword [esi + 0x10]
mov eax, dword [ebp - 0x138]
add edx, edi
add eax, edi
cmp eax, edx
jae 0x41d1bb
movzx ecx, byte [eax]
cmp byte [ebp + ecx - 0x130], 0
jne 0x41d2a8
inc eax
cmp eax, edx
jb 0x41d1a5
or eax, 0xffffffff
cmp eax, 0xffffffff
je 0x41d2af
cmp dword [esi + 0x10], eax
lea ecx, [eax + 1]
xorps xmm0, xmm0
mov dword [ebp - 0x138], ecx
cmovb eax, dword [esi + 0x10]
mov ecx, esi
cmp dword [esi + 0x14], 0xf
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
jbe 0x41d1ff
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [ebp - 0x150]
call fcn.0040e0a0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x41d240
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d236
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d332
push ecx
push edx
call fcn.0046dfdf
add esp, 8
cmp dword [ebp - 0x140], 0
movups xmm0, xmmword [ebp - 0x150]
mov ecx, dword [ebp - 0x138]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x140]
movq qword [ebp - 0x1c], xmm0
je 0x41d152
cmp dword [ebp - 0x13c], 0xf
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x150]
push eax
call fcn.0047cf4f
mov ecx, dword [ebp - 0x138]
add esp, 4
test eax, eax
je 0x41d152
call fcn.0047c702
cmp dword [eax], 0x11
jne 0x41d2ce
mov ecx, dword [ebp - 0x138]
jmp 0x41d152
sub eax, edi
jmp 0x41d1be
cmp dword [esi + 0x14], 0xf
jbe 0x41d2b7
mov esi, dword [esi]
push esi
call fcn.0047cf4f
add esp, 4
test eax, eax
je 0x41d2d7
call fcn.0047c702
cmp dword [eax], 0x11
je 0x41d2d7
mov byte [ebp - 0x131], 0
jmp 0x41d2de
mov byte [ebp - 0x131], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x41d30e
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d304
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d332
push ecx
push edx
call fcn.0046dfdf
add esp, 8
mov al, byte [ebp - 0x131]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046dafc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0047bff9
int3
Function at 0x4253b0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a365
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4bc100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x5c], ebx
mov esi, ecx
push 4
call fcn.0046dbef
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [eax], 0x4252c0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x449820
push 0
push 0
call fcn.004770bd
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x425541
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.00404c40
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowA]
push 0
call ebx
mov edi, eax
test edi, edi
je 0x425511
cmp byte [0x4c1511], 0
jne 0x425471
push dword [ebp - 0x5c]
push 0
call ebx
test eax, eax
je 0x425471
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov byte [0x4c1511], 1
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x2c
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [ebp - 0x50], 2
je 0x425511
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
sub ebx, ecx
mov eax, dword [ebp - 0x28]
sub ebx, 0x10
sub edi, eax
sub edi, 0x82
cmp dword [ebp - 0x50], 3
jne 0x4254ee
push 0
add edi, 0xa
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x28]
sub eax, ebx
cdq
add ecx, 0x64
sub eax, edx
xor edx, edx
push 0x40
sar eax, 1
cmp dword [ebp - 0x38], edx
push edi
cmovle ecx, edx
push ebx
push ecx
jmp 0x4254f9
push 0x40
push edi
add eax, 0x6e
push ebx
push eax
lea eax, [ecx + 8]
push eax
mov eax, dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push esi
call eax
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x42551a
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0x14], 0
jne 0x42553c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dafc
mov esp, ebp
pop ebp
ret
call fcn.0047c170
push 6
mov dword [ebp - 0x14], 0
call fcn.00456f28
int3
Function at 0x428b20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x428b52
jl 0x428b45
test ecx, ecx
jne 0x428b52
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x428c2f
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x428b82
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x428b84
xor eax, eax
cdq
mov dword [esp + 0x1c], edx
mov esi, eax
test edx, edx
jl 0x428bd8
jg 0x428b95
test esi, esi
je 0x428bd8
mov eax, dword [esp + 0x10]
cmp eax, edx
jg 0x428ba9
jl 0x428ba3
cmp ecx, esi
jae 0x428ba9
mov esi, ecx
mov dword [esp + 0x1c], eax
push esi
push dword [esp + 0x1c]
push edi
call fcn.0046f740
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
sub ecx, esi
mov eax, dword [eax]
sbb edx, dword [esp + 0x1c]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x14]
jmp 0x428bfc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x428c18
mov ecx, dword [esp + 0xc]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
lea eax, [ebx + 0x2c]
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
test edx, edx
jg 0x428b67
jl 0x428c18
test ecx, ecx
jne 0x428b67
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x428c6d
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x428c6d
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.0046f740
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x428cd7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x428c93
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x428cc2
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0047d192
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x428cd7
cmp edi, eax
ja 0x428ca0
test edi, edi
je 0x428cd7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0047d192
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42f540
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ab6c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4bc100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x42f5f4
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 5
push 9
mov byte [edi + 0x60], al
call fcn.0042ebc0
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 0xd], 1
call fcn.00431ec0
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x42f634
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x4309d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp edx, eax
je 0x430b6c
cmp dword [edx + 0x1c], 0xf
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x1c], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x18], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x10]
jbe 0x430a0b
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
test eax, eax
je 0x430a34
mov ecx, eax
nop dword [eax]
movzx eax, byte [edi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x430a20
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x18]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.0040cc30
push 0x38
push edi
call fcn.0046dfdf
mov eax, dword [ebp - 8]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x14]
je 0x430a99
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x430a50
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x430a88
mov edx, dword [ebp - 0x10]
mov dword [edx], esi
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x430aab
mov ecx, dword [ebp - 0x1c]
mov dword [edx], ecx
jmp 0x430aae
mov ecx, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
je 0x430b5f
nop dword [eax]
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jbe 0x430ace
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x430af4
nop dword [eax]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x430ae0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x18]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.0040cc30
push 0x38
push edi
call fcn.0046dfdf
mov eax, dword [ebp - 8]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x14]
je 0x430b49
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x430b08
mov ecx, dword [ebp - 4]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 0xc]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0x1c]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
jne 0x430ac0
mov eax, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x431480
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497020
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4bc100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.0046dbef
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0045ab87
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00431420
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret