joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402d60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, ecx
or eax, 0xffffffff
mov cl, byte [edx]
test cl, cl
je 0x402e06
nop
movzx ecx, cl
lea edx, [edx + 1]
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x402d70
not eax
ret

Function at 0x402f00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebx, edx
mov ebp, ecx
mov esi, 1
call fcn.00402ea0
mov edi, eax
test edi, edi
je 0x402f70
lea eax, [esp + 0x10]
mov dword [esp + 0x17], 0x4579654b
push eax
push edi
mov word [esp + 0x24], 0x41
mov byte [esp + 0x23], 0x78
mov dword [esp + 0x1a], 0x756e4567
mov word [esp + 0x18], 0x6552
mov byte [esp + 0x1e], 0x6d
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402f69
push 0
push 0
push 0
push 0
push dword [esp + 0x38]
push dword [esp + 0x38]
push ebx
push ebp
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x403010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.00402ea0
mov edi, eax
test edi, edi
je 0x40308f
lea eax, [esp + 0xc]
mov dword [esp + 0x20], 0x69726373
push eax
push edi
mov dword [esp + 0x14], 0x74696e49
mov word [esp + 0x1f], 0x6365
mov dword [esp + 0x1a], 0x657a696c
mov dword [esp + 0x24], 0x65447974
mov word [esp + 0x22], 0x6972
mov dword [esp + 0x2d], 0x726f74
mov word [esp + 0x18], 0x6169
mov byte [esp + 0x1e], 0x53
mov byte [esp + 0x2c], 0x70
mov byte [esp + 0x21], 0x75
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x403088
push 1
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x20
ret

Function at 0x403140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
mov esi, 0x80004005
call fcn.0052a6b0
mov edi, eax
test edi, edi
je 0x403197
lea eax, [esp + 0xc]
mov dword [esp + 0x15], 0x646975
push eax
push edi
mov dword [esp + 0x19], 0x47657461
mov word [esp + 0x17], 0x6572
mov word [esp + 0x14], 0x6f43
mov byte [esp + 0x16], 0x43
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x403190
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4031a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [0x567600]
mov ebx, edx
push esi
push edi
xor esi, esi
call fcn.00402ea0
mov edi, eax
test edi, edi
je 0x403204
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x53746553
push eax
push edi
mov dword [esp + 0x23], 0x53656369
mov word [esp + 0x20], 0x7265
mov dword [esp + 0x27], 0x75746174
mov byte [esp + 0x22], 0x76
mov word [esp + 0x2b], 0x73
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4031fd
push ebx
push ebp
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x403900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x58
push ebx
lea eax, [esp + 4]
mov dword [esp + 0x4e], 0x65727275
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x4a], 0x4e207377
push eax
lea eax, [esp + 0x14]
mov word [esp + 0x3c], 0x5c5c
push eax
lea eax, [esp + 0x1c]
mov word [esp + 0x43], 0x6369
push eax
lea edx, [esp + 0x3c]
mov word [esp + 0x67], 0x6973
mov ecx, 0x80000002
mov dword [esp + 0x63], 0x72655674
xor bl, bl
mov word [esp + 0x4f], 0x5c5c
mov word [esp + 0x3f], 0x5754
mov dword [esp + 0x52], 0x6f646e69
mov word [esp + 0x6a], 0x6e
mov dword [esp + 0x4a], 0x666f736f
mov byte [esp + 0x49], 0x72
mov word [esp + 0x5b], 0x5c5c
mov word [esp + 0x3c], 0x4f53
mov byte [esp + 0x62], 0x6e
mov byte [esp + 0x5a], 0x54
mov word [esp + 0x42], 0x4552
mov byte [esp + 0x4e], 0x74
mov byte [esp + 0x3e], 0x46
mov byte [esp + 0x46], 0x4d
mov byte [esp + 0x69], 0x6f
mov byte [esp + 0x41], 0x41
mov byte [esp + 0x51], 0x57
mov byte [esp + 0x5d], 0x43
mov dword [esp + 0x28], 0x726f6a61
mov word [esp + 0x38], 0x72
mov word [esp + 0x20], 0x7543
mov word [esp + 0x23], 0x6572
mov word [esp + 0x26], 0x4d74
mov word [esp + 0x35], 0x626d
mov dword [esp + 0x2e], 0x6f697372
mov word [esp + 0x32], 0x4e6e
mov byte [esp + 0x25], 0x6e
mov word [esp + 0x2c], 0x6556
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x34], 0x75
mov byte [esp + 0x37], 0x65
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 4
call fcn.0052fbf0
add esp, 0x10
movzx ecx, bl
test eax, eax
mov edx, 1
cmove ecx, edx
mov al, cl
pop ebx
add esp, 0x58
ret
Function at 0x403a50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512ca0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
xor bl, bl
mov edx, 0x80000000
cmp dword [ebp + 0x1c], 0x10
cmovae ecx, dword [ebp + 8]
sub esp, 8
push 3
sub esp, 8
call fcn.00522db0
add esp, 0x14
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x403b0f
push esi
push edi
mov ecx, eax
mov dword [ebp - 0x10], 0
call fcn.0051dec0
mov esi, eax
lea ecx, [ebp - 0x24]
lea eax, [esi + 1]
push eax
call fcn.0040f5e0
push 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
mov edi, dword [ebp - 0x24]
push eax
push esi
push edi
mov byte [edi + esi], bl
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, esi
call fcn.0052e1f0
cmp byte [edi], bl
jne 0x403ae9
xor ecx, ecx
jmp 0x403af9
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403af0
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x18]
push edi
call fcn.00408e50
lea ecx, [ebp - 0x24]
mov bl, 1
call fcn.00412b80
pop edi
pop esi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x403b24
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00409e50
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x404ff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, ecx
call fcn.00514b50
mov esi, eax
test esi, esi
je 0x405044
lea eax, [esp + 8]
mov dword [esp + 0xd], 0x654d6565
push eax
push esi
mov dword [esp + 0x1a], 0x79726f
mov word [esp + 0x13], 0x7246
mov byte [esp + 0x19], 0x6d
mov word [esp + 0x10], 0x5457
mov byte [esp + 0x12], 0x53
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40503d
push edi
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
add esp, 0x10
ret

