joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447eb0
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 0x447edb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00449ba0
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 0x447efd
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x447eff
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x447f9e
jg 0x447f1c
test esi, esi
je 0x447f9e
test ecx, ecx
jl 0x447f69
jg 0x447f26
test eax, eax
je 0x447f69
cmp ebx, ecx
jg 0x447f3a
jl 0x447f30
cmp esi, eax
jae 0x447f3a
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.004aee70
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 0x447f70
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x447f9e
jg 0x447f7a
test esi, esi
je 0x447f9e
cmp dword [edi + 0x4c], 0
je 0x447f9e
mov ecx, edi
call fcn.0044d4a0
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.004b7a05
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 0x448300
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x508068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x448330
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x44836c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x44836c
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.004ad19c
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x448453
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x448394
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 0x4483c7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.004b5d04
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.004ad19c
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 0x448453
cmp eax, 1
jle 0x448426
cmp eax, 3
jne 0x448453
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.004b5d04
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.004ad19c
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x448443
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004b7334
add esp, 0x10
cmp edi, eax
jne 0x448453
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x448357
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ad19c
mov esp, ebp
pop ebp
ret 4
Function at 0x44d090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x508068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x44d13d
cmp byte [esi + 0x3e], 0
je 0x44d13d
mov eax, dword [esi]
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x44d0f3
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 0x44d105
sub eax, 1
je 0x44d109
sub eax, 2
je 0x44d13d
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x44d126
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004b7334
add esp, 0x10
cmp edi, eax
jne 0x44d0f3
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004ad19c
mov esp, ebp
pop ebp
ret

Function at 0x44d2a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d57b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x508068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
mov dword [ebp - 0x18], 0
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.0040ce40
mov eax, dword [ebp + 8]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], 1
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 2
push eax
call fcn.00409600
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx ebx, ax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x44d368
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x44d368
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 0
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], bx
jne 0x44d386
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.00402770
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44d4d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x508068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x44d571
cmp byte [esi + 0x3d], 0
je 0x44d571
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x44d527
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 0x44d539
sub eax, 1
je 0x44d53d
sub eax, 2
je 0x44d571
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x44d55a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004b7334
add esp, 0x10
cmp edi, eax
jne 0x44d527
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004ad19c
mov esp, ebp
pop ebp
ret

