joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45566a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0x10], 0x64
cmp dword [ebp + 0xc], 0
jne 0x455696
cmp dword [ebp + 0x10], 0
je 0x455696
mov eax, dword [ebp + 0x10]
mov dword [eax], 8
mov eax, 1
jmp 0x45582e
push 0x1de
push 0x465b66
push dword [ebp - 0x10]
push 0x465b4a
push 0x46a454
call fcn.00451a80
add esp, 0x14
push 0x46a454
call sub.kernel32.dll_OutputDebugStringA
push dword [ebp - 0x10]
call fcn.004519ff
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4556e2
mov dword [0x46a450], 0xc000f101
xor eax, eax
jmp 0x45582e
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 8], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 2
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x38], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 2
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], 0x2710
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 1
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
mov byte [ecx], 2
mov eax, dword [ebp - 0xc]
mov byte [eax + 1], 0
mov edx, dword [ebp + 0x14]
dec edx
je 0x45575c
dec edx
je 0x455765
sub edx, 2
je 0x45576e
jmp 0x455777
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 2], 0
jmp 0x455787
mov eax, dword [ebp - 0xc]
mov byte [eax + 2], 1
jmp 0x455787
mov edx, dword [ebp - 0xc]
mov byte [edx + 2], 2
jmp 0x455787
push dword [ebp - 4]
call fcn.00451a1b
pop ecx
xor eax, eax
jmp 0x45582e
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x60], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x40], 2
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], 2
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x48], 0x2710
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp - 4]
add ecx, 0x50
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov byte [eax], 2
push dword [ebp - 4]
call fcn.00455274
pop ecx
push dword [ebp - 4]
call fcn.00455267
pop ecx
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00455302
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x455822
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0xa
jae 0x45580e
mov ecx, dword [ebp + 0x10]
push dword [ecx]
mov eax, dword [ebp - 4]
add eax, 0x52
push eax
push dword [ebp + 0xc]
call fcn.0045197a
add esp, 0xc
jmp 0x455822
push 0xa
mov edx, dword [ebp - 4]
add edx, 0x52
push edx
push dword [ebp + 0xc]
call fcn.0045197a
add esp, 0xc
push dword [ebp - 4]
call fcn.00451a1b
pop ecx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x455c23
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push dword [0x4637d4]
push 0x465c22
push 0x46a454
call fcn.00451a80
add esp, 0xc
push 0x46a454
call sub.kernel32.dll_OutputDebugStringA
push dword [0x4637d4]
call sub.kernel32.dll_Sleep_1
pop ebp
ret
Function at 0x455c55
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
cmp dword [ebp + 0x14], 8
jg 0x455dd0
mov dword [ebp - 0x18], 0x3c
push 0x30f
push 0x465c4f
push dword [ebp - 0x18]
push 0x465c33
push 0x46a454
call fcn.00451a80
add esp, 0x14
push 0x46a454
call sub.kernel32.dll_OutputDebugStringA
push dword [ebp - 0x18]
call fcn.004519ff
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x455cb8
mov dword [0x46a450], 0xc000f101
xor eax, eax
jmp 0x455e35
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [edx], ecx
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 1
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov dword [edx + 0x38], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], 2
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x20], 0x4e20
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 1
mov edx, dword [ebp - 0x10]
add edx, 0x28
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 2
mov eax, dword [ebp + 0x14]
and eax, 0x80000001
jns 0x455d2a
dec eax
or eax, 0xfffffffe
inc eax
add eax, 5
test eax, eax
je 0x455d46
mov edx, dword [ebp + 0x14]
add edx, 6
sar edx, 1
jns 0x455d3e
adc edx, 0
add dl, 0xff
or dl, 0x28
jmp 0x455d56
mov edx, dword [ebp + 0x14]
sar edx, 1
jns 0x455d50
adc edx, 0
add dl, 4
or dl, 0x28
mov eax, dword [ebp - 0x14]
mov byte [eax + 1], dl
mov ecx, dword [ebp + 0xc]
and ecx, 0xff00
sar ecx, 8
mov eax, dword [ebp - 0x14]
mov byte [eax + 2], cl
mov dl, byte [ebp + 0xc]
and dl, 0xff
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 3], dl
mov al, byte [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov byte [edx + 4], al
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
add ecx, 5
push ecx
call fcn.0045197a
add esp, 0xc
push dword [ebp - 0x10]
call fcn.00455274
pop ecx
push dword [ebp - 0x10]
call fcn.00455267
pop ecx
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00455302
add esp, 8
mov dword [ebp - 4], eax
call fcn.00455c23
push dword [ebp - 0x10]
call fcn.00451a1b
pop ecx
mov eax, dword [ebp - 4]
jmp 0x455e35
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
cmp dword [ebp + 0x14], 0
jle 0x455e30
cmp dword [ebp + 0x14], 8
jg 0x455dea
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
jmp 0x455df1
mov dword [ebp - 8], 8
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00455c55
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x455e12
xor eax, eax
jmp 0x455e35
mov edx, dword [ebp - 8]
add dword [ebp - 0xc], edx
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 8]
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], 0
jg 0x455ddc
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x455e5f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0x10], 0x64
push 0x377
push 0x465cbb
push dword [ebp - 0x10]
push 0x465c9f
push 0x46a454
call fcn.00451a80
add esp, 0x14
push 0x46a454
call sub.kernel32.dll_OutputDebugStringA
push dword [ebp - 0x10]
call fcn.004519ff
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x455eb8
mov dword [0x46a450], 0xc000f101
xor eax, eax
jmp 0x455fd4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 8], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 2
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x38], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 2
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], 0x2710
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 1
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
mov byte [ecx], 2
mov eax, dword [ebp - 8]
mov byte [eax + 1], 0x1b
mov dl, byte [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov byte [ecx + 2], dl
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 3], eax
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ecx + 0x60], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4c], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 0x2710
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp - 4]
add eax, 0x50
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov byte [edx], 1
push dword [ebp - 4]
call fcn.00455274
pop ecx
push dword [ebp - 4]
call fcn.00455267
pop ecx
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00455302
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x455fa7
push dword [ebp - 4]
call fcn.00451a1b
pop ecx
xor eax, eax
jmp 0x455fd4
mov edx, dword [ebp - 4]
add edx, 0x50
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
cmp byte [ecx + 1], 0
je 0x455fc6
push dword [ebp - 4]
call fcn.00451a1b
pop ecx
xor eax, eax
jmp 0x455fd4
push dword [ebp - 4]
call fcn.00451a1b
pop ecx
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x456307
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0x10], 0x64
cmp dword [ebp + 0xc], 0
jne 0x456327
cmp dword [ebp + 0x10], 8
je 0x456327
xor eax, eax
jmp 0x4564b9
cmp dword [ebp + 0xc], 1
jne 0x45633a
cmp dword [ebp + 0x10], 8
je 0x45633a
xor eax, eax
jmp 0x4564b9
cmp dword [ebp + 0xc], 2
jne 0x45634d
cmp dword [ebp + 0x10], 8
je 0x45634d
xor eax, eax
jmp 0x4564b9
push 0x48e
push 0x465d27
push dword [ebp - 0x10]
push 0x465d0b
push 0x46a454
call fcn.00451a80
add esp, 0x14
push 0x46a454
call sub.kernel32.dll_OutputDebugStringA
push dword [ebp - 0x10]
call fcn.004519ff
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x456399
mov dword [0x46a450], 0xc000f101
xor eax, eax
jmp 0x4564b9
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 8], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 2
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x38], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 2
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], 2
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], 0x61a8
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 1
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
mov byte [ecx], 2
mov eax, dword [ebp - 8]
mov byte [eax + 1], 0x14
mov dl, byte [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov byte [ecx + 2], dl
push dword [ebp + 0x10]
push dword [ebp + 0x14]
mov eax, dword [ebp - 8]
add eax, 3
push eax
call fcn.0045197a
add esp, 0xc
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x60], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x40], 2
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], 2
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x48], 0x2710
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x44], 0xf
mov eax, dword [ebp - 4]
add eax, 0x50
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov byte [edx], 2
push dword [ebp - 4]
call fcn.00455274
pop ecx
push dword [ebp - 4]
call fcn.00455267
pop ecx
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00455302
add esp, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, 0x50
mov dword [ebp - 8], ecx
cmp dword [ebp - 0xc], 0
je 0x4564ad
push dword [ebp + 0x10]
mov eax, dword [ebp - 8]
inc eax
push eax
push dword [ebp + 0x18]
call fcn.0045197a
add esp, 0xc
push dword [ebp - 4]
call fcn.00451a1b
pop ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4564da
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
mov eax, dword [0x464181]
mov dword [ebp - 0x10], eax
mov eax, dword [0x464185]
mov dword [ebp - 0xc], eax
mov edx, dword [0x464189]
mov dword [ebp - 0x18], edx
mov edx, dword [0x46418d]
mov dword [ebp - 0x14], edx
cmp dword [ebp + 0xc], 0
jne 0x45651b
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, 1
jmp 0x4565bd
lea edx, [ebp - 0x80]
push edx
call fcn.00451b14
pop ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x80]
push ecx
call fcn.00451b4e
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.00451c24
add esp, 8
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dl, byte [ebp + eax - 0x28]
mov ecx, dword [ebp - 4]
xor dl, byte [ebp + ecx - 0x20]
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x10], dl
inc dword [ebp - 4]
cmp dword [ebp - 4], 8
jl 0x45654c
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
push ecx
push 8
push dword [ebp + 8]
call fcn.004564bd
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x456589
xor eax, eax
jmp 0x4565bd
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x18]
push ecx
push 8
push 2
push dword [ebp + 8]
call fcn.00456307
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4565ba
push 4
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x14]
call fcn.0045197a
add esp, 0xc
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4565c3
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0x10], 0x3c
cmp dword [ebp + 0xc], 6
jb 0x4565e7
mov dword [0x46a450], 0xc000f108
xor eax, eax
jmp 0x45673a
push dword [ebp + 0xc]
call fcn.004543b1
pop ecx
cmp eax, dword [ebp + 0x14]
je 0x456606
mov dword [0x46a450], 0xc000f108
xor eax, eax
jmp 0x45673a
push 0x50d
push 0x465d93
push dword [ebp - 0x10]
push 0x465d77
push 0x46a454
call fcn.00451a80
add esp, 0x14
push 0x46a454
call sub.kernel32.dll_OutputDebugStringA
push dword [ebp - 0x10]
call fcn.004519ff
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x456652
mov dword [0x46a450], 0xc000f101
xor eax, eax
jmp 0x45673a
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 8], edx
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], 0xffffffff
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 1
mov edx, dword [ebp - 8]
xor ecx, ecx
mov dword [edx + 0x38], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], 2
mov edx, dword [ebp - 8]
mov dword [edx + 0x24], 2
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x20], 0x2710
mov eax, dword [ebp - 8]
mov dword [eax + 0x14], 1
mov edx, dword [ebp - 8]
add edx, 0x28
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
mov byte [ecx], 2
push dword [ebp + 0xc]
call fcn.004543b1
pop ecx
inc eax
test eax, eax
je 0x4566dc
push dword [ebp + 0xc]
call fcn.004543b1
pop ecx
add eax, 4
sar eax, 1
jns 0x4566d6
adc eax, 0
add al, 0xff
or al, 8
jmp 0x4566e7
push dword [ebp + 0xc]
call fcn.004543b1
pop ecx
or al, 8
mov edx, dword [ebp - 0xc]
mov byte [edx + 1], al
mov al, byte [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 2], al
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
add eax, 3
push eax
call fcn.0045197a
add esp, 0xc
push dword [ebp - 8]
call fcn.00455274
pop ecx
push dword [ebp - 8]
call fcn.00455267
pop ecx
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00455302
add esp, 8
mov dword [ebp - 4], eax
push dword [ebp - 8]
call fcn.00451a1b
pop ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x456802
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor eax, eax
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.00452aae
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jle 0x45682e
imul edx, dword [ebp - 0xc], 0x1c
add edx, 0x468864
mov dword [ebp - 8], edx
jmp 0x456834
lea ecx, [ebp - 4]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x4568ef
push 8
lea edx, [ebp - 0x20]
push edx
push dword [ebp + 8]
call fcn.00455856
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x45685e
xor eax, eax
jmp 0x4568f4
mov byte [ebp - 0x18], 0
push 0x465de3
call sub.kernel32.dll_OutputDebugStringA
lea edx, [ebp - 0x20]
push edx
call sub.kernel32.dll_OutputDebugStringA
push 8
lea ecx, [ebp - 0x20]
push ecx
push 0
push dword [ebp + 8]
call fcn.004561f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x456892
xor eax, eax
jmp 0x4568f4
mov dword [ebp - 0x34], 1
xor edx, edx
mov dword [ebp - 0x30], edx
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
call fcn.00452a61
mov dword [ebp - 0x38], eax
push 0x18
lea eax, [ebp - 0x38]
push eax
call fcn.004551f2
add esp, 8
push 0
lea edx, [ebp - 0x14]
push edx
push 0x18
lea ecx, [ebp - 0x38]
push ecx
push 0x18
lea eax, [ebp - 0x38]
push eax
push 0x222058
push dword [ebp + 8]
call sub.kernel32.dll_DeviceIoControl
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4568ea
mov edx, dword [ebp - 8]
mov dword [edx], 1
mov eax, dword [ebp - 0x10]
jmp 0x4568f4
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x456971
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push dword [0x4637d0]
push 0x465dff
push 0x46a454
call fcn.00451a80
add esp, 0xc
push 0x46a454
call sub.kernel32.dll_OutputDebugStringA
push dword [0x4637d0]
call sub.kernel32.dll_Sleep_1
pop ebp
ret

