joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c11a
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5cc280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [edi]
mov dword [esi], ecx
test ecx, ecx
je 0x41d962
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [ebp - 4], 1
mov ecx, dword [edi + 4]
mov byte [ebp - 4], 2
mov dword [esi + 4], ecx
test ecx, ecx
je 0x41d97d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 4
mov dword [esi + 8], ecx
test ecx, ecx
je 0x41d991
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 6
mov dword [esi + 0xc], ecx
test ecx, ecx
je 0x41d9a5
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
movzx eax, byte [edi + 0x10]
lea ecx, [esi + 0x18]
mov byte [esi + 0x10], al
movzx eax, byte [edi + 0x11]
mov byte [esi + 0x11], al
movzx eax, byte [edi + 0x12]
mov byte [esi + 0x12], al
movzx eax, byte [edi + 0x13]
mov byte [esi + 0x13], al
movzx eax, byte [edi + 0x14]
mov byte [esi + 0x14], al
movzx eax, byte [edi + 0x15]
mov byte [esi + 0x15], al
movzx eax, byte [edi + 0x16]
mov byte [esi + 0x16], al
movzx eax, byte [edi + 0x17]
mov byte [esi + 0x17], al
lea eax, [edi + 0x18]
push eax
mov byte [ebp - 4], 7
call fcn.00407f80
lea eax, [edi + 0x24]
mov byte [ebp - 4], 8
lea ecx, [esi + 0x24]
push eax
call fcn.00407f80
lea eax, [edi + 0x30]
mov byte [ebp - 4], 9
lea ecx, [esi + 0x30]
push eax
call fcn.00407f80
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
movq xmm0, qword [edi + 0x44]
movq qword [esi + 0x44], xmm0
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ecx
movzx eax, byte [edi + 0x60]
mov byte [esi + 0x60], al
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x6c]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x74]
mov dword [esi + 0x70], eax
lea eax, [edi + 0x78]
mov dword [esi + 0x74], ecx
lea ecx, [esi + 0x78]
push eax
mov byte [ebp - 4], 0xa
call fcn.0041dbf0
lea eax, [edi + 0xa8]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [esi + 0xa8]
call fcn.0041dbf0
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xdc]
mov dword [esi + 0xd8], eax
mov eax, esi
mov dword [esi + 0xdc], ecx
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 0x41dac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c1b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5cc280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 3
mov dword [edi + 0x11], 0
mov word [edi + 0x15], 0
mov byte [edi + 0x17], 0
call fcn.00408160
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
call fcn.00408160
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 5
call fcn.00408160
lea esi, [edi + 0x78]
mov dword [edi + 0x44], 0
xor eax, eax
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], eax
lea ecx, [esi + 0x18]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 6
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.00408160
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 7
call fcn.00408160
lea esi, [edi + 0xa8]
mov byte [ebp - 4], 8
mov dword [ebp - 0x14], esi
lea ecx, [esi + 0x18]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00408160
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 9
call fcn.00408160
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 0x41dc90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c247
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5cc280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x10], 0
mov dword [edi], vtable.COpenCallbackImp.0
mov dword [edi + 4], vtable.COpenCallbackImp.1.0
mov dword [edi + 8], vtable.COpenCallbackImp.2.0
mov dword [edi + 0xc], vtable.COpenCallbackImp.3.0
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 2
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
call fcn.00408160
lea ecx, [edi + 0x50]
mov byte [ebp - 4], 3
call fcn.00408160
lea esi, [edi + 0x60]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0040b670
lea ecx, [esi + 0x28]
call fcn.00408160
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 5
call fcn.0041bf40
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 0x41ddd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c270
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5cc280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.0051d90c
push dword [esi + 0xc0]
call fcn.0051d90c
push dword [esi + 0x9c]
call fcn.0051d90c
push dword [esi + 0x90]
call fcn.0051d90c
push dword [esi + 0x30]
call fcn.0051d90c
push dword [esi + 0x24]
call fcn.0051d90c
push dword [esi + 0x18]
call fcn.0051d90c
add esp, 0x1c
mov ecx, dword [esi + 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x41de50
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x41de64
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x41de78
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x41de8b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x421c60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c880
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x5cc280]
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 edi, ecx
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x820], edi
mov dword [ebp - 4], 0
lea esi, [eax + 0x68]
mov dword [ebp - 0x824], esi
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x81c], eax
lea eax, [ebp - 0x81c]
push eax
mov byte [ebp - 4], 1
mov byte [ebp - 0x818], 0
mov byte [ebp - 0x816], 0
call fcn.004238e0
add esp, 4
test eax, eax
je 0x421dae
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebp - 0x816], 0
je 0x421d36
mov byte [edi + 0x1c], 1
push dword [esi + 0x44]
call fcn.004077f0
cmp byte [esi + 0x40], 0
je 0x421d30
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
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.0051d6f6
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x41], 1
jmp 0x421d14
cmp byte [ebp - 0x818], 0
jne 0x421dc4
mov eax, dword [edi + 0x20]
push 0
push dword [eax + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x800
lea eax, [ebp - 0x814]
push 0
push eax
call fcn.0051f720
add esp, 0xc
lea eax, [ebp - 0x814]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.00423670
lea ecx, [ebp - 0x814]
push ecx
push eax
call fcn.00422f90
add esp, 8
test eax, eax
jne 0x421cf0
mov ecx, edi
mov byte [ebp - 0x818], 1
mov byte [edi + 0x1c], al
call fcn.004219d0
jmp 0x421cf4
cmp byte [ebp - 0x818], 0
jne 0x421dc4
cmp byte [ebp - 0x816], 0
jne 0x421cf0
mov ecx, edi
mov byte [edi + 0x1c], 0
call fcn.004219d0
jmp 0x421cf4
Function at 0x4238e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c93c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5cc280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
call fcn.0051d8c5
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x423969
push 8
call fcn.0051d8c5
add esp, 4
test eax, eax
je 0x423940
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], 0x4239a0
jmp 0x423942
xor eax, eax
mov dword [ebp - 0x14], eax
lea edi, [esi + 4]
mov byte [ebp - 4], 1
push edi
push 0
push eax
push 0x4236f0
push 0
push 0
call fcn.00521a0b
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x423988
jmp 0x42396b
xor esi, esi
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051d6f6
mov esp, ebp
pop ebp
ret
push 6
mov dword [edi], 0
call fcn.0051ebfd
int3
Function at 0x4aa3a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cc4d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5cc280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
call fcn.0051d8c5
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4aa3eb
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
jmp 0x4aa3ed
xor ecx, ecx
mov dword [ebp - 0x14], ecx
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x4aa580
push 0
push 0
call fcn.00521a0b
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x4aa434
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051d6f6
mov esp, ebp
pop ebp
ret 8
push 6
mov dword [edi], 0
call fcn.0051ebfd
int3
Function at 0x51d240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
lea esi, [ebp - 0x12c]
xor bl, bl
mov edi, 0x10
nop dword [eax]
movzx eax, bl
lea esi, [esi + 4]
add ecx, eax
add bl, 4
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [ebp - 4]
shl edx, 8
or edx, eax
mov dword [esi - 4], edx
sub edi, 1
jne 0x51d260
lea eax, [ebp - 0x128]
mov ebx, 0x30
nop
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax + 0x30]
mov edi, edx
mov ecx, edx
ror edi, 0x12
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 0x11
ror edx, 0x13
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax + 0x1c]
add edi, dword [eax - 8]
mov dword [eax + 0x38], edi
sub ebx, 1
jne 0x51d2a0
mov ebx, dword [ebp - 4]
add ebx, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 0x40
movups xmm0, xmmword [ebx]
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [ebp - 0x14], xmm0
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov edi, ebx
mov esi, dword [ebp - 0x20]
mov eax, ebx
ror eax, 0xb
mov ecx, ebx
ror edi, 0x19
not ecx
and ecx, dword [ebp - 0xc]
xor edi, eax
mov eax, ebx
ror eax, 6
xor edi, eax
mov eax, dword [ebp - 0x10]
and eax, ebx
xor ecx, eax
mov eax, dword [ebp - 4]
add edi, ecx
add dword [ebp - 4], 4
add edi, dword [eax + 0x532aa0]
add edi, dword [ebp + eax - 0x12c]
add edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, edx
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
add ebx, edi
mov eax, esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov ecx, eax
mov dword [ebp - 0x20], eax
ror eax, 0xd
ror ecx, 0x16
xor ecx, eax
mov eax, dword [ebp - 0x24]
ror eax, 2
xor ecx, eax
mov eax, esi
or eax, edx
and esi, edx
and eax, dword [ebp - 0x24]
add ecx, edi
or eax, esi
add eax, ecx
sub dword [ebp - 0x28], 1
mov dword [ebp - 0x24], eax
jne 0x51d303
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x24]
mov ebx, dword [ebp - 0x2c]
mov edx, 8
mov eax, dword [ecx]
lea ecx, [ecx + 4]
add dword [ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x51d3a3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51d520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
xor eax, eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
cmp dword [ebp + 0xc], eax
jbe 0x51d6e7
mov edx, dword [ebp + 8]
push esi
push edi
mov ecx, dword [ebx + 0x40]
mov al, byte [edx + eax]
mov byte [ebx + ecx], al
inc dword [ebx + 0x40]
cmp dword [ebx + 0x40], 0x40
jne 0x51d6d5
xor al, al
lea esi, [ebp - 0x138]
mov byte [ebp - 1], al
mov edi, 0x10
nop dword [eax + eax]
movzx ecx, al
lea esi, [esi + 4]
movzx eax, byte [ecx + ebx]
add ecx, ebx
shl eax, 8
movzx edx, byte [ecx + 1]
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
shl edx, 8
or edx, eax
mov al, byte [ebp - 1]
add al, 4
mov dword [esi - 4], edx
mov byte [ebp - 1], al
sub edi, 1
jne 0x51d570
lea eax, [ebp - 0x134]
lea ebx, [edi + 0x30]
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax + 0x30]
mov edi, edx
mov ecx, edx
ror edi, 0x12
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 0x11
ror edx, 0x13
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax + 0x1c]
add edi, dword [eax - 8]
mov dword [eax + 0x38], edi
sub ebx, 1
jne 0x51d5b0
mov ebx, dword [ebp - 0x30]
add ebx, 0x50
mov dword [ebp - 8], 0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], 0x40
movups xmm0, xmmword [ebx]
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [ebp - 0x18], xmm0
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov edi, ebx
mov esi, dword [ebp - 0x24]
mov eax, ebx
ror eax, 0xb
mov ecx, ebx
ror edi, 0x19
not ecx
and ecx, dword [ebp - 0x10]
xor edi, eax
mov eax, ebx
ror eax, 6
xor edi, eax
mov eax, dword [ebp - 0x14]
and eax, ebx
xor ecx, eax
mov eax, dword [ebp - 8]
add edi, ecx
add dword [ebp - 8], 4
add edi, dword [eax + 0x532aa0]
add edi, dword [ebp + eax - 0x138]
add edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, edx
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
add ebx, edi
mov eax, esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov ecx, eax
mov dword [ebp - 0x24], eax
ror eax, 0xd
ror ecx, 0x16
xor ecx, eax
mov eax, dword [ebp - 0x28]
ror eax, 2
xor ecx, eax
mov eax, esi
or eax, edx
and esi, edx
and eax, dword [ebp - 0x28]
add ecx, edi
or eax, esi
add eax, ecx
sub dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], eax
jne 0x51d613
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x38]
mov edx, 8
mov eax, dword [ecx]
lea ecx, [ecx + 4]
add dword [ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x51d6b3
mov ebx, dword [ebp - 0x30]
add dword [ebx + 0x48], 0x200
mov dword [ebx + 0x40], edx
adc dword [ebx + 0x4c], edx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp + 0xc]
jb 0x51d542
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x51dea0
Capabilities:
Terminate process

