joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4020d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x407040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x402100
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402fa5
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40213c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x40213c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402fa5
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x402213
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x402164
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 0x402170
movsx eax, bl
jmp 0x4021a8
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
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 [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x4021d2
sub eax, 1
je 0x4021d2
sub eax, 2
jne 0x402213
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402fa5
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4021f0
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x402213
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402fa5
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402fa5
mov esp, ebp
pop ebp
ret 4
Function at 0x4023f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x407040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x4024ac
cmp byte [esi + 0x3d], 0
je 0x4024ac
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40249a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x402461
sub eax, 1
je 0x402465
sub eax, 2
jne 0x40249a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402fa5
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x402483
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40249a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402fa5
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402fa5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00402fa5
mov esp, ebp
pop ebp
ret

Function at 0x403849
Capabilities:
Parse pe header

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

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x5dc797
mov eax, ebx
call fcn.005dd221
cmp dword [ebx + 0x3c], 0
je 0x5dc790
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x5dc808
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x5dc7fa
cmp dword [ebx + 8], 0
je 0x5dc7b9
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x5dc7cb
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5dc7fa
cmp dword [ebx + 8], 0
je 0x5dc7ac
cmp eax, 3
je 0x5dc7de
dec eax
jne 0x5dc7ac
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5dc7ac
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x5dc7ac
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x5dc826
cmp dword [ebx + 0x10], 0xcc
je 0x5dc826
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005dc831
pop ebx
ret

Function at 0x5f5f69
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
dec ecx
test ecx, ecx
jb 0x5f5f93
inc ecx
movzx esi, byte [edx]
mov ebx, dword [eax]
mov edi, ebx
and edi, 0xff
xor esi, edi
mov esi, dword [esi*4 + 0x54d9fc]
shr ebx, 8
xor esi, ebx
mov dword [eax], esi
inc edx
dec ecx
jne 0x5f5f72
pop edi
pop esi
pop ebx
ret
Function at 0x5f958f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add eax, 0x3c
mov dword [ebp - 4], eax
mov esi, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x38]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
cmp esi, dword [edx]
jbe 0x5f95f4
push dword [ebp + 0x10]
push edi
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
add ecx, 0x28
push ecx
call fcn.005fa579
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
add dword [eax + 0x38], edx
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x5f9718
cmp ebx, edi
jne 0x5f9602
mov eax, 0x1001
jmp 0x5f9718
mov edx, esi
sub edx, dword [ebp - 8]
push edx
push edi
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
add ecx, 0x28
push ecx
call fcn.005fa579
add esp, 0xc
mov eax, esi
sub eax, dword [ebp - 8]
add edi, eax
mov edx, esi
sub edx, dword [ebp - 8]
sub dword [ebp + 0x10], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0x28]
mov dword [ebx], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x1c]
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0x2c]
mov dword [ebx + 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0x30]
mov dword [ebx + 8], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x24]
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0x34]
mov dword [ebx + 0xc], eax
push ebx
push dword [ebp - 4]
call fcn.005f6d7b
add esp, 8
add ebx, esi
cmp esi, dword [ebp + 0x10]
ja 0x5f96c1
mov ecx, ebx
sub ecx, esi
mov eax, dword [ecx]
xor eax, dword [edi]
mov dword [ebx], eax
mov edx, ebx
sub edx, esi
mov ecx, dword [edx + 4]
xor ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
mov eax, ebx
sub eax, esi
mov edx, dword [eax + 8]
xor edx, dword [edi + 8]
mov dword [ebx + 8], edx
mov ecx, ebx
sub ecx, esi
mov eax, dword [ecx + 0xc]
xor eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
push ebx
push dword [ebp - 4]
call fcn.005f6d7b
add esp, 8
add edi, esi
add ebx, esi
sub dword [ebp + 0x10], esi
cmp esi, dword [ebp + 0x10]
jbe 0x5f9678
mov edx, ebx
sub edx, esi
mov ecx, dword [edx]
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], ecx
mov edx, ebx
sub edx, esi
mov ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
mov edx, ebx
sub edx, esi
mov ecx, dword [edx + 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], ecx
sub ebx, esi
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x24], edx
push dword [ebp + 0x10]
push edi
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
call fcn.005fa579
add esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [edx + 0x38], ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x5f971f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 8]
jae 0x5f9782
push dword [ebp + 0x10]
push edi
mov eax, dword [ebp - 0xc]
add eax, ebx
add eax, 0x28
push eax
call fcn.005fa579
add esp, 0xc
mov edx, dword [ebp + 0x10]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x5f9865
cmp esi, edi
jne 0x5f9790
mov eax, 0x1001
jmp 0x5f9865
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
push edx
push edi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.005fa579
add esp, 0xc
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
add edi, eax
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
sub dword [ebp + 0x10], edx
lea ecx, [ebx + 0x18]
push ecx
push dword [ebp - 4]
call fcn.005f6d7b
add esp, 8
mov eax, dword [ebx + 0x18]
xor eax, dword [ebx + 0x28]
mov dword [esi], eax
mov edx, dword [ebx + 0x1c]
xor edx, dword [ebx + 0x2c]
mov dword [esi + 4], edx
mov ecx, dword [ebx + 0x20]
xor ecx, dword [ebx + 0x30]
mov dword [esi + 8], ecx
mov eax, dword [ebx + 0x24]
xor eax, dword [ebx + 0x34]
mov dword [esi + 0xc], eax
add esi, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
jb 0x5f983c
lea ecx, [ebx + 0x18]
push ecx
push dword [ebp - 4]
call fcn.005f6d7b
add esp, 8
mov eax, dword [edi]
xor eax, dword [ebx + 0x18]
mov dword [esi], eax
mov edx, dword [edi + 4]
xor edx, dword [ebx + 0x1c]
mov dword [esi + 4], edx
mov ecx, dword [edi + 8]
xor ecx, dword [ebx + 0x20]
mov dword [esi + 8], ecx
mov eax, dword [edi + 0xc]
xor eax, dword [ebx + 0x24]
mov dword [esi + 0xc], eax
add edi, dword [ebp - 8]
add esi, dword [ebp - 8]
mov edx, dword [ebp - 8]
sub dword [ebp + 0x10], edx
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jae 0x5f97f7
push dword [ebp + 0x10]
push edi
lea eax, [ebx + 0x28]
push eax
call fcn.005fa579
add esp, 0xc
mov edx, dword [ebx + 0x38]
and edx, 0xf0000000
add edx, dword [ebp + 0x10]
mov dword [ebx + 0x38], edx
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
sub dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f986c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 8]
jae 0x5f98cf
push dword [ebp + 0x10]
push edi
mov eax, dword [ebp - 0xc]
add eax, ebx
add eax, 0x28
push eax
call fcn.005fa579
add esp, 0xc
mov edx, dword [ebp + 0x10]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x5f99c9
cmp esi, edi
jne 0x5f98dd
mov eax, 0x1001
jmp 0x5f99c9
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
push edx
push edi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.005fa579
add esp, 0xc
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
add edi, eax
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
sub dword [ebp + 0x10], edx
lea ecx, [ebx + 0x18]
push ecx
push dword [ebp - 4]
call fcn.005f6d7b
add esp, 8
mov eax, dword [ebx + 0x28]
xor dword [ebx + 0x18], eax
mov edx, dword [ebx + 0x2c]
xor dword [ebx + 0x1c], edx
mov ecx, dword [ebx + 0x30]
xor dword [ebx + 0x20], ecx
mov eax, dword [ebx + 0x34]
xor dword [ebx + 0x24], eax
mov edx, dword [ebx + 0x18]
mov dword [esi], edx
mov ecx, dword [ebx + 0x1c]
mov dword [esi + 4], ecx
mov eax, dword [ebx + 0x20]
mov dword [esi + 8], eax
mov edx, dword [ebx + 0x24]
mov dword [esi + 0xc], edx
add esi, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jb 0x5f99a1
lea eax, [ebx + 0x18]
push eax
push dword [ebp - 4]
call fcn.005f6d7b
add esp, 8
mov edx, dword [edi]
xor dword [ebx + 0x18], edx
mov ecx, dword [edi + 4]
xor dword [ebx + 0x1c], ecx
mov eax, dword [edi + 8]
xor dword [ebx + 0x20], eax
mov edx, dword [edi + 0xc]
xor dword [ebx + 0x24], edx
mov ecx, dword [ebx + 0x18]
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [esi + 4], eax
mov edx, dword [ebx + 0x20]
mov dword [esi + 8], edx
mov ecx, dword [ebx + 0x24]
mov dword [esi + 0xc], ecx
add edi, dword [ebp - 8]
add esi, dword [ebp - 8]
mov eax, dword [ebp - 8]
sub dword [ebp + 0x10], eax
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
jae 0x5f9950
push dword [ebp + 0x10]
push edi
lea ecx, [ebx + 0x28]
push ecx
call fcn.005fa579
add esp, 0xc
mov eax, dword [ebx + 0x38]
and eax, 0xf0000000
add eax, dword [ebp + 0x10]
mov dword [ebx + 0x38], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
sub dword [edx], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f9b4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], 0x10
mov esi, dword [ebx + 0x38]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [edx], ecx
lea edx, [ebx + 0x18]
push edx
push eax
call fcn.005f6d7b
add esp, 8
xor eax, eax
cmp esi, eax
jbe 0x5f9b8f
mov cl, byte [ebx + eax + 0x28]
xor cl, byte [ebx + eax + 0x18]
mov byte [edi + eax], cl
inc eax
cmp esi, eax
ja 0x5f9b7f
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5f9fcd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
ja 0x5fa031
push dword [ebp + 0x10]
push edi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.005fa579
add esp, 0xc
mov eax, dword [ebp + 0x10]
add dword [ebx + 0x38], eax
mov edx, dword [ebp + 0x18]
xor ecx, ecx
mov dword [edx], ecx
xor eax, eax
jmp 0x5fa11e
cmp edi, esi
jne 0x5fa03f
mov eax, 0x1001
jmp 0x5fa11e
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
push eax
push edi
mov edx, dword [ebp - 0xc]
add edx, ebx
add edx, 0x28
push edx
call fcn.005fa579
add esp, 0xc
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
add edi, ecx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
sub dword [ebp + 0x10], eax
lea edx, [ebx + 0x18]
push edx
push dword [ebp - 4]
call fcn.005f6d7b
add esp, 8
mov ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0x28]
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [esi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [ebx + 0x30]
mov dword [esi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x34]
mov dword [esi + 0xc], ecx
add esi, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
jbe 0x5fa0f6
lea edx, [ebx + 0x18]
push edx
push dword [ebp - 4]
call fcn.005f6d7b
add esp, 8
mov ecx, dword [edi]
xor ecx, dword [ebx + 0x18]
mov dword [esi], ecx
mov eax, dword [edi + 4]
xor eax, dword [ebx + 0x1c]
mov dword [esi + 4], eax
mov edx, dword [edi + 8]
xor edx, dword [ebx + 0x20]
mov dword [esi + 8], edx
mov ecx, dword [edi + 0xc]
xor ecx, dword [ebx + 0x24]
mov dword [esi + 0xc], ecx
add edi, dword [ebp - 8]
add esi, dword [ebp - 8]
mov eax, dword [ebp - 8]
sub dword [ebp + 0x10], eax
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
ja 0x5fa0b1
push dword [ebp + 0x10]
push edi
lea ecx, [ebx + 0x28]
push ecx
call fcn.005fa579
add esp, 0xc
mov eax, dword [ebx + 0x38]
and eax, 0xf0000000
add eax, dword [ebp + 0x10]
mov dword [ebx + 0x38], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
sub dword [edx], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5fa125
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
ja 0x5fa189
push dword [ebp + 0x10]
push esi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.005fa579
add esp, 0xc
mov eax, dword [ebp + 0x10]
add dword [ebx + 0x38], eax
mov edx, dword [ebp + 0x18]
xor ecx, ecx
mov dword [edx], ecx
xor eax, eax
jmp 0x5fa2a6
cmp esi, edi
jne 0x5fa197
mov eax, 0x1001
jmp 0x5fa2a6
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
push eax
push esi
mov edx, dword [ebp - 0xc]
add edx, ebx
add edx, 0x28
push edx
call fcn.005fa579
add esp, 0xc
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
add esi, ecx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
sub dword [ebp + 0x10], eax
lea edx, [ebx + 0x18]
push edx
push dword [ebp - 4]
call fcn.005f6d7b
add esp, 8
mov ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0x28]
mov dword [edi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [edi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [ebx + 0x30]
mov dword [edi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x18], eax
mov edx, dword [ebx + 0x2c]
mov dword [ebx + 0x1c], edx
mov ecx, dword [ebx + 0x30]
mov dword [ebx + 0x20], ecx
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x24], eax
add edi, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
jbe 0x5fa27d
lea ecx, [ebx + 0x18]
push ecx
push dword [ebp - 4]
call fcn.005f6d7b
add esp, 8
mov eax, dword [ebx + 0x18]
xor eax, dword [esi]
mov dword [edi], eax
mov edx, dword [ebx + 0x1c]
xor edx, dword [esi + 4]
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0x20]
xor ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov eax, dword [ebx + 0x24]
xor eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov edx, dword [esi]
mov dword [ebx + 0x18], edx
mov ecx, dword [esi + 4]
mov dword [ebx + 0x1c], ecx
mov eax, dword [esi + 8]
mov dword [ebx + 0x20], eax
mov edx, dword [esi + 0xc]
mov dword [ebx + 0x24], edx
add esi, dword [ebp - 8]
add edi, dword [ebp - 8]
mov ecx, dword [ebp - 8]
sub dword [ebp + 0x10], ecx
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
ja 0x5fa221
push dword [ebp + 0x10]
push esi
lea edx, [ebx + 0x28]
push edx
call fcn.005fa579
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp + 0x10]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5fa47d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov esi, dword [ebx + 0x38]
mov edx, dword [ebp + 0x10]
mov dword [edx], esi
lea ecx, [ebx + 0x18]
push ecx
push eax
call fcn.005f6d7b
add esp, 8
xor eax, eax
cmp esi, eax
jbe 0x5fa4b7
mov dl, byte [ebx + eax + 0x28]
xor dl, byte [ebx + eax + 0x18]
mov byte [edi + eax], dl
inc eax
cmp esi, eax
ja 0x5fa4a7
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5fb96d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push ebp
push 0x53c0c2
push dword fs:[ecx]
mov dword fs:[ecx], esp
test al, al
jbe 0x5fb9d3
mov dword [ebx + 0x34], 7
mov dword [ebx + 0x39], edx
mov dword [ebx + 0x3d], edi
mov ecx, dword [ebp + 0x28]
mov dword [ebx + 0x41], ecx
mov cx, word [ebp + 0x18]
mov word [ebx + 0x45], cx
mov cx, word [ebp + 0x14]
mov word [ebx + 0x47], cx
mov dword [ebx + 0x49], esi
mov ecx, esi
mov byte [ebx + 0x4d], cl
mov cl, byte [ebp + 0x24]
mov byte [ebx + 0x4e], cl
mov byte [ebx + 0x4f], al
mov ecx, dword [ebp + 0x20]
mov dword [ebx + 0x50], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0x54], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edi
mov dx, word [ebp + 0x28]
mov word [ebx + 0x2e], dx
mov dx, word [ebp + 0x24]
mov word [ebx + 0xc], dx
mov edx, dword [ebp + 0x20]
mov dword [ebx + 0x88], edx
mov edx, dword [ebp + 0x1c]
mov dword [ebx + 0x8c], edx
mov edx, dword [ebp + 0x18]
mov dword [ebx + 0x10], edx
mov edx, dword [ebp + 0x14]
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x60], esi
mov byte [ebx + 0x38], al
mov dword [ebx + 0x24], 0x1e
mov ax, word [ebx + 0x2e]
call fcn.005c0929
mov word [ebx + 0x30], ax
mov ecx, dword [0x54e5a8]
mov ecx, dword [ecx]
xor edx, edx
mov eax, ebx
call fcn.005fbaf1
xor eax, eax
mov dword [ebx + 0x6c], eax
push 0x53c0dc
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x60]
call fcn.00548621
push dword [ebp - 8]
push 0x53c0e8
lea eax, [ebp - 4]
mov edx, 3
call fcn.005444fd
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x5c]
call fcn.005c1b35
mov dword [ebx + 0x70], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov eax, dword [ebx + 0x88]
shl eax, 5
add eax, 0x10
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x8c]
shl eax, 3
lea eax, [eax + eax*2]
add eax, 0xc
mov dword [ebx + 0x68], eax
mov byte [ebx + 0x58], 1
xor eax, eax
mov dword [ebx + 0x78], eax
mov byte [ebx + 0x7c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53c0c9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00544199
ret