joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457360
Capabilities:
Access peb ldr_data
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65e5e0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7000a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x14]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 4], 0
push 0
push 0x6f7bda
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
call fcn.0044dc80
mov dword [esi + 0x30], 0
mov eax, esi
mov dword [esi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x468d30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x468d8d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x468d50
mov eax, dword [esi]
jmp 0x468e67
cmp eax, 0x4e0
jb 0x468e67
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x468da6
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
nop
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x468df0
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x468eb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1394
call fcn.004b7f70
mov eax, dword [0x7000a8]
xor eax, esp
mov dword [esp + 0x1390], eax
push ebx
push esi
push edi
mov esi, edx
call fcn.004b6d88
mov dword [esp + 0x1394], 0xffffffff
mov ecx, 1
mov dword [esp + 0x14], eax
nop dword [eax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [esp + ecx*4 + 0x14], eax
inc ecx
cmp ecx, 0x270
jb 0x468ef0
mov dword [esp + 0x10], 0x270
lea ecx, [esp + 0x10]
cmp esi, 0xffffffff
jne 0x468f37
call fcn.00468d30
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1390]
xor ecx, esp
call fcn.004b75b2
mov esp, ebp
pop ebp
ret
inc esi
call fcn.00468d30
mul esi
mov ebx, eax
mov ecx, edx
cmp ebx, esi
jae 0x468f66
mov eax, esi
xor edx, edx
neg eax
div esi
mov edi, edx
cmp ebx, edi
jae 0x468f66
lea ecx, [esp + 0x10]
call fcn.00468d30
mul esi
mov ecx, edx
cmp eax, edi
jb 0x468f55
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x1398]
pop esi
pop ebx
xor ecx, esp
call fcn.004b75b2
mov esp, ebp
pop ebp
ret
Function at 0x46aca0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66019d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x7000a8]
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
cmp byte [0x709c54], cl
je 0x46adf5
mov byte [0x709c54], cl
mov edx, 0x1a
movzx edi, cl
lea ecx, [ebp - 0x34]
call fcn.004764f0
mov esi, eax
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x46acfe
mov esi, dword [esi]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], eax
call fcn.0044db80
mov ecx, eax
test ecx, ecx
je 0x46ae13
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00450950
test al, al
jne 0x46ad59
test esi, esi
jne 0x46ad37
xor ecx, ecx
jmp 0x46ad4f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ad40
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.00450c10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004520c0
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push 4
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x1c]
test eax, eax
sete bl
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46ada3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x46adbb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x46adf1
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46ade7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ae1d
push ecx
push edx
call fcn.004b75c0
add esp, 8
mov al, bl
jmp 0x46adf7
xor al, al
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.004b75b2
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0044d940
call fcn.004bccbf
int3
Function at 0x46bf20
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6602f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x7000a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x709a1c
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esi + 0x34], 0x709a1c
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov eax, dword [esi + 0x34]
cmp dword [eax + 4], 0x18
ja 0x46bfdd
mov dword [eax], 0
mov byte [eax + 8], 0
jmp 0x46bff4
mov dword [esi + 0x34], 0x709a1c
cmp eax, 0x709a1c
je 0x46bff4
push eax
call fcn.004b7b4f
add esp, 4
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b75b2
mov esp, ebp
pop ebp
ret
Function at 0x46cc80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6604ee
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7000a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x709a1c
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 5
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.TiXmlDeclaration.0
mov dword [ecx], 0x709a1c
mov dword [esi + 0x30], 0x709a1c
mov dword [esi + 0x34], 0x709a1c
mov edi, dword [ebp + 8]
mov edx, edi
mov byte [ebp - 4], 3
lea eax, [edx + 1]
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x46cd24
sub edx, dword [ebp + 8]
push edx
push edi
call fcn.0046b1d0
mov edi, dword [ebp + 0xc]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x46cd40
sub edx, ecx
lea ecx, [esi + 0x30]
push edx
push edi
call fcn.0046b1d0
push 0
push 0x6f7bda
lea ecx, [esi + 0x34]
call fcn.0046b1d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x471670
Capabilities:
Delete file
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660a0d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x7000a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
add ecx, 0x6c
cmp dword [ecx + 0x14], 0x10
jb 0x4716a4
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, 0xe
lea ecx, [ebp - 0x4c]
call fcn.004763f0
mov esi, eax
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0x10
jb 0x4716c9
mov esi, dword [esi]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
call fcn.0044db80
test eax, eax
je 0x47185c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0044d0a0
test al, al
jne 0x47171a
test esi, esi
jne 0x471702
xor ecx, ecx
jmp 0x471710
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x471707
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.0044d220
mov edx, 0xd
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.004763f0
mov esi, eax
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 0x10
jb 0x471739
mov esi, dword [esi]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], eax
call fcn.0044db80
test eax, eax
je 0x47185c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0044d0a0
test al, al
jne 0x47178a
test esi, esi
jne 0x471772
xor ecx, ecx
jmp 0x471780
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x471777
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.0044d220
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
mov edx, dword [ebp - 0x14]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4717b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4717d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x471800
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4717f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471866
push ecx
push edx
call fcn.004b75c0
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp ecx, 0x10
jb 0x471842
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x471838
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471866
push ecx
push edx
call fcn.004b75c0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b75b2
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0044d940
call fcn.004bccbf
int3
Function at 0x475510
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi]
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x6f7710]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + 0x6f7710]
shl eax, 8
or edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x6f7710]
or edx, eax
movzx eax, cl
shl edx, 8
movzx eax, byte [eax + 0x6f7710]
or edx, eax
mov dword [esi], edx
mov edx, dword [esi + 4]
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + 0x6f7710]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + 0x6f7710]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x6f7710]
or ecx, eax
movzx eax, dl
mov edx, dword [esi + 8]
shl ecx, 8
movzx eax, byte [eax + 0x6f7710]
or ecx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi + 4], ecx
movzx ecx, byte [eax + 0x6f7710]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + 0x6f7710]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x6f7710]
or ecx, eax
movzx eax, dl
mov edx, dword [esi + 0xc]
shl ecx, 8
movzx eax, byte [eax + 0x6f7710]
or ecx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi + 8], ecx
movzx ecx, byte [eax + 0x6f7710]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + 0x6f7710]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x6f7710]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + 0x6f7710]
or ecx, eax
mov dword [esi + 0xc], ecx
pop esi
ret

