joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e9c2
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x43c7df
call fcn.0043b650
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00402b75
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.00402b75
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00402b75
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00402b75
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.00402b75
and byte [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call fcn.00402b75
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.00402b75
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40f141
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x43c907
call fcn.0043b650
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00402c8d
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00402c8d
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00402c8d
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00402c8d
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00402c8d
mov al, byte [edi + 0x3c]
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], al
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.00402c8d
add edi, 0x4c
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
call fcn.00402c8d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x41431c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 4]
push ebx
push esi
mov esi, dword [ecx]
xor edx, edx
push edi
test eax, eax
mov ebx, 0x159a55e5
mov edi, 0x1f123bb5
mov dword [ebp - 4], eax
jbe 0x41436c
mov eax, 0xffff
mov ecx, ebx
and ecx, eax
imul ecx, ecx, 0x9069
shr ebx, 0x10
add ebx, ecx
mov ecx, edi
and ecx, eax
imul ecx, ecx, 0x4650
shr edi, 0x10
add edi, ecx
mov ecx, edi
xor cl, byte [ebp + 8]
mov byte [edx + esi], cl
inc edx
cmp edx, dword [ebp - 4]
jb 0x414340
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41a9c8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43d5f2
call fcn.0043b650
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x32], bl
mov byte [esi + 0x33], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
call fcn.0041aa74
lea eax, [esi + 0x8c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.0040f256
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41a9d4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43d5f2
call fcn.0043b650
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x32], bl
mov byte [esi + 0x33], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
call fcn.0041aa74
lea eax, [esi + 0x8c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.0040f256
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41d3a3
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x43d9ea
call fcn.0043b650
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.00402b75
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0041d3fd
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41d3ae
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x43d9ea
call fcn.0043b650
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.00402b75
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0041d3fd
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41d44f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x43da35
call fcn.0043b650
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.00429282
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0041d4a5
push dword [esi + 0x24]
call fcn.00401c54
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.0042f305
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0041da69
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41eba7
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43dc4a
call fcn.0043b650
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x442b18
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
lea ecx, [esi + 0x48]
mov dword [ebp - 4], edi
call fcn.00402b75
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.00402b75
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], edi
mov dword [esi], fcn.0041e3f3
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41f73e
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x43dcd9
call fcn.0043b650
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov byte [esi + 0xa], bl
mov byte [esi + 0xb], bl
call fcn.00402515
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00402515
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00402515
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.00402515
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x421990
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x43dfbe
call fcn.0043b650
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 1
call fcn.0042f305
and byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.004219d2
push dword [esi + 0xc]
call fcn.00401c54
pop ecx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x421d53
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x43e086
call fcn.0043b650
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
lea ecx, [ebx + 0xc]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
lea eax, [esi + 0xc]
push eax
call fcn.00402c8d
and dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [ebx + 0x18]
call fcn.00421f76
mov eax, dword [esi + 0x24]
lea ecx, [ebx + 0x30]
mov dword [ebx + 0x24], eax
mov al, byte [esi + 0x28]
mov byte [ebx + 0x28], al
mov al, byte [esi + 0x29]
mov byte [ebx + 0x29], al
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
lea eax, [esi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.00421ede
mov eax, dword [esi + 0x3c]
add esi, 0x44
mov dword [ebx + 0x3c], eax
mov eax, dword [esi - 4]
lea edi, [ebx + 0x44]
mov dword [ebx + 0x40], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x421de6
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x43e0b9
call fcn.0043b650
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0041c878
mov al, byte [edi + 8]
and dword [ebp - 4], 0
mov byte [esi + 8], al
mov al, byte [edi + 9]
mov byte [esi + 9], al
mov al, byte [edi + 0xa]
mov byte [esi + 0xa], al
mov al, byte [edi + 0xb]
mov byte [esi + 0xb], al
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00402571
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00402571
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00402571
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00402571
mov eax, dword [edi + 0x40]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x42a56a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x43eaf1
call fcn.0043b650
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x10]
push eax
call fcn.00402c8d
and dword [ebp - 4], 0
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.00402c8d
mov eax, dword [edi + 0x28]
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
lea eax, [edi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.00402c8d
lea eax, [edi + 0x3c]
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00402c8d
mov al, byte [edi + 0x48]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x48], al
mov al, byte [edi + 0x49]
mov byte [esi + 0x49], al
mov al, byte [edi + 0x4a]
mov byte [esi + 0x4a], al
mov al, byte [edi + 0x4b]
mov byte [esi + 0x4b], al
mov al, byte [edi + 0x4c]
mov byte [esi + 0x4c], al
mov al, byte [edi + 0x4d]
mov byte [esi + 0x4d], al
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov al, byte [edi + 0x6c]
mov byte [esi + 0x6c], al
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42f51d
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x43f182
call fcn.0043b650
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x443de0
mov dword [esi + 4], 0x44212c
mov dword [esi + 8], 0x442160
mov dword [esi + 0xc], 0x442c30
mov dword [esi + 0x10], 0x443dcc
mov dword [esi + 0x14], 0x443dbc
mov dword [esi + 0x18], 0x442150
mov dword [esi + 0x1c], 0x442140
mov dword [esi + 0x20], 0x443db4
mov dword [esi + 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
or dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
call fcn.00402b75
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.00402b75
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 6
call fcn.00402b75
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
or dword [esi + 0xa8], 0xffffffff
mov byte [ebp - 4], 8
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xac], ebx
mov byte [esi + 0xb0], bl
mov byte [esi + 0xb1], bl
mov byte [esi + 0xb2], bl
mov byte [esi + 0xb3], bl
mov byte [esi + 0xb4], bl
mov byte [esi + 0xb5], bl
mov byte [esi + 0xb6], bl
mov byte [esi + 0xb7], bl
mov dword [esi + 0xb8], ebx
mov dword [esi], 0x443d88
mov dword [esi + 4], 0x443d74
mov dword [esi + 8], 0x443d5c
mov dword [esi + 0xc], 0x443d40
mov dword [esi + 0x10], 0x443d2c
mov dword [esi + 0x14], 0x443d1c
mov dword [esi + 0x18], 0x443d0c
mov dword [esi + 0x1c], 0x443cfc
mov dword [esi + 0x20], 0x443cf4
call fcn.0040f256
mov byte [esi + 0x28], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x4372f5
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43f9d2
call fcn.0043b650
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x445c8c
mov dword [esi + 4], 0x445c74
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00402b75
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], bl
mov byte [esi + 0x59], bl
mov dword [esi], 0x445c58
mov dword [esi + 4], 0x445c40
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x437301
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43f9d2
call fcn.0043b650
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x445c8c
mov dword [esi + 4], 0x445c74
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00402b75
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], bl
mov byte [esi + 0x59], bl
mov dword [esi], 0x445c58
mov dword [esi + 4], 0x445c40
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x453000
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x40
lea eax, [esp + 0x44]
lea ecx, [esp]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
push 0
push eax
push 0x40
push ecx
push esi
call ebx
test eax, eax
je 0x453175
cmp dword [esp + 0x54], 0x40
jne 0x453175
cmp word [esp + 0x10], 0x5a4d
jne 0x453175
mov edx, dword [esp + 0x4c]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push edx
push esi
call ebp
cmp eax, 0xffffffff
je 0x453175
lea eax, [esp + 0x54]
push 0
push eax
push 0xf8
push 0x459960
push esi
call ebx
test eax, eax
je 0x453175
cmp dword [esp + 0x54], 0xf8
jne 0x453175
cmp dword [0x459960], 0x4550
jne 0x453175
mov eax, dword [0x459976]
test ah, 0x20
jne 0x453175
mov edx, dword [0x459a80]
xor eax, eax
mov ax, word [0x459966]
add eax, edx
lea eax, [eax + eax*4]
shl eax, 3
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [0x459a58], eax
je 0x453175
push 1
push 0
push 0
push esi
call ebp
mov dword [0x459a6c], eax
xor eax, eax
mov ax, word [0x459966]
mov edx, dword [0x459a58]
lea ecx, [esp + 0x54]
push 0
lea edi, [eax + eax*4]
push ecx
shl edi, 3
push edi
push edx
push esi
call ebx
test eax, eax
je 0x453175
cmp dword [esp + 0x54], edi
jne 0x453175
push 1
push 0
push 0
push esi
call ebp
mov ecx, dword [0x459a80]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov eax, dword [0x4599b4]
cmp edx, eax
ja 0x453175
mov edi, dword [0x459a58]
mov ecx, dword [0x459988]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
add eax, edx
cmp ecx, eax
jae 0x453175
xor eax, eax
push 2
mov ax, word [0x459966]
push 0
push 0
push esi
lea ecx, [eax + eax*4]
mov ebx, dword [edi + ecx*8 - 0x18]
lea edi, [edi + ecx*8]
call ebp
mov edx, dword [edi - 0x14]
add edx, ebx
cmp eax, edx
jne 0x453175
cmp dword [edi - 0x20], ebx
ja 0x453175
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
Function at 0x455769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x459190
cmp edx, dword [eax]
je 0x45578b
add eax, 8
inc ecx
cmp eax, 0x459220
jl 0x45577c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x459190]
jne 0x4558b9
mov eax, dword [0x459bb0]
cmp eax, 1
je 0x455893
test eax, eax
jne 0x4557bc
cmp dword [0x4590e4], 1
je 0x455893
cmp edx, 0xfc
je 0x4558b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4557f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00456670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00456490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x455836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00456490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x45845c
push edi
call fcn.00456f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00456670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00456680
lea eax, [ebp - 0xa0]
push 0x45843c
push eax
call fcn.00456680
push dword [esi + 0x459194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00456680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00456e75
add esp, 0x2c
pop edi
jmp 0x4558b9
lea eax, [ebp + 8]
lea esi, [esi + 0x459194]
push 0
push eax
push dword [esi]
call fcn.00456490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10001f70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edx, 0x6df
sub eax, dword [esp - 0x4e]
mov edx, 0x6df
sub eax, dword [esp - 0x4e]
add cx, 0x4f
xor dx, word [esp - 0x71]
add ax, dx
mov edx, 0x996
xor dx, word [esp - 0x30]
mov eax, dword [sym.imp.GDI32.dll_GetGlyphOutlineW]
mov bh, byte [eax + 4]
sub cl, al
mov cl, byte [esp - 0x32]
mov cl, al
add ax, 0x48
sub ax, word [esp - 0x80]
add cx, 0x4f
xor dx, word [esp - 0x71]
add ax, dx
mov edx, 0x996
xor dx, word [esp - 0x30]
push 0x80
call fcn.100026a6
mov edi, eax
add esp, 4
mov dword [ebp - 0xc], edi
add edx, eax
xor ecx, 0xdf2
mov eax, 0xa3e
add edx, dword [esp - 0x79]
xor al, byte [esp - 0x79]
xor ecx, dword [esp - 0x73]
sub eax, 0x254
mov edx, 0xead
mov edx, 0x10044000
mov esi, edi
sub edx, edi
mov edi, 0x80
mov dword [ebp - 4], edx
nop dword [eax]
sub cl, al
mov cl, byte [esp - 0x32]
mov cl, al
add ax, 0x48
sub ax, word [esp - 0x80]
mov bl, byte [edx + esi]
mov edx, 0x6df
sub eax, dword [esp - 0x4e]
add edx, eax
xor ecx, 0xdf2
mov eax, 0xa3e
add edx, dword [esp - 0x79]
xor al, byte [esp - 0x79]
xor ecx, dword [esp - 0x73]
xor ecx, 0x156
add cl, al
sub dx, ax
xor edx, dword [esp - 0x35]
sub cl, 0x2a
mov al, bh
xor al, bl
xor al, 0xec
mov byte [esi], al
sub al, 0x1e
add dx, 0x1c
add cx, word [esp - 0x2a]
mov cx, 0x5e
add al, byte [esp - 0x76]
mov edx, dword [ebp - 4]
lea esi, [esi + 1]
sub edi, 1
jne 0x10002020
mov ax, word [esp - 0x43]
xor cl, 0x3d
mov cl, al
add cl, al
add dx, 0x66
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [eax], ecx
mov dword [eax + 4], 0x80
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x80
mov edi, ecx
push 0
push edi
call fcn.100046f0
add esp, 0xc
mov dword [edi + 0x80], 0
xor ecx, 0x156
add cl, al
sub dx, ax
xor edx, dword [esp - 0x35]
sub cl, 0x2a
xor esi, esi
mov ax, 0xa
xor ecx, eax
xor dx, ax
mov al, 0x2e
mov cx, dx
sub al, cl
nop word [eax + eax]
mov edx, 0x6df
sub eax, dword [esp - 0x4e]
sub cl, al
mov cl, byte [esp - 0x32]
mov cl, al
add ax, 0x48
sub ax, word [esp - 0x80]
mov eax, esi
xor edx, edx
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov bl, byte [edx + eax]
mov ax, word [esp - 0x43]
xor cl, 0x3d
mov cl, al
add cl, al
add dx, 0x66
mov byte [esi + edi], bl
add edx, eax
xor ecx, 0xdf2
mov eax, 0xa3e
add edx, dword [esp - 0x79]
xor al, byte [esp - 0x79]
xor ecx, dword [esp - 0x73]
inc esi
cmp esi, 0x80
jb 0x100022e0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8