Disassembly:
test byte [0x5cc2e8], 0x20
jne 0x51debe
vmovq xmm0, xmm0
vcvttpd2qq xmm0, xmm0
vmovd eax, xmm0
vpextrd edx, xmm0, 1
ret
mov ecx, esp
add esp, 0xfffffff8
and esp, 0xfffffff8
movsd qword [esp], xmm0
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov esp, ecx
btr edx, 0x1f
sbb ecx, ecx
cmp edx, 0x41e00000
jae 0x51df1e
cvttsd2si eax, xmm0
cdq
ret
mov ecx, edx
bts edx, 0x14
shr ecx, 0x14
and edx, 0x1fffff
sub ecx, 0x433
jge 0x51df18
neg ecx
push ebx
xor ebx, ebx
shrd ebx, eax, cl
je 0x51df11
cvttss2si ebx, dword [0x532bec]
pop ebx
shrd eax, edx, cl
shr edx, cl
ret
shld edx, eax, cl
shl eax, cl
ret
cmp edx, 0x43e00000
jae 0x51df37
test ecx, ecx
je 0x51dee8
call 0x51dee8
neg eax
adc edx, 0
neg edx
ret
jecxz 0x51df3f
ja 0x51df3f
test eax, eax
je 0x51df47
cvttss2si ecx, dword [0x532be8]
mov edx, SysReAllocStringLen
xor eax, eax
ret