Function at 0x405560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ed7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.00427ee1
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
jne 0x40560f
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00441924
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x552bf4
push eax
call fcn.00442573
push eax
push esi
call fcn.00428413
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x406640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50ee76
push eax
mov dword fs:[0], esp
push esi
push edi
mov edi, ecx
push 8
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0xc], 0
call fcn.00426646
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00428310
mov ecx, dword [ebp - 0xc]
add esp, 8
mov dword [esi + 4], eax
mov dword [edi + 0x30], esi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50f138
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x4096bf
cmp byte [edi + 0x3d], 0
je 0x4096bf
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x4095b8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], ecx
cmp ecx, 0x10
movq qword [ebp - 0x2c], xmm0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 8
cmovae eax, dword [ebp - 0x2c]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
nop
mov eax, dword [edi + 0x38]
lea ebx, [ebp - 0x2c]
cmp ecx, 0x10
lea esi, [ebp - 0x2c]
cmovae ebx, edx
cmovae esi, edx
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp eax, vtable.std::codecvt_char__char__struct__Mbstatet_.0
jne 0x409615
mov dword [ebp - 0x10], esi
xor eax, eax
jmp 0x409636
mov ecx, dword [edi + 0x38]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
add eax, ebx
push eax
push esi
lea eax, [edi + 0x40]
push eax
mov eax, dword [ebp - 0x14]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
sub eax, 0
je 0x409649
sub eax, 1
je 0x40964d
sub eax, 2
je 0x40969a
xor bl, bl
jmp 0x40969c
mov byte [edi + 0x3d], 0
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x40967c
push dword [edi + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0045fe88
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov edx, dword [ebp - 0x2c]
cmp esi, eax
jne 0x409645
cmp byte [edi + 0x3d], 0
je 0x40969a
test esi, esi
jne 0x4095f0
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00409070
jmp 0x4095e8
mov bl, 1
cmp ecx, 0x10
jb 0x4096ac
inc ecx
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00409e50
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4098a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f156
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
push 8
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00426646
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00428310
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x34], esi
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 ecx, edi
mov eax, dword [edi + 0x20]
push 0
push 0
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 dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.004096e0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40c620
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f302
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push esi
mov esi, ecx
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x94], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x90], 0
push edi
push eax
mov dword [ebp - 0x8a], 0x73707474
mov word [ebp - 0x7a], 0x6f66
mov dword [ebp - 0x77], 0x6d6f632e
mov word [ebp - 0x69], 0x3f
mov dword [ebp - 0x7f], 0x696d6172
mov dword [ebp - 0x85], 0x72702f2f
mov word [ebp - 0x73], 0x662f
mov dword [ebp - 0x6e], 0x68702e6b
mov word [ebp - 0x70], 0x6361
mov word [ebp - 0x8c], 0x6820
mov byte [ebp - 0x86], 0x3a
mov word [ebp - 0x81], 0x676f
mov byte [ebp - 0x71], 0x62
mov byte [ebp - 0x7b], 0x6e
mov byte [ebp - 0x6a], 0x70
mov byte [ebp - 0x78], 0x73
call fcn.0041fa80
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
push 0x545d88
push eax
push esi
mov dword [ebp - 0x90], 1
mov word [ebp - 0x3b], 0x73
mov dword [ebp - 0x42], 0x6f697372
mov word [ebp - 0x3e], 0x3d6e
mov byte [ebp - 0x3c], 0x25
mov word [ebp - 0x44], 0x6576
call fcn.0041f4f0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x69756726
add esp, 0xc
mov dword [ebp - 0x1b], 0x73253d
mov byte [ebp - 0x1c], 0x64
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c727
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.00415190
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x73253d
mov dword [ebp - 0x14], 0x72617626
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c750
sub ecx, edx
lea eax, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.00415190
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x25], 0x6425
mov dword [ebp - 0x2c], 0x6c617626
lea edx, [ecx + 1]
mov byte [ebp - 0x23], 0
mov word [ebp - 0x28], 0x6575
mov byte [ebp - 0x26], 0x3d
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c786
sub ecx, edx
lea eax, [ebp - 0x2c]
push ecx
push eax
mov ecx, esi
call fcn.00415190
lea eax, [ebp - 0x54]
mov dword [ebp - 0x33], 0x64253d
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x38], 0x6d697426
push eax
mov byte [ebp - 0x34], 0x65
xor edi, edi
mov word [ebp - 0x64], 0x654b
mov dword [ebp - 0x61], 0x336c656e
mov dword [ebp - 0x5d], 0x6c642e32
mov word [ebp - 0x59], 0x6c
mov byte [ebp - 0x62], 0x72
mov word [ebp - 0x4c], 0x756f
mov dword [ebp - 0x54], 0x54746547
mov word [ebp - 0x49], 0x74
mov byte [ebp - 0x4a], 0x6e
mov dword [ebp - 0x50], 0x436b6369
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c808
call eax
mov edi, eax
push edi
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.0041f4f0
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c830
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push esi
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
mov esi, ecx
mov word [esp + 0x14], 0x6e49
push eax
mov dword [esp + 8], esi
mov word [esp + 0x15], 0x5c6c
mov dword [esp + 0x10], 0x626f6c47
mov dword [esp + 0x21], 0x6574754d
mov word [esp + 0x25], 0x78
mov dword [esp + 0x1a], 0x6c617473
mov byte [esp + 0x17], 0x43
mov word [esp + 0x1f], 0x7265
mov byte [esp + 0x14], 0x61
mov byte [esp + 0x1e], 0x6c
call fcn.0041fa80
mov eax, esi
pop esi
add esp, 0x20
ret