Function at 0x475740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov bl, dl
mov byte [ebp - 1], cl
xor bh, bh
mov byte [ebp - 2], bl
xor eax, eax
mov dl, cl
mov dword [ebp - 8], eax
mov cl, al
mov al, dl
shr bl, cl
xor al, bh
and bl, 1
movzx ecx, al
test bl, bl
movzx eax, bh
mov bl, byte [ebp - 2]
cmove ecx, eax
mov bh, cl
mov cl, dl
add cl, cl
mov al, cl
movzx ecx, cl
xor al, 0x1b
cmp byte [ebp - 1], 0
movzx edx, al
mov eax, dword [ebp - 8]
cmovge edx, ecx
inc eax
mov byte [ebp - 1], dl
mov dword [ebp - 8], eax
cmp eax, 8
jl 0x475758
mov al, bh
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x478250
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x7000a8]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.00478140
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4782c2
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop word [eax + eax]
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call ebx
test eax, eax
jne 0x4782c2
push 0x1f4
call edi
inc esi
cmp esi, 5
jl 0x4782a0
mov ecx, dword [esp + 0x20]
cmp ecx, 8
jb 0x4782fa
mov edx, dword [esp + 0xc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4782f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47830c
push ecx
push edx
call fcn.004b75c0
add esp, 8
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b75b2
mov esp, ebp
pop ebp
ret
call fcn.004bccbf
int3
Function at 0x478320
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660c98
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x7000a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
mov edx, ecx
movq qword [ebp - 0x1c], xmm0
lea ecx, [ebp - 0x1c]
call fcn.0047a150
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x80]
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x34], 0x67452301
mov dword [ebp - 0x30], 0xefcdab89
mov dword [ebp - 0x2c], 0x98badcfe
mov dword [ebp - 0x28], 0x10325476
call fcn.00472440
mov ecx, dword [esi]
xorps xmm0, xmm0
mov eax, dword [esi + 4]
sub eax, ecx
movlpd qword [ebp - 0xe0], xmm0
push eax
push ecx
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
call fcn.00472440
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x80]
call fcn.00472630
mov esi, eax
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xe0]
call fcn.00472630
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x47842f
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x47843a
mov eax, dword [eax]
push ecx
push esi
mov ecx, eax
call fcn.0044d5d0
mov ecx, dword [ebp - 0xe4]
add esp, 8
mov bl, al
cmp ecx, 0x10
jb 0x478482
mov edx, dword [ebp - 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x478478
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478520
push ecx
push edx
call fcn.004b75c0
add esp, 8
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
cmp ecx, 0x10
jb 0x4784d3
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4784c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478520
push ecx
push edx
call fcn.004b75c0
add esp, 8
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x478503
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4784f9
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478525
push edx
push ecx
call fcn.004b75c0
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b75b2
mov esp, ebp
pop ebp
ret
call fcn.004bccbf
call fcn.004bccbf
int3
Function at 0x4787e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660d2d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x7000a8]
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, ecx
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x2c]
call fcn.00478140
mov dword [ebp - 4], 0
xor edi, edi
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x47889d
mov ecx, dword [ebx]
lea edx, [ebp - 0x14]
mov ebx, dword [ebx + 4]
push 0
push edx
sub ebx, ecx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x34]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x47889a
cmp dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x30]
jne 0x47889d
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.00478320
test al, al
jne 0x4788d7
call fcn.00478250
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x47889d
mov ebx, dword [ebp - 0x30]
inc edi
cmp edi, 5
jl 0x478821
xor bl, bl
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x4788ed
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4788e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47890b
jmp 0x4788e3
lea ecx, [ebp - 0x2c]
call fcn.00478530
mov bl, al
jmp 0x4788a9
push ecx
push edx
call fcn.004b75c0
add esp, 8
mov al, bl
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.004b75b2
mov esp, ebp
pop ebp
ret
call fcn.004bccbf
int3
Function at 0x478920
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660d60
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7000a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push 8
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004b75ce
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004b6696
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.0045cd10
mov eax, dword [ebp - 0x10]
lea ebx, [edi + 4]
mov dword [edi + 0xc], ebx
lea esi, [edi + 8]
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea ecx, [eax + 0x18]
mov byte [edi + 0x48], 0
lea edx, [eax + 0x24]
mov byte [edi + 0x3d], 0
mov dword [edi + 0x10], esi
add edi, 0x14
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x709c74]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [0x709c78]
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret