joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5621a2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
test esi, esi
je 0x56226e
call fcn.0056135c
cmp dword [esi + 4], 0x3fffffff
mov ecx, edi
ja 0x562272
call fcn.00565bcd
test byte [edi + 0x70], 0x40
jne 0x5621d7
call fcn.005690a6
jmp 0x5621e1
mov edx, str.Ignoring_extra_png_read_update_info___call__row_buffer_not_reallocated
call fcn.00565f04
mov edx, esi
mov ecx, edi
call fcn.00562c8f
xor ebx, ebx
mov ecx, edi
push ebx
push 0x40
call fcn.0055ffe8
pop ecx
pop ecx
cmp dword [esi + 0xec], ebx
jne 0x56224e
mov edx, dword [esi + 4]
mov ecx, edi
shl edx, 2
call fcn.00561050
mov ecx, ebx
mov dword [esi + 0xec], eax
cmp dword [esi + 4], ebx
jbe 0x562229
mov eax, dword [esi + 0xec]
mov dword [eax + ecx*4], ebx
inc ecx
cmp ecx, dword [esi + 4]
jb 0x56221a
or dword [esi + 0xbc], 0x40
cmp dword [esi + 4], ebx
jle 0x56224e
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.00561050
mov ecx, dword [esi + 0xec]
mov dword [ecx + ebx*4], eax
inc ebx
cmp ebx, dword [esi + 4]
jl 0x562235
mov edx, dword [esi + 0xec]
mov ecx, edi
call fcn.00561a63
or dword [esi + 8], 0x8000
mov edx, esi
mov ecx, edi
pop edi
pop esi
pop ebx
jmp fcn.00561b13
pop edi
pop esi
pop ebx
ret
mov edx, str.Image_is_too_high_to_process_with_png_read_png__
call fcn.00565ea6
int3

Function at 0x5634e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x5634f3
xor eax, eax
jmp 0x56358c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
jmp 0x56352b
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x56358a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x14], edx
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.00563495
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x563588
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x56358c
jmp 0x563524
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x5636ed
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 8], 0x82268c
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0
call fcn.00563659
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
push 0
mov eax, dword [ebp - 8]
push dword [eax + 0x30]
call fcn.00563659
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x5637a7
push dword [ebp - 0x30]
call fcn.0056346f
pop ecx
mov byte [ebp - 1], al
Function at 0x565ea6
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x565ebd
mov eax, dword [esi + 0x44]
test eax, eax
je 0x565ebd
push edi
push esi
call eax
pop ecx
pop ecx
push edi
push str.libpng_error:__s
push 2
call fcn.0067db94
pop ecx
push eax
call fcn.0055f0d0
add esp, 0xc
push 0x750038
push 2
call fcn.0067db94
pop ecx
push eax
call fcn.0055f0d0
pop ecx
pop ecx
test esi, esi
je 0x565efb
mov eax, dword [esi + 0x40]
test eax, eax
je 0x565efb
push 1
push esi
call eax
pop ecx
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x5705d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c7116
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x81c5a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
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.006484ac
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00643c0d
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 dword [edi], vtable.boost::io::basic_altstringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [edi + 0x38], 0
mov byte [edi + 0x3c], 0
mov dword [edi + 0x40], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5749d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, edx
mov dword [esp], eax
cmp ecx, eax
je 0x574a7e
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
lea esi, [ecx + 0x48]
lea ebp, [edi + 4]
lea ebx, [edi + 0x1c]
nop
mov eax, dword [edi]
mov dword [esi - 0x48], eax
lea eax, [esi - 0x44]
cmp eax, ebp
je 0x574a09
push 0xffffffffffffffff
push 0
push ebp
lea ecx, [esi - 0x44]
call fcn.00517324
lea eax, [esi - 0x2c]
cmp eax, ebx
je 0x574a1d
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [esi - 0x2c]
call fcn.00517324
mov eax, dword [edi + 0x38]
lea ecx, [esi + 0x10]
mov dword [esi - 0x10], eax
mov eax, dword [edi + 0x3c]
mov dword [esi - 0xc], eax
mov eax, dword [edi + 0x40]
mov dword [esi - 8], eax
mov eax, dword [edi + 0x44]
mov dword [esi - 4], eax
mov al, byte [edi + 0x48]
mov byte [esi], al
mov eax, dword [edi + 0x4c]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x58]
push eax
call fcn.00574290
mov eax, dword [edi + 0x68]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x70]
mov dword [esi + 0x28], eax
add esi, 0x78
lea eax, [esi - 0x48]
cmp eax, dword [esp + 0x10]
jne 0x5749f0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x575300
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x575331
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 8], esi
call fcn.00647680
mov dword [esp + 0xc], eax
test esi, esi
jne 0x575339
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0x756254
lea ecx, [esp + 8]
call fcn.00575540
int3

Function at 0x575410
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x81c5a8]
xor eax, esp
mov dword [esp + 0x1a0], eax
push esi
push 0x8573a8
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x575456
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x8573ac
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [ebp + 8], 0
je 0x57546d
push 0
push 0x8573ac
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x575484
mov ecx, dword [esp + 0x1a4]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00647fba
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 8], eax
call fcn.00647680
mov edx, str.winsock
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
call fcn.00575540
int3

Function at 0x579700
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c9676
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x81c5a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
xor al, al
mov ecx, dword [esi + 0x2c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.0067b635
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x57974f
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x579760
push 0x44
push esi
call fcn.006484df
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x57a310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c9676
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x81c5a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x50]
xor al, al
mov ecx, dword [esi + 0x4c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.0067b635
mov edx, dword [esi + 0x30]
xor al, al
mov ecx, dword [esi + 0x2c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.0067b635
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x57a371
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x57a382
push 0x60
push esi
call fcn.006484df
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x5817c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov ecx, esi
push edi
mov edi, edx
shr ecx, 2
xor edx, edx
mov dword [ebp - 0x10], edi
test ecx, ecx
je 0x581814
sub edi, eax
mov dword [ebp - 0x14], ecx
mov esi, ebx
mov edx, eax
sub esi, eax
mov eax, edi
mov dword [ebp - 0xc], esi
mov esi, ecx
mov edi, dword [ebp - 0xc]
mov ecx, dword [eax + edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
mov dword [edi + edx - 4], ecx
sub esi, 1
jne 0x5817f6
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
lea ecx, [edx*4]
sub esi, ecx
je 0x581842
add ebx, ecx
add edi, ecx
add eax, ecx
test esi, esi
je 0x581842
sub edi, eax
sub ebx, eax
lea ecx, [ecx]
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + ebx - 1], cl
sub esi, 1
jne 0x581830
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x581850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 8], eax
shr edi, 2
xor ebx, ebx
xor ecx, ecx
test edi, edi
je 0x58188d
mov esi, eax
mov dword [ebp - 4], edi
mov ecx, edx
sub esi, edx
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
or ebx, eax
sub edi, 1
jne 0x581877
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [ecx*4]
sub esi, eax
jne 0x5818a6
xor eax, eax
test ebx, ebx
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 8]
add edx, eax
add edi, eax
mov ecx, ebx
shr ecx, 0x18
mov eax, ebx
shr eax, 0x10
or cl, al
mov eax, ebx
shr eax, 8
or cl, al
or cl, bl
test esi, esi
je 0x5818e0
sub edi, edx
jmp 0x5818d0
mov al, byte [edx + edi]
lea edx, [edx + 1]
xor al, byte [edx - 1]
or cl, al
sub esi, 1
jne 0x5818d0
pop edi
test cl, cl
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x581fa0
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0xc], 0
push edi
push 0x1000
mov ecx, 0x12
mov dword [ebp - 4], ebx
mov edi, dword [ebx + 0x64]
mov esi, 0x748398
rep movsd dword es:[edi], dword [esi]
push 0x747398
push dword [ebx + 0x1074]
mov dword [ebp - 8], 0
call fcn.0066eca0
add esp, 0xc
mov esi, 2
xor edi, edi
lea ebx, [ebx]
xor edx, edx
mov ebx, dword [ebp + 8]
lea eax, [esi - 2]
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
movzx ecx, byte [edx + eax]
xor edx, edx
lea eax, [esi - 1]
shl ecx, 8
div dword [ebp + 0xc]
movzx eax, byte [edx + ebx]
xor edx, edx
or ecx, eax
mov eax, esi
div dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + ebx]
xor edx, edx
or ecx, eax
lea eax, [esi + 1]
div dword [ebp + 0xc]
shl ecx, 8
add esi, 4
movzx eax, byte [edx + ebx]
mov ebx, dword [ebp - 4]
or ecx, eax
mov eax, dword [ebx + 0x64]
xor dword [edi + eax], ecx
add edi, 4
cmp edi, 0x48
jb 0x581ff0
push dword [ebx + 0x64]
lea eax, [ebp - 0xc]
mov ecx, ebx
push eax
call fcn.00582150
xor esi, esi
mov ecx, dword [ebx + 0x64]
add ecx, esi
lea eax, [ecx + 8]
push eax
push ecx
mov ecx, ebx
call fcn.00582150
add esi, 8
cmp esi, 0x40
jb 0x582058
mov eax, dword [ebx + 0x64]
mov ecx, ebx
push dword [ebx + 0x1074]
add eax, 0x40
push eax
call fcn.00582150
xor esi, esi
jmp 0x582090
mov ecx, dword [ebx + 0x1074]
add ecx, esi
lea eax, [ecx + 8]
push eax
push ecx
mov ecx, ebx
call fcn.00582150
add esi, 8
cmp esi, 0xff8
jb 0x582090
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x582147
mov edx, dword [ebx + 0x64]
mov ecx, dword [edx]
mov eax, dword [edx + 0x44]
mov dword [edx], eax
mov dword [edx + 0x44], ecx
mov edx, dword [ebx + 0x64]
mov ecx, dword [edx + 4]
mov eax, dword [edx + 0x40]
mov dword [edx + 4], eax
mov dword [edx + 0x40], ecx
mov edx, dword [ebx + 0x64]
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0x3c]
mov dword [edx + 8], eax
mov dword [edx + 0x3c], ecx
mov edx, dword [ebx + 0x64]
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 0x38]
mov dword [edx + 0xc], eax
mov dword [edx + 0x38], ecx
mov edx, dword [ebx + 0x64]
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0x34]
mov dword [edx + 0x10], eax
mov dword [edx + 0x34], ecx
mov edx, dword [ebx + 0x64]
mov ecx, dword [edx + 0x14]
mov eax, dword [edx + 0x30]
mov dword [edx + 0x14], eax
mov dword [edx + 0x30], ecx
mov edx, dword [ebx + 0x64]
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x2c]
mov dword [edx + 0x18], eax
mov dword [edx + 0x2c], ecx
mov edx, dword [ebx + 0x64]
mov ecx, dword [edx + 0x1c]
mov eax, dword [edx + 0x28]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x28], ecx
mov edx, dword [ebx + 0x64]
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x24]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x582e00
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cee00
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x81c5a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [edx + 0x51], 0
mov dword [edx + 0x58], 0x10
cmp byte [edx + 0x51], 0
jne 0x582e54
mov byte [edx + 0x51], 1
lea ecx, [edx + 0x10]
jmp 0x582e56
xor ecx, ecx
mov dword [edx + 0x5c], ecx
lea ecx, [edx + 0x60]
mov byte [ecx + 0x49], 0
mov dword [ecx + 0x50], 0x10
cmp byte [ecx + 0x49], 0
jne 0x582e7c
mov eax, ecx
mov byte [ecx + 0x49], 1
neg eax
and eax, 0xf
add eax, ecx
jmp 0x582e7e
xor eax, eax
mov dword [ecx + 0x54], eax
mov esi, 0x757234
mov edi, dword [edx + 0xb4]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x587060
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor edx, edx
push esi
mov dword [ebp - 0x14], edx
push edi
mov edi, edi
movzx edi, byte [edx + 0x748950]
mov eax, edi
mov dword [ebp - 8], edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [ebp - 0x10], eax
and ebx, 2
shr edi, 7
and edx, 4
mov dword [ebp - 0xc], edx
mov edx, esi
lea eax, [ecx + ecx]
and esi, 1
xor eax, dword [ebp - 8]
and edx, 2
shl eax, 0x19
mov dword [ebp - 4], eax
imul eax, edi, 0x1b000000
shl ecx, 2
xor ecx, dword [ebp - 8]
shl ecx, 8
xor dword [ebp - 4], eax
imul eax, dword [ebp - 0x10], 0x1b000000
xor dword [ebp - 4], eax
imul eax, ebx, 0x1b000000
xor dword [ebp - 4], eax
imul eax, esi, 0x1b000000
xor dword [ebp - 4], eax
imul eax, edx, 0x1b000000
xor dword [ebp - 4], eax
imul eax, dword [ebp - 0xc], 0x1b000000
xor dword [ebp - 4], eax
imul eax, dword [ebp - 0x10], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [ebp - 4]
xor ecx, eax
imul eax, dword [ebp - 0xc], 0x11b00
xor ecx, eax
mov eax, dword [ebp - 8]
or edx, ecx
lea ecx, [eax*8]
xor ecx, eax
imul eax, dword [ebp - 0x10], 0x11b0000
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, dword [ebp - 0xc], 0x11b0000
xor ecx, eax
mov eax, dword [ebp - 8]
or edx, ecx
lea ecx, [eax*4]
xor ecx, eax
imul eax, edi, 0x11b
add ecx, ecx
xor ecx, eax
imul eax, dword [ebp - 0x10], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
mov ebx, dword [ebp - 8]
xor ecx, eax
imul eax, dword [ebp - 0xc], 0x11b
xor ecx, eax
xor eax, eax
xor ecx, ebx
or ebx, edx
or ecx, edx
mov edx, dword [ebp - 0x14]
or eax, ebx
mov dword [edx*8 + 0x856a10], eax
mov dword [edx*8 + 0x856a14], ecx
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x100
jl 0x587070
pop edi
pop esi
mov byte [0x8342ba], 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5888d0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
movaps xmm0, xmmword [eax]
lea edx, [esi - 1]
pxor xmm0, xmmword [edi]
movaps xmmword [eax], xmm0
cmp edx, 1
jbe 0x58891d
add edx, 0xfffffffe
lea ecx, [edi + 0x10]
shr edx, 1
inc edx
lea esp, [esp]
movaps xmm0, xmmword [eax]
lea ecx, [ecx + 0x20]
aesenc xmm0, xmmword [ecx - 0x20]
movaps xmmword [eax], xmm0
aesenc xmm0, xmmword [ecx - 0x10]
movaps xmmword [eax], xmm0
sub edx, 1
jne 0x588900
movaps xmm0, xmmword [eax]
add esi, esi
aesenc xmm0, xmmword [edi + esi*8 - 0x10]
movaps xmmword [eax], xmm0
aesenclast xmm0, xmmword [edi + esi*8]
pop edi
movaps xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x588940
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x18]
sub esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movaps xmm1, xmmword [eax]
movaps xmm0, xmmword [ecx]
mov eax, dword [ebp + 0x14]
pxor xmm0, xmm1
movaps xmmword [ecx], xmm0
movaps xmm0, xmmword [edx]
push esi
mov esi, dword [ebp + 0x10]
pxor xmm0, xmm1
movaps xmmword [edx], xmm0
push edi
mov edi, dword [ebp + 0x1c]
movaps xmm0, xmmword [esi]
pxor xmm0, xmm1
movaps xmmword [esi], xmm0
movaps xmm0, xmmword [eax]
pxor xmm0, xmm1
movaps xmmword [eax], xmm0
cmp edi, 1
jbe 0x5889dd
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
add edi, 0x10
dec ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
mov edi, edi
sub dword [esp + 0xc], 1
lea edi, [edi + 0x10]
movaps xmm1, xmmword [edi - 0x10]
movaps xmm0, xmmword [ecx]
aesenc xmm0, xmm1
movaps xmmword [ecx], xmm0
movaps xmm0, xmmword [edx]
aesenc xmm0, xmm1
movaps xmmword [edx], xmm0
movaps xmm0, xmmword [esi]
aesenc xmm0, xmm1
movaps xmmword [esi], xmm0
movaps xmm0, xmmword [eax]
aesenc xmm0, xmm1
movaps xmmword [eax], xmm0
jne 0x5889a0
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
add edi, edi
movaps xmm0, xmmword [ecx]
movaps xmm1, xmmword [eax + edi*8]
mov eax, dword [ebp + 0x14]
aesenclast xmm0, xmm1
movaps xmmword [ecx], xmm0
movaps xmm0, xmmword [edx]
aesenclast xmm0, xmm1
movaps xmmword [edx], xmm0
movaps xmm0, xmmword [esi]
aesenclast xmm0, xmm1
movaps xmmword [esi], xmm0
movaps xmm0, xmmword [eax]
aesenclast xmm0, xmm1
pop edi
movaps xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x589160
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x834ad0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor ebx, ebx
mov dword [edi], fcn.0054f2d0
mov dword [edi + 4], 0x54f049
mov dword [edi + 8], ebx
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x78], 7
mov dword [edi + 0x7c], ebx
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], ebx
mov dword [edi + 0x88], ebx
mov dword [ebp - 4], eax
mov byte [edi + 0x8c], bl
mov dword [edi + 0xa8], ebx
mov dword [edi + 0xac], ebx
mov dword [edi + 0xb0], ebx
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], ebx
mov word [edi + 0xbc], bx
cmp dword [edi + 0xc], ebx
jne 0x5892af
lea eax, [edi + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push ebx
push 1
push ebx
push ebx
call esi
push ebx
push 1
push ebx
push ebx
mov dword [edi + 0xa8], eax
call esi
mov dword [edi + 0xac], eax
test eax, eax
je 0x589249
cmp dword [edi + 0xa8], ebx
je 0x589249
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
push 0x5894f0
push 0x10000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x88], eax
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.dbghelp.dll
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x64], eax
test eax, eax
je 0x58926e
push str.MiniDumpWriteDump
push eax
call esi
mov dword [edi + 0x68], eax
push str.rpcrt4.dll
call ebx
mov dword [edi + 0x70], eax
test eax, eax
je 0x589287
push 0x757818
push eax
call esi
mov dword [edi + 0x74], eax
lea esi, [edi + 0x10]
xor ebx, ebx
cmp esi, dword [ebp + 8]
je 0x58929e
push 0xffffffffffffffff
push ebx
push dword [ebp + 8]
mov ecx, esi
call fcn.0052900d
mov ecx, esi
call fcn.00528dce
mov ecx, edi
mov dword [edi + 0x58], eax
call fcn.00589c52
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
lea ecx, [edi + 0xc0]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00589e2c
cmp dword [ebp - 4], 1
mov esi, 0x834ad4
jne 0x5892d9
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x834af0], 0
jne 0x5892fe
push 0xc
call fcn.006484ac
pop ecx
mov dword [0x834af0], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
call fcn.00589dce
push 0x5895ed
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x589667
mov dword [edi + 0x7c], eax
call fcn.00677805
mov dword [edi + 0x80], eax
mov dword [esp], 0x5897e3
call fcn.0066dfbe
pop ecx
push esi
mov dword [edi + 0x84], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24