Function at 0x40c8a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push esi
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
mov esi, ecx
mov word [esp + 0x10], 0x6c61
push eax
mov dword [esp + 8], esi
mov dword [esp + 0x18], 0x736e4945
mov word [esp + 0x25], 0x7865
mov word [esp + 0x11], 0x6f6c
mov dword [esp + 0x20], 0x754d7265
mov byte [esp + 0x24], 0x74
mov dword [esp + 0x1c], 0x6c6c6174
mov word [esp + 0x16], 0x495c
mov byte [esp + 0x27], 0
mov byte [esp + 0x10], 0x47
mov byte [esp + 0x13], 0x62
call fcn.0041fa80
mov eax, esi
pop esi
add esp, 0x20
ret

Function at 0x40c910
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push esi
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
mov esi, ecx
mov word [esp + 0x1a], 0x6c6c
push eax
mov dword [esp + 8], esi
mov dword [esp + 0x12], 0x6c61626f
mov dword [esp + 0x19], 0x74736e49
mov dword [esp + 0x20], 0x754d7265
mov byte [esp + 0x1d], 0x61
mov dword [esp + 0x24], 0x786574
mov word [esp + 0x16], 0x465c
mov word [esp + 0x10], 0x6c47
mov byte [esp + 0x18], 0x46
call fcn.0041fa80
mov eax, esi
pop esi
add esp, 0x20
ret
Function at 0x414b80
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fdce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00426646
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00428310
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 ebx, dword [ebp + 0xc]
mov eax, ebx
mov dword [ebp - 4], 1
mov dword [edi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [ebx*4]
not ecx
and ecx, 4
mov edx, ecx
or edx, 2
and al, 2
mov eax, ebx
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
mov eax, dword [ebp + 8]
cmove ecx, edx
mov edx, ecx
or edx, 0x10
and bl, 4
cmove edx, ecx
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x414c6b
mov eax, dword [eax]
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], edx
test ecx, ecx
je 0x414c82
push ecx
push eax
mov ecx, edi
call fcn.00417940
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x414ca0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fdee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00426646
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00428310
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 ecx, dword [ebp - 0xc]
mov eax, edi
mov dword [edi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 4
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x41f5d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41f5e5
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41f61d
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41f619
cmp esi, edx
jae 0x41f61d
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x41f607
cmp esi, edx
jb 0x41f623
pop esi
pop edi
xor eax, eax
pop ebx
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4223c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x4223fb
xor edx, edx
cmp dword [esi + 0x3cc], edx
jle 0x4223f4
mov ecx, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
sub edi, ecx
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
cmp edx, dword [esi + 0x3cc]
jl 0x4223e1
pop edi
pop esi
add esp, 0x14
ret 8
lea eax, [esp + 0x10]
mov dword [esp + 0xc], vtable.std::exception.0
push eax
lea eax, [esp + 8]
mov dword [esp + 8], str.Object_not_Initialized
xorps xmm0, xmm0
mov byte [esp + 0xc], 1
push eax
movq qword [esp + 0x18], xmm0
call fcn.00441924
add esp, 8
lea eax, [esp + 0xc]
push 0x552cfc
push eax
call fcn.00442573
int3