Function at 0x456d5e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call fcn.00452b59
test eax, eax
je 0x456dea
mov edx, dword [ebp - 0x10]
cmp byte [edx], 1
je 0x456dea
push dword [ebp + 8]
call fcn.00452aae
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x456dea
mov ecx, dword [ebp - 0xc]
mov eax, ecx
shl ecx, 3
sub ecx, eax
mov dl, byte [ecx*4 + 0x468860]
mov byte [ebp - 0x11], dl
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
xor byte [ebp - 0x11], al
mov dword [ebp - 8], 1
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x10]
jae 0x456dea
mov cl, byte [ebp - 0x11]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
xor byte [edx + eax], cl
mov cl, byte [ebp - 8]
and cl, 0xff
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
xor byte [edx + eax], cl
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov dl, byte [eax + ecx]
mov byte [ebp - 0x11], dl
inc dword [ebp - 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jb 0x456db8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00451663
and eax, 0xff
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x456e10
mov dword [0x46a450], 0xc000f100
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x457346
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push dword [0x4637d4]
push 0x465e10
push 0x46a454
call fcn.00451a80
add esp, 0xc
push 0x46a454
call sub.kernel32.dll_OutputDebugStringA
push dword [0x4637d4]
call sub.kernel32.dll_Sleep_1
pop ebp
ret

Function at 0x457681
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push esi
push edi
mov esi, 0x4641df
lea edi, [ebp - 0x1c]
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
cmp dword [ebp + 0xc], 0
jne 0x4576ae
cmp dword [ebp + 0x10], 8
je 0x4576ae
xor eax, eax
jmp 0x4577cf
cmp dword [ebp + 0xc], 1
jne 0x4576c1
cmp dword [ebp + 0x10], 8
je 0x4576c1
xor eax, eax
jmp 0x4577cf
cmp dword [ebp + 0xc], 2
jne 0x4576d4
cmp dword [ebp + 0x10], 8
je 0x4576d4
xor eax, eax
jmp 0x4577cf
mov byte [ebp - 0x1c], 2
mov byte [ebp - 0x1b], 0x14
mov dl, byte [ebp + 0xc]
mov byte [ebp - 0x1a], dl
push dword [ebp + 0x10]
push dword [ebp + 0x14]
lea ecx, [ebp - 0x19]
push ecx
call fcn.0045197a
add esp, 0xc
push 0xf
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.00456d5e
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x457734
push 0xa
call sub.kernel32.dll_Sleep_1
push 0xf
lea edx, [ebp - 0x1c]
push edx
push dword [ebp + 8]
call fcn.00456d5e
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x457734
xor ecx, ecx
mov dword [ebp - 0xc], ecx
xor eax, eax
mov dword [ebp - 4], eax
call fcn.00452a61
mov dword [ebp - 8], eax
push 4
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 0x1b]
push ecx
call fcn.0045197a
add esp, 0xc
cmp dword [ebp - 4], 2
jge 0x4577b4
push 0xa
call sub.kernel32.dll_Sleep_1
push 0xf
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.00456e17
add esp, 0xc
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp - 4]
push 0x465e21
push 0x46a454
call fcn.00451a80
add esp, 0x10
push 0x46a454
call sub.kernel32.dll_OutputDebugStringA
cmp dword [ebp - 0xc], 0
je 0x4577ab
lea edx, [ebp - 0x1b]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 8]
jne 0x4577b4
xor eax, eax
mov dword [ebp - 0xc], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x457759
cmp dword [ebp - 0xc], 0
je 0x4577cc
push dword [ebp + 0x10]
lea edx, [ebp - 0x1b]
push edx
push dword [ebp + 0x18]
call fcn.0045197a
add esp, 0xc
mov eax, dword [ebp - 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4577f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
mov eax, dword [0x4641ee]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4641f2]
mov dword [ebp - 0xc], eax
mov edx, dword [0x4641f6]
mov dword [ebp - 0x18], edx
mov edx, dword [0x4641fa]
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x80]
push ecx
call fcn.00451b14
pop ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x80]
push eax
call fcn.00451b4e
add esp, 0xc
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x28]
push ecx
call fcn.00451c24
add esp, 8
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov cl, byte [ebp + edx - 0x28]
mov eax, dword [ebp - 4]
xor cl, byte [ebp + eax - 0x20]
mov edx, dword [ebp - 4]
mov byte [ebp + edx - 0x10], cl
inc dword [ebp - 4]
cmp dword [ebp - 4], 8
jl 0x45784d
lea ecx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x10]
push eax
push 8
push 2
push dword [ebp + 8]
call fcn.00457681
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x45789c
push 4
lea edx, [ebp - 0x18]
push edx
push dword [ebp + 0x14]
call fcn.0045197a
add esp, 0xc
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x457a35
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov dword [ebp - 0xc], edx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0xffffffff
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00451686
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x457a77
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x10]
add edx, 0xa
mov dword [ebp - 0xc], edx
push dword [ebp - 0xc]
call fcn.004519ff
pop ecx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ecx], 5
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00451686
test eax, eax
jne 0x457ac9
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 4], eax
push dword [ebp - 8]
call fcn.00451a1b
pop ecx
or eax, 0xffffffff
jmp 0x457b49
mov edx, dword [ebp - 8]
add edx, 4
push edx
push dword [ebp + 0x10]
call fcn.004519de
add esp, 8
push dword [ebp + 0x10]
push 0x465e42
push 0x46ac54
call fcn.00451a80
add esp, 0xc
push 0x46ac54
call sub.kernel32.dll_OutputDebugStringA
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x457b3d
push dword [ebp + 0x10]
push 0x465e59
push 0x46ac54
call fcn.00451a80
add esp, 0xc
push 0x46ac54
call sub.kernel32.dll_OutputDebugStringA
push dword [ebp - 8]
call fcn.00451a1b
pop ecx
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret