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

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x43ebce
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x43ebc3
pop esi
ret

Function at 0x43ed10
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x43eda2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x43ed94
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x43ed8c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x43ed55
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
mov ecx, 0x43b93a92
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x4a180f5d
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x24af97e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
ret
add eax, dword [eax + ecx*4]
push 0x5daa9c27
call fcn.024f02e9
jb 0x270fb1c
mov eax, 1
jmp 0x2496089
jne 0x251b211
mov dword [edi + 4], edx
movzx eax, bx
movzx eax, cl
cmp edx, edi
test dl, 0x35
mov dword [edi], eax
test dx, si
cmc
xor eax, eax
jmp 0x24b2f1f
jb 0x25149d8
movzx edx, cl
dec al
mov eax, 0x38e38e39
cmp edi, edx
mul edx
btc ax, bx
shr edx, 1
movzx eax, dl
mov edx, eax
stc
lea ecx, [ecx]
stc
add cl, 0xf7
cmp dx, si
test esi, 0x7f8a3898
sub eax, 1
jmp 0x25149cc
jne 0x2ac9050
mov dword [edi + 8], edx
mov dword [edi + 4], 0
test bp, si
cmp cl, 9
jmp 0x251b1ed
cmp cl, 0x2d
jmp 0x2ac8ff1
mov dword [edi + 8], 0
test cl, 0xbd
test si, bp
jmp 0x26c1b4b
jb 0x25487b4
push esi
sbb dl, 0xe
rol al, 0x85
movzx esi, cl
mov eax, 0x6c16c16d
test dl, 0xa6
setb dh
mul esi
setle ah
mov eax, esi
stc
cmc
sub eax, edx
mov esi, ebp
bswap si
shr eax, 1
add eax, edx
btc si, 0xb3
shr eax, 5
add esi, 0x76895714
sbb dx, cx
movzx eax, al
xor edx, ebx
sbb edx, 0x6d836b8f
test bp, sp
mov edx, eax
shrd si, ax, 0x2a
pop esi
cmp di, di
test cx, 0xdebc
stc
add cl, 0xd3
sub eax, 1
jmp 0x25487ab
Function at 0x405830
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x676b92
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x71906c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 7
mov word [edi + 4], ax
mov dword [ebp - 4], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], al
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], al
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 0xf
mov byte [edi + 0x4c], al
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], 0xf
mov byte [edi + 0x64], al
mov dword [edi + 0x8c], eax
mov dword [edi + 0x90], 0xf
mov byte [edi + 0x7c], al
lea esi, [edi + 0x94]
mov byte [ebp - 4], 5
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.0042e7e1
add esp, 4
cmp dword [ebp + 8], 0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
setne al
mov byte [edi], al
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 4
Function at 0x40c220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40c279
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40c279
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40c26a
cmp esi, edx
jae 0x40c279
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40c258
cmp esi, edx
jae 0x40c279
cmp word [esi], 0
je 0x40c279
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x40d4b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6772c2
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x71906c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push 0
call fcn.00428f90
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x40d548
push eax
push esi
call fcn.004293bc
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
lea ecx, [ebp - 0x1c]
call fcn.0040d470
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0040d410
int3
Function at 0x4113f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x676d20
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x71906c]
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_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0042e7e1
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004292b5
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
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
Function at 0x418420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677e78
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x71906c]
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 dword [ebp - 0x3c], ecx
push 0x10
push str.B873F776C2D3EB99
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00407210
mov dword [ebp - 4], 0
call fcn.0041a860
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
mov edx, 0x811c9dc5
cmovae esi, ebx
mov dword [ebp - 0x2c], eax
mov edi, dword [eax + 4]
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jbe 0x4184b5
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x18]
jb 0x4184a0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x2c]
and eax, edx
mov ecx, dword [ecx + 0xc]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0x30], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x34], eax
cmp edx, edi
jne 0x4184da
mov eax, edi
jmp 0x4184de
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x418513
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 8]
push eax
call fcn.0041a020
test al, al
je 0x4184fd
mov esi, dword [esi]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
jmp 0x4184d2
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041a020
test al, al
mov ecx, edi
cmove ecx, esi
jmp 0x418515
mov ecx, edi
cmp ecx, edi
je 0x418557
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0041afc0
mov eax, dword [ebp - 0x38]
mov esi, dword [eax + 0x20]
mov edi, dword [eax + 0x24]
cmp esi, edi
je 0x418554
mov ebx, dword [ebp - 0x3c]
nop dword [eax]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x4185a7
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
add esi, 0x28
cmp esi, edi
jne 0x418540
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x418586
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x41857c
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4185a2
push ecx
push ebx
call fcn.0042e7b0
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.0042e165
mov esp, ebp
pop ebp
ret
call fcn.0050d55e
call fcn.00428d77
int3
Function at 0x418f00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x418f2b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00419700
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x418f4d
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x418f4f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x418fd3
jg 0x418f64
test esi, esi
je 0x418fd3
test ecx, ecx
jl 0x418fad
jg 0x418f6e
test eax, eax
je 0x418fad
cmp edi, ecx
jg 0x418f82
jl 0x418f78
cmp esi, eax
jae 0x418f82
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.00507c70
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x418fb0
mov edx, dword [ebp + 8]
test edi, edi
jl 0x418fd3
jg 0x418fba
test esi, esi
je 0x418fd3
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x418fd3
push eax
push esi
push 1
push edx
call fcn.00511957
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x418ff0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x41901b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004197e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x41903d
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x41903f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x4190de
jg 0x41905c
test esi, esi
je 0x4190de
test ecx, ecx
jl 0x4190a9
jg 0x419066
test eax, eax
je 0x4190a9
cmp ebx, ecx
jg 0x41907a
jl 0x419070
cmp esi, eax
jae 0x41907a
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.00507c70
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x4190b0
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x4190de
jg 0x4190ba
test esi, esi
je 0x4190de
cmp dword [edi + 0x4c], 0
je 0x4190de
mov ecx, edi
call fcn.00419cb0
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.00511f2c
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x419410
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x71906c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x419440
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e165
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x41947c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x41947c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e165
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x419563
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x4194a4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4194d7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.005111f5
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e165
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x419563
cmp eax, 1
jle 0x419536
cmp eax, 3
jne 0x419563
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.005111f5
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e165
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x419553
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00511957
add esp, 0x10
cmp edi, eax
jne 0x419563
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x419467
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e165
mov esp, ebp
pop ebp
ret 4
Function at 0x419ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x71906c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x419d81
cmp byte [esi + 0x3d], 0
je 0x419d81
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x419d37
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x419d49
sub eax, 1
je 0x419d4d
sub eax, 2
je 0x419d81
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e165
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x419d6a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00511957
add esp, 0x10
cmp edi, eax
jne 0x419d37
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e165
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0042e165
mov esp, ebp
pop ebp
ret