Function at 0x44f690
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3700
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x508068]
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.004ad3ad
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004a8e35
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 0x44f8f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3700
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x508068]
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.004ad3ad
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004a8e35
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 0x45dfd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x45e001
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x45dff0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x469ca0
Capabilities:
Encrypt data using rc4 prga
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x508068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x48], eax
xor esi, esi
mov dword [ebp - 0x4c], edi
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
mov dword [ebx + 0x10], 0xc3d2e1f0
cmp edi, 0x40
jb 0x469d09
nop dword [eax]
lea edx, [eax + esi]
mov ecx, ebx
call fcn.00468ad0
add esi, 0x40
mov eax, edi
sub eax, esi
cmp eax, 0x40
mov eax, dword [ebp - 0x48]
jae 0x469cf0
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.004af970
mov eax, dword [ebp - 0x48]
sub edi, esi
add eax, esi
push edi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004aee70
mov eax, 0x3f
mov byte [ebp + edi - 0x44], 0x80
sub eax, edi
add esp, 0x18
cmp eax, 8
jae 0x469d6c
lea edx, [ebp - 0x44]
mov ecx, ebx
call fcn.00468ad0
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x44]
mov al, cl
shr ecx, 5
mov byte [ebp - 6], cl
shr ecx, 8
mov byte [ebp - 7], cl
shr ecx, 8
mov byte [ebp - 8], cl
shr ecx, 8
mov byte [ebp - 9], cl
shr ecx, 8
mov byte [ebp - 0xa], cl
shr ecx, 8
mov byte [ebp - 0xb], cl
shr ecx, 8
shl al, 3
mov byte [ebp - 0xc], cl
mov ecx, ebx
mov byte [ebp - 5], al
call fcn.00468ad0
movzx eax, byte [ebx]
mov byte [ebp - 0x45], al
movzx eax, byte [ebx + 1]
mov byte [ebp - 0x46], al
movzx eax, byte [ebx + 2]
mov byte [ebp - 0x47], al
movzx eax, byte [ebx + 3]
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x48]
mov dword [ebx], eax
movzx eax, byte [ebx + 4]
mov byte [ebp - 0x45], al
movzx eax, byte [ebx + 5]
mov byte [ebp - 0x46], al
movzx eax, byte [ebx + 6]
mov byte [ebp - 0x47], al
movzx eax, byte [ebx + 7]
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x48]
mov dword [ebx + 4], eax
movzx eax, byte [ebx + 8]
mov byte [ebp - 0x45], al
movzx eax, byte [ebx + 9]
mov byte [ebp - 0x46], al
movzx eax, byte [ebx + 0xa]
mov byte [ebp - 0x47], al
movzx eax, byte [ebx + 0xb]
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x48]
mov dword [ebx + 8], eax
movzx eax, byte [ebx + 0xc]
mov byte [ebp - 0x45], al
movzx eax, byte [ebx + 0xd]
mov ecx, dword [ebp - 4]
mov byte [ebp - 0x46], al
xor ecx, ebp
movzx eax, byte [ebx + 0xe]
mov byte [ebp - 0x47], al
movzx eax, byte [ebx + 0xf]
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x48]
mov dword [ebx + 0xc], eax
movzx eax, byte [ebx + 0x10]
mov byte [ebp - 0x45], al
movzx eax, byte [ebx + 0x11]
mov byte [ebp - 0x46], al
movzx eax, byte [ebx + 0x12]
mov byte [ebp - 0x47], al
movzx eax, byte [ebx + 0x13]
pop edi
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x48]
pop esi
mov dword [ebx + 0x10], eax
pop ebx
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
Function at 0x46d7b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x46d7e1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x46d7d0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x46ed00
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x46ef1d
cmp eax, 0x7c
je 0x46ef1d
cmp eax, 0x29
jne 0x46ed3c
cmp dword [esi + 0x10], 0
jne 0x46ef1d
test dword [esi + 0x50], 0x10000000
je 0x46ef34
cmp eax, 0x2e
jne 0x46ed50
push 5
lea ecx, [esi + 0x24]
call fcn.00460160
jmp 0x46ef01
cmp eax, 0x5c
jne 0x46edb5
mov ecx, esi
call fcn.0046eca0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x46ed82
cmp byte [esi + 0x48], 0x62
jne 0x46ed82
push 4
lea ecx, [esi + 0x24]
call fcn.00460160
mov ecx, esi
call fcn.0046eca0
jmp 0x46ef0f
test eax, eax
je 0x46eda9
cmp byte [esi + 0x48], 0x42
jne 0x46eda9
push 4
lea ecx, [esi + 0x24]
call fcn.00460160
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0046eca0
jmp 0x46ef0f
mov ecx, esi
call fcn.0046f740
jmp 0x46ef08
cmp eax, 0x5b
jne 0x46ee68
mov ecx, esi
call fcn.0046eca0
lea ecx, [esi + 0x24]
call fcn.00470950
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x46ede6
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0046eca0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x46ee52
cmp eax, 0x5d
jne 0x46ee52
test dword [esi + 0x2c], 0x100
mov bl, al
je 0x46ee10
mov eax, dword [esi + 0x30]
push 0x5d
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov bl, al
mov edi, dword [esi + 0x28]
mov ecx, dword [edi + 0x18]
test ecx, ecx
jne 0x46ee36
push 0x20
call fcn.004ad3ad
xorps xmm0, xmm0
mov dword [ebp - 4], eax
add esp, 4
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [edi + 0x18], eax
movzx edx, bl
mov eax, edx
and edx, 7
shr eax, 3
add ecx, eax
movzx eax, byte [ecx]
bts eax, edx
mov byte [ecx], al
mov ecx, esi
call fcn.0046eca0
mov ecx, esi
call fcn.00470480
cmp dword [esi + 0x4c], 0x5d
jne 0x46ef2d
jmp 0x46ef01
cmp eax, 0x28
jne 0x46ee94
mov ecx, esi
call fcn.0046eca0
mov ecx, esi
call fcn.0046f8e0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x46ef34
mov ecx, esi
call fcn.0046eca0
test bl, bl
je 0x46ef0f
jmp 0x46ef08
cmp eax, 0x5e
jne 0x46eeac
push 2
lea ecx, [esi + 0x24]
call fcn.00460160
mov ecx, esi
call fcn.0046eca0
jmp 0x46ef0f
cmp eax, 0x24
jne 0x46eec4
push 3
lea ecx, [esi + 0x24]
call fcn.00460160
mov ecx, esi
call fcn.0046eca0
jmp 0x46ef0f
cmp eax, 0x2a
je 0x46ef26
cmp eax, 0x2b
je 0x46ef26
cmp eax, 0x3f
je 0x46ef26
cmp eax, 0x7b
je 0x46ef26
cmp eax, 0x7d
jne 0x46eee6
test dword [esi + 0x50], 0x10000000
je 0x46ef3b
cmp eax, 0x5d
jne 0x46eef4
test dword [esi + 0x50], 0x10000000
je 0x46ef2d
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0046fb50
mov ecx, esi
call fcn.0046eca0
mov ecx, esi
call fcn.0046f9f0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x46ed17
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.0045ef60
push 4
call fcn.0045ef60
push 5
call fcn.0045ef60
push 6
call fcn.0045ef60
int3
Function at 0x472a00
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d763b
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x508068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0xe
push dword [0x50ffb8]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x472b45
lea eax, [ebp - 0xd8]
push eax
push 0x63
push 0xd
push dword [0x50ffb8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 0x50e608
lea ecx, [ebp - 0xd8]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x472a8d
test dx, dx
je 0x472a89
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x472a8d
add ecx, 4
add eax, 4
test dx, dx
jne 0x472a67
xor eax, eax
jmp 0x472a92
sbb eax, eax
or eax, 1
test eax, eax
je 0x472b45
xor eax, eax
mov dword [ebp - 0xf8], 0
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472ac0
sub ecx, edx
lea eax, [ebp - 0xd8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x108]
call fcn.00407d10
lea eax, [ebp - 0x108]
mov dword [ebp - 4], 0
push eax
mov edx, 0x510452
lea ecx, [ebp - 0xf0]
call fcn.00450830
add esp, 4
lea ecx, [ebp - 0x108]
call fcn.00407cb0
cmp dword [ebp - 0xdc], 8
lea eax, [ebp - 0xf0]
push 0
cmovae eax, dword [ebp - 0xf0]
push 0
push 0
push eax
push 0x4f8660
push dword [0x50ffb8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xf0]
call fcn.00407cb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
Function at 0x475de0
Capabilities:
Copy file
Create directory
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d78fb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x498
mov eax, dword [0x508068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x474], ecx
lea eax, [ebp - 0x220]
push eax
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x104
push 0x4f927c
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.004b68c3
push 0x250
lea eax, [ebp - 0x470]
push 0
push eax
call fcn.004af970
add esp, 0x1c
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x475e9c
push 0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov dword [ebp - 0x494], 0
mov word [ebp - 0x4a4], ax
mov eax, edi
mov dword [ebp - 0x490], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x475ec5
sub eax, edx
lea ecx, [ebp - 0x4a4]
sar eax, 1
push eax
push edi
call fcn.00407d10
push 1
push 0x4f9278
push ecx
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 4], 0
call fcn.00453aa0
mov dword [ebp - 0x47c], 0
xor ecx, ecx
mov dword [ebp - 0x478], 0
push 0x104
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x48c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x47c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x48c]
cmp dword [ebp - 0x478], 8
cmovae eax, dword [ebp - 0x48c]
push eax
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.004b68c3
add esp, 0x10
lea ecx, [ebp - 0x48c]
call fcn.00407cb0
lea ecx, [ebp - 0x4a4]
call fcn.00407cb0
push 0
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ad19c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x47d110
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x508068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 8]
push eax
push dword [0x50e570]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp - 8]
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
test eax, eax
jne 0x47d15a
cmp byte [0x5102e0], 0
je 0x47d15a
push 0
push 0x4f9dd0
push 0x4f9e10
push 0
call ebx
mov eax, dword [ebp - 8]
push esi
push edi
push eax
push dword [0x50e570]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp + 8]
mov dword [0x50e570], 0
mov esi, dword [eax + 0x3d8]
cmp esi, dword [eax + 0x3dc]
je 0x47d1b3
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop word [eax + eax]
mov ecx, dword [esi + 0x18]
cmp ecx, 0xffffffff
je 0x47d1a5
push ecx
call edi
mov dword [esi + 0x18], 0xffffffff
mov eax, dword [ebp + 8]
add esi, 0x148
cmp esi, dword [eax + 0x3dc]
jne 0x47d190
mov edi, dword [0x510850]
mov esi, dword [edi]
cmp esi, edi
je 0x47d1f7
lea ebx, [eax + 0x33c]
push ebx
lea ecx, [esi + 8]
call fcn.00409da0
test al, al
jne 0x47d1da
mov esi, dword [esi]
cmp esi, edi
jne 0x47d1c5
jmp 0x47d1f1
add esi, 8
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x47d1ec
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [0x510854], 0
pop edi
pop esi
je 0x47d238
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x47c0a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x50e570], eax
test eax, eax
jne 0x47d238
cmp byte [0x5102e0], al
je 0x47d238
push eax
push 0x4f9df8
push 0x4f9e3c
push eax
call ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004ad19c
mov esp, ebp
pop ebp
ret