Function at 0x51e623
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x51e662
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x51e662
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x51e662
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x51e662
cmp dword [ecx + 0x74], 0xe
jbe 0x51e662
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x52adc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x52aded
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x52aded
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401ba0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407048
call sym._EnterCriticalSection_4
mov ebx, dword [0x407040]
sub esp, 4
test ebx, ebx
je 0x401beb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401be4
test esi, esi
je 0x401be4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401bc0
mov dword [esp], 0x407048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401dd0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401e20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401ef8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401e5e
cmp eax, 4
jne 0x401e80
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401e6e
cmp edx, 4
je 0x401e6e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401dd0
Function at 0x427e1e
Capabilities:
Encode data using xor

Disassembly:
inc ebp
inc ebp
mov dword [0xbd78300d], eax
cmp eax, 0x314208e6
sbb cl, ch
xor dword [0xbd78c030], edi
inc ebp
mov cl, 0xa3
or eax, 0x3dbd7830
or byte [edx + 0x31], al
sbb ch, dl
xor dword [0xbd78c030], edi
jmp 0xc072bb61
inc edx
xor dword [eax], ebx
aad 0x31
cmp eax, 0xbd78c030
inc ebp
movsd dword es:[edi], dword [esi]
mov dword [0xbd78300d], eax
cmp eax, 0x314208fe
sbb cl, al
xor dword [0xbd78c030], edi
inc ebp
cdq
mov dword [0xbd78300d], eax
cmp eax, 0x3142080a
sbb byte [ebp - 0x3fcfc2cf], ch
js 0x427e2b
inc ebp
lea esp, [ebx - 0x4287cff3]
cmp eax, 0x31420816
sbb byte [ecx - 0x3fcfc2cf], bl
js 0x427e3f
inc ebp
and dword [ebx - 0x4287cff3], 0x4208223d
xor dword [eax], ebx
test dword [ecx], esi
cmp eax, 0xbd78c030
inc ebp
jne 0x427e3c
or eax, 0x3dbd7830
or byte cs:[edx + 0x31], al
sbb byte [ecx + 0x31], dh
jno 0x427ed6
cmp eax, 0xbd78c030
inc ebp
imul esp, dword [ebx - 0x4287cff3], 0x42093a3d
xor dword [eax], ebx
pop ebp
xor dword [0xbd78c030], edi
inc ebp
pop ebp
mov dword [0xbd78300d], eax
cmp eax, 0x31420946
sbb byte [ecx + 0x31], cl
cmp eax, 0xbd78c030
inc edx
xor dword [eax], ebx
dec ecx
xor dword [0xbd78c030], edi
inc ebp
cdq
mov byte [0xbd78300d], al
xor byte [eax - 0x43], bh
cmp eax, 0x31420952
sbb byte [0xc0303d31], dh
js 0x427ea3
inc ebp
lea esp, [edx - 0x4287cff3]
cmp eax, 0x3142095e
sbb byte [ecx], ah
xor byte [0xbd78c030], bh
inc ebp
mov dword [edx - 0x4287cff3], esp
cmp eax, 0x3142096a
sbb byte [0xc0303d30], cl
js 0x427ecb
cmp eax, 0x30f6035d
js 0x427ec8
hlt
Function at 0x10001a90
Capabilities:
Check for debugger via api
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10070014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0xc], 0
call fcn.100019f0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x10001b98
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], 0
jne 0x10001b98
movaps xmm0, xmmword [0x10067da0]
xor eax, eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x3a040503
mov dword [ebp - 0x24], 0xf090518
mov word [ebp - 0x20], 0x1919
mov byte [ebp - 0x1e], 0
nop
mov cl, byte [ebp - 0x38]
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0x19
jb 0x10001b00
push ebx
mov byte [ebp - 0x1c], 0x7e
mov al, 0x10
xor al, byte [ebp - 0x1c]
mov bl, 0x12
mov ah, bl
mov byte [ebp - 0x1b], al
mov al, byte [ebp - 0x1c]
mov dl, 0x1a
mov bh, ah
mov byte [ebp - 0xd], ah
xor bl, al
mov byte [ebp - 0x12], 0
xor ah, al
mov byte [ebp - 0x1e], 0
xor bh, al
mov byte [ebp - 0x17], ah
mov dh, dl
mov byte [ebp - 0x18], bl
xor dl, al
mov byte [ebp - 0x14], bh
xor dh, al
mov byte [ebp - 0x19], dl
mov cl, 0xa
mov byte [ebp - 0x15], dh
xor cl, al
mov byte [ebp - 0x12], 0
mov ch, 0x50
mov byte [ebp - 0x1a], cl
xor ch, al
mov al, byte [ebp - 0xd]
xor al, byte [ebp - 0x1c]
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x37]
push eax
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x16], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebx
test eax, eax
je 0x10001bab
push 0
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x10001bab
cmp dword [ebp - 0xc], 0
je 0x10001bab
push 9
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10054950
mov esp, ebp
pop ebp
ret