Function at 0x41a110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x676d20
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x71906c]
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
call fcn.0042e7e1
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004292b5
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
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
Function at 0x41bdc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677e78
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x71906c]
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 dword [ebp - 0x3c], ecx
push 0x10
push str.J65DFS4DF6S5F4G2
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00407210
mov dword [ebp - 4], 0
call fcn.0041e110
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
mov edx, 0x811c9dc5
cmovae esi, ebx
mov dword [ebp - 0x2c], eax
mov edi, dword [eax + 4]
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jbe 0x41be55
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x18]
jb 0x41be40
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x2c]
and eax, edx
mov ecx, dword [ecx + 0xc]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0x30], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x34], eax
cmp edx, edi
jne 0x41be7a
mov eax, edi
jmp 0x41be7e
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x41beb3
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 8]
push eax
call fcn.0041a020
test al, al
je 0x41be9d
mov esi, dword [esi]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
jmp 0x41be72
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041a020
test al, al
mov ecx, edi
cmove ecx, esi
jmp 0x41beb5
mov ecx, edi
cmp ecx, edi
je 0x41bef7
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0041afc0
mov eax, dword [ebp - 0x38]
mov esi, dword [eax + 0x20]
mov edi, dword [eax + 0x24]
cmp esi, edi
je 0x41bef4
mov ebx, dword [ebp - 0x3c]
nop dword [eax]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x41bf47
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
add esi, 0x28
cmp esi, edi
jne 0x41bee0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41bf26
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x41bf1c
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf42
push ecx
push ebx
call fcn.0042e7b0
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.0042e165
mov esp, ebp
pop ebp
ret
call fcn.0050d55e
call fcn.00428d77
int3
Function at 0x41bf50
Capabilities:
Create thread
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x678268
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x71906c]
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 dword [ebp - 0x54], ecx
call fcn.004185b0
add eax, 0x30
lea ecx, [ebp - 0x50]
push eax
call fcn.00406d70
mov dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0
jbe 0x41bfd4
sub esp, 0x18
lea eax, [ebp - 0x50]
mov dword [ebp - 0x58], esp
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00406d70
push esi
call fcn.004cdc49
add esp, 0x20
mov byte [ebp - 4], 1
call fcn.00418790
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.004cfee9
push 0x34
call fcn.0042e7e1
mov ebx, eax
add esp, 4
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0xf
mov byte [ebx + 4], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xf
mov byte [ebx + 0x1c], 0
call fcn.00418790
mov ecx, eax
call fcn.004cfb2d
mov byte [ebx], al
call fcn.004185b0
add eax, 0x48
lea ecx, [ebp - 0x28]
push eax
call fcn.00406d70
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 4]
call fcn.00406c50
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41c063
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c059
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c168
push edx
push ecx
call fcn.0042e7b0
add esp, 8
call fcn.004185b0
add eax, 0x30
lea ecx, [ebp - 0x28]
push eax
call fcn.00406d70
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 0x1c]
call fcn.00406c50
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41c0b4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c0aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c16d
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov esi, dword [ebp - 0x54]
add esi, 0x14
cmp dword [esi + 4], 0
jne 0x41c0e4
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push 0
push 0x402960
mov dword [esi + 8], eax
call fcn.0050d234
add esp, 0xc
mov dword [esi + 4], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__lambda_c7b59f5ba0f36f6b31f2e8e11bd87682___void__void__.0
mov dword [ebp - 0x14], eax
push eax
push ebx
push 0x64
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00402a40
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x41c11c
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x41c14c
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c142
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c172
push edx
push ecx
call fcn.0042e7b0
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.0042e165
mov esp, ebp
pop ebp
ret
call fcn.0050d55e
call fcn.0050d55e
call fcn.0050d55e
int3