joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10022cf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091b00
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100c1490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
cmp dword [esi + 0x18], 0
jne 0x10022d9c
cmp dword [esi + 0x14], 0
je 0x10022d9c
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x10], eax
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x10023330
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
test eax, eax
je 0x10022d9c
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10024180
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
mov esi, dword [edi + 0xc]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
mov edx, dword [edi + 4]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
add ecx, ecx
mov ebx, dword [esi + ecx*4]
lea edi, [esi + ecx*4]
mov esi, dword [ebp + 0xc]
cmp ebx, edx
jne 0x100241de
mov ecx, edx
jmp 0x100241e3
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10024232
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x100241f2
mov eax, dword [eax]
jmp 0x100241d6
mov esi, dword [esi]
mov ecx, eax
mov dword [ebp + 0xc], esi
nop dword [eax]
cmp ebx, edx
jne 0x10024208
mov esi, edx
jmp 0x1002420d
mov esi, dword [edi + 4]
mov esi, dword [esi]
cmp eax, esi
je 0x1002421d
mov esi, dword [ebp + 0xc]
cmp esi, dword [eax + 8]
jne 0x1002421d
mov eax, dword [eax]
jmp 0x10024200
cmp ecx, eax
je 0x10024232
mov edx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [edx + 4], eax
mov eax, edx
mov dword [edx], ecx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov dword [eax + 4], edx
pop ebp
ret 8
Function at 0x100242b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x10024321
cmp dword [ecx], edi
jne 0x10024319
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x10024329
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10024329
cmp dword [ecx], edi
jne 0x1002432c
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.1005fb08
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1004b140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009565a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100c1490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x1004b1a7
lea eax, [esi + 0x68]
mov dword [esi], 0x1009bd20
mov dword [ebp + 8], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], 0
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 1
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov edi, dword [eax + 4]
add edi, esi
mov ecx, edi
call fcn.10002980
lea eax, [ebp - 0x1c]
mov dword [edi + 0x3c], 0
lea ebx, [esi + 4]
mov ecx, edi
push eax
mov dword [edi + 0x38], ebx
call fcn.100028e0
mov dword [ebp - 4], 4
push eax
call fcn.1000e840
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1004b214
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x1004b214
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp + 8]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x1004b239
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.10002800
mov dword [ebp - 4], 5
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], 0x1009bd1c
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ebp + 8], ebx
lea eax, [ecx - 0x68]
mov dword [ecx + esi - 4], eax
mov ecx, ebx
call fcn.1000e360
mov byte [ebp - 4], 6
lea eax, [ebx + 4]
mov dword [ebx + 0xc], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 0x14]
mov dword [ebx], 0x1009bce0
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x3d], 0
mov dword [ebx + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov dword [ebx + 0x4c], 0
mov eax, dword [0x100c289c]
mov dword [ebx + 0x40], eax
mov eax, dword [0x100c28a0]
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x38], 0
mov dword [ebp - 4], 0xffffffff
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 4
Function at 0x1004c170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100958b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100c1490]
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
cmp dword [ebx + 0x38], 0
je 0x1004c2d3
cmp byte [ebx + 0x3d], 0
je 0x1004c2d3
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x1004c1c4
xor al, al
jmp 0x1004c2d5
mov ecx, 0xf
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 8
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
nop
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1004c249
sub eax, 1
je 0x1004c24d
sub eax, 2
je 0x1004c29f
xor bl, bl
jmp 0x1004c2a1
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x1004c285
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.10071323
add esp, 0x10
cmp esi, eax
jne 0x1004c245
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x1004c29f
test esi, esi
jne 0x1004c210
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.1000c8d0
jmp 0x1004c209
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1004c2bd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1000cf10
mov dword [ebp - 0x14], 0xf
mov al, bl
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jmp 0x1004c2d5
mov al, 1
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.1005ff5d
mov esp, ebp
pop ebp
ret
Function at 0x100548f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100c1490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x18], 0
je 0x100549ac
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x20], 0
je 0x1005496b
push 0
call fcn.10068e96
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.10068df2
push eax
push str._H:_M:_S
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.100718d2
lea ecx, [ebp - 0x24]
add esp, 0x18
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054950
push dword [esi + 0x18]
sub ecx, edx
lea eax, [ebp - 0x24]
push 1
push ecx
push eax
call fcn.10071323
add esp, 0x10
push ebx
push 0
push edi
push dword [esi + 0x18]
call fcn.10001410
push dword [eax + 4]
push dword [eax]
call fcn.1006af58
add esp, 0x18
cmp dword [esi + 0x1c], 0
je 0x1005499a
push 0x100af6ec
push dword [esi + 0x18]
call fcn.10001430
add esp, 8
push dword [esi + 0x18]
call fcn.10070ae0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005ff5d
mov esp, ebp
pop ebp
ret 8
Function at 0x10058060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096e60
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x100c1490]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x128], esi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [0x100c2784]
call fcn.100540d0
add esp, 0x10
mov edi, eax
mov dword [ebp - 0x120], edi
test edi, edi
je 0x1005826c
cmp dword [edi], 0x4c
jne 0x1005826c
movups xmm0, xmmword [edi]
movups xmmword [esi + 0x1e8], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esi + 0x1f8], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esi + 0x208], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [esi + 0x218], xmm0
movq xmm0, qword [edi + 0x40]
movq qword [esi + 0x228], xmm0
mov eax, dword [edi + 0x48]
mov dword [esi + 0x230], eax
mov eax, dword [edi + 8]
add eax, 0x4c
cmp dword [ebp - 0x124], eax
jb 0x1005826c
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x118]
sub edx, ecx
nop
mov al, byte [ecx]
mov byte [edx + ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x10058140
lea eax, [ebp - 0x118]
push eax
call fcn.10053d40
add esp, 4
test ebx, ebx
je 0x10058189
cmp byte [ebx], 0
je 0x10058189
mov esi, ebx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10058166
sub ebx, esi
lea edi, [ebp - 0x118]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10058176
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
jmp 0x100581b1
lea edx, [edi + 0xc]
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x10058190
sub edx, esi
lea edi, [ebp - 0x118]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100581a0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebp - 0x128]
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x100581d1
push 1
push eax
call fcn.1005fbf4
add esp, 8
push dword [ebx + 0x1f0]
call fcn.10060201
mov dword [ebx + 0x190], eax
push dword [ebx + 0x1f0]
mov ecx, dword [ebp - 0x120]
add ecx, 0x4c
push ecx
push eax
call fcn.10063b20
lea edi, [ebx + 0x194]
push dword [ebx + 0x1ec]
push dword [ebx + 0x1f0]
push dword [ebx + 0x190]
push edi
call fcn.10058780
add esp, 0x20
test eax, eax
je 0x1005826c
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1005826c
push 0
lea eax, [ebp - 0x120]
push eax
push dword [ebx + 0x1ec]
push dword [edi]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x11c], 1
mov eax, 1
mov dword [ebp - 0x11c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10058293
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005ff5d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100582e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096e90
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100c1490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
lea eax, [ebx + 0x88]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10058320
sub eax, edx
je 0x10058452
cmp dword [ebx + 0x194], 0
je 0x10058452
cmp dword [ebx + 0x19c], 0
je 0x10058452
lea esi, [ebx + 0x190]
mov eax, dword [esi]
test eax, eax
je 0x10058366
push 1
push eax
call fcn.1005fbf4
add esp, 8
mov dword [esi], 0
mov eax, dword [ebx + 0x19c]
lea ecx, [ebx + 0x198]
push 0
push eax
push ecx
push dword [ebx + 0x194]
push eax
push esi
call fcn.10058650
add esp, 0x18
test eax, eax
je 0x10058448
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea eax, [ebx + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebx + 0x18c], eax
cmp eax, 0xffffffff
je 0x10058448
mov edi, dword [ebx + 0x198]
add edi, 0x4c
push edi
call fcn.10060201
mov esi, eax
mov dword [esi], 0x4c
mov eax, dword [ebx + 0x198]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x19c]
mov dword [esi + 4], eax
push 0x40
lea eax, [ebx + 0x1a0]
push eax
lea eax, [esi + 0xc]
push eax
call fcn.10057310
push dword [ebx + 0x198]
push dword [ebx + 0x190]
lea eax, [esi + 0x4c]
push eax
call fcn.10063b20
add esp, 0x1c
push 0
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push dword [ebx + 0x18c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, 1
cmp dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x1c]
cmove edi, eax
mov dword [ebp - 0x14], edi
push 0x50
push esi
call fcn.1005fbf4
add esp, 8
mov ecx, ebx
call fcn.10057f00
mov dword [ebx + 0x1e4], 0
mov dword [ebp - 4], 0xffffffff
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
Function at 0x10059310
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100970af
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x100c1490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ecx + 8]
push 0x10
test esi, esi
je 0x10059386
push 8
push esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
test edx, edx
jne 0x10059371
push str.____DataEvent::_Failed_to_allocate_memory_n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x100be22c
lea eax, [ebp + 8]
mov dword [ebp + 8], 1
push eax
call fcn.10063854
mov dword [edx + 4], esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [edx + 0xc], eax
jmp 0x100593ab
call fcn.10060201
mov edx, eax
add esp, 4
test edx, edx
je 0x1005935c
mov dword [edx + 4], 0
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov dword [edx + 0xc], ecx
mov dword [edx], 0x1009d720
mov dword [edx + 8], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1005b4a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097465
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100c1490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [0x100c1470]
mov dword [esi], eax
mov dword [ebp - 4], 0
mov eax, dword [0x100c1470]
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
mov eax, dword [0x100c1470]
mov dword [esi + 8], eax
mov byte [ebp - 4], 2
mov eax, dword [0x100c1470]
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 3
mov eax, dword [0x100c1470]
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 4
mov eax, dword [0x100c1470]
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 5
mov eax, dword [0x100c1470]
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 6
mov eax, dword [0x100c1470]
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 7
mov eax, dword [0x100c1470]
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 8
mov eax, dword [0x100c1470]
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 9
mov eax, dword [0x100c1470]
mov dword [esi + 0x28], eax
mov byte [ebp - 4], 0xa
mov eax, dword [0x100c1470]
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 0xb
mov eax, dword [0x100c1470]
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 0xc
mov eax, dword [0x100c1470]
mov dword [esi + 0x34], eax
mov byte [ebp - 4], 0xd
mov eax, dword [0x100c1470]
mov dword [esi + 0x38], eax
mov byte [ebp - 4], 0xe
mov eax, dword [0x100c1470]
mov dword [esi + 0x3c], eax
mov byte [ebp - 4], 0xf
mov eax, dword [0x100c1470]
mov dword [esi + 0x40], eax
mov byte [ebp - 4], 0x10
mov eax, dword [0x100c1470]
mov dword [esi + 0x44], eax
mov byte [ebp - 4], 0x11
lea ecx, [esi + 0x5c]
push 0
call fcn.10058d90
mov byte [ebp - 4], 0x12
lea ecx, [esi + 0x70]
push 0
call fcn.10058d90
mov byte [ebp - 4], 0x13
lea ecx, [esi + 0x84]
push 0
call fcn.10058d90
mov byte [ebp - 4], 0x14
lea ecx, [esi + 0x98]
push 0
call fcn.10058d90
mov byte [ebp - 4], 0x15
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1005b730
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100975c5
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100c1490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0x14
lea ecx, [esi + 0x98]
call fcn.10058e50
mov byte [ebp - 4], 0x13
lea ecx, [esi + 0x84]
call fcn.10058e50
mov byte [ebp - 4], 0x12
lea ecx, [esi + 0x70]
call fcn.10058e50
mov byte [ebp - 4], 0x11
lea ecx, [esi + 0x5c]
call fcn.10058e50
mov byte [ebp - 4], 0x10
lea ecx, [esi + 0x44]
call fcn.1005dd90
mov byte [ebp - 4], 0xf
lea ecx, [esi + 0x40]
call fcn.1005dd90
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x3c]
call fcn.1005dd90
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x38]
call fcn.1005dd90
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x34]
call fcn.1005dd90
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x30]
call fcn.1005dd90
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x2c]
call fcn.1005dd90
mov byte [ebp - 4], 9
lea ecx, [esi + 0x28]
call fcn.1005dd90
mov byte [ebp - 4], 8
lea ecx, [esi + 0x24]
call fcn.1005dd90
mov byte [ebp - 4], 7
lea ecx, [esi + 0x20]
call fcn.1005dd90
mov byte [ebp - 4], 6
lea ecx, [esi + 0x1c]
call fcn.1005dd90
mov byte [ebp - 4], 5
lea ecx, [esi + 0x18]
call fcn.1005dd90
mov byte [ebp - 4], 4
lea ecx, [esi + 0x14]
call fcn.1005dd90
mov byte [ebp - 4], 3
lea ecx, [esi + 0x10]
call fcn.1005dd90
mov byte [ebp - 4], 2
lea ecx, [esi + 0xc]
call fcn.1005dd90
mov byte [ebp - 4], 1
lea ecx, [esi + 8]
call fcn.1005dd90
mov byte [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.1005dd90
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.1005dd90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1005f410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
movzx ecx, word [eax + 0xe]
lea ebx, [eax + 0x10]
movzx eax, word [eax + 0xc]
add eax, ecx
mov dword [ebp + 0x10], eax
je 0x1005f4b8
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0x38f40
mov eax, dword [ebx + 4]
cmp eax, 0x80000000
jb 0x1005f471
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x1005f457
cmp word [ebx], 0x18
je 0x1005f4ad
inc ecx
and eax, 0x7fffffff
push ecx
push esi
add eax, edx
push eax
push edx
push edi
call fcn.1005f410
mov edx, dword [ebp + 0xc]
add esp, 0x14
jmp 0x1005f4ad
and eax, 0x7fffffff
mov ecx, dword [eax + edx]
add ecx, edi
mov edi, dword [eax + edx + 4]
shr edi, 2
test edi, edi
je 0x1005f4aa
mov eax, dword [esi]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
xor edx, edx
mov eax, dword [esi]
div dword [ebp - 4]
imul eax, edx, 0x2455
add eax, 0xc091
mov dword [esi], eax
sub edi, 1
jne 0x1005f486
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
add ebx, 8
sub dword [ebp + 0x10], 1
jne 0x1005f440
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005f4c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100c1490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, dword [eax + 0x3c]
xor esi, esi
add ebx, eax
mov dword [ebp - 0x10c], eax
movzx eax, word [ebx + 0x14]
lea edi, [ebx + 0x18]
add edi, eax
xor eax, eax
cmp ax, word [ebx + 6]
jae 0x1005f51e
nop word [eax + eax]
push str..rsrc
push edi
call fcn.10068623
add esp, 8
test eax, eax
je 0x1005f51e
movzx eax, word [ebx + 6]
inc esi
add edi, 0x28
cmp esi, eax
jl 0x1005f500
movzx eax, word [ebx + 6]
cmp esi, eax
jge 0x1005f61b
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.100638d0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x108]
push str.QA1Q0ZWQIE__d
push eax
call fcn.100481f0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
mov dword [ebp - 0x118], esi
test esi, esi
je 0x1005f61b
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1005f614
mov ebx, dword [edi + 0xc]
add ebx, dword [ebp - 0x10c]
mov eax, dword [ebx]
mov dword [ebp - 0x114], eax
test eax, eax
je 0x1005f60d
mov ecx, eax
shr ecx, 0x10
xor cl, 0x76
cmp al, cl
jne 0x1005f60d
mov ecx, eax
shr eax, 8
shr ecx, 0x18
xor cl, 0x5a
cmp al, cl
jne 0x1005f60d
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x110]
push eax
push 4
push dword [edi + 0x10]
push ebx
call esi
push 0
lea eax, [ebp - 0x114]
mov dword [ebx], 0
push eax
push ebx
push ebx
push dword [ebp - 0x10c]
call fcn.1005f410
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x110]
push dword [edi + 0x10]
push ebx
call esi
mov esi, dword [ebp - 0x118]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005ff5d
mov esp, ebp
pop ebp
ret

Function at 0x1007b352
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1007b1cf

Function at 0x1007dc4f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1007d8f1