joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1014aa18
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10194d44]
add eax, 0xfffffadd
mov dword [0x10194d44], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10194d48], 0x15f7
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x1014aa8f
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0x104
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
jl 0x1014aa5b
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [0x10194d44], 0x28a1
mov dword [0x10194d48], 0x2cb8
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jne 0x1014ab88
xor eax, eax
mov dword [0x10194d44], 0x7d9
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x24], eax
jne 0x1014ab88
xor eax, eax
mov dword [0x10194d44], 0x3dce
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x24], eax
jne 0x1014ab88
xor eax, eax
mov dword [0x10194d44], 0x20ef
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x24], eax
jne 0x1014ab88
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x24], eax
jne 0x1014ab88
mov dword [0x10194d44], 0x1c90
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x25], dl
xor eax, eax
mov cl, byte [ebp - 0x25]
test cl, 1
mov dword [ebp - 0x24], eax
jne 0x1014ab60
jmp 0x1014ab88
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
jne 0x1014ab88
mov dword [0x10194d44], 0x8a6
mov eax, 1
mov dword [ebp - 0x24], eax
jmp 0x1014ab88
mov eax, dword [ebp - 0x24]
add esp, 0x28
pop ebp
ret
Function at 0x1014b0f4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10194d50], 0
mov byte [0x10194d54], 0
mov dword [0x10194d48], 0x2272
mov edi, dword [0x10194d44]
add edi, 0xffffe432
mov dword [0x10194d44], edi
mov dword [0x10194d4c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10194d48], 0xde5
mov eax, dword [0x10194d4c]
add eax, 1
mov dword [0x10194d4c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1014b14b
xor eax, eax
mov dword [0x10194d4c], 0
mov ecx, dword [0x10194d44]
add ecx, 0xfffff4ce
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x1831
mov esi, 0x100
mov dword [0x10194d58], 0
mov edi, dword [0x10194d50]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x10194d58], ebx
mov dword [0x10194d48], 0x1119
mov eax, ebx
cdq
idiv esi
mov dword [0x10194d50], edx
mov dword [0x10194d44], ecx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
mov cl, byte [ecx + esi]
mov byte [0x10194d54], cl
mov dword [0x10194d48], 0x249d
mov ebx, dword [ebp - 0x18]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x10194d48], 0x1076
mov cl, byte [0x10194d54]
mov edx, dword [0x10194d50]
mov byte [ebx + edx], cl
mov dword [0x10194d44], 0x2363
mov edx, dword [0x10194d4c]
add edx, 1
mov dword [0x10194d4c], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
jl 0x1014b199
mov dword [0x10194d44], 0x3cc4
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1014b399
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.1014b399]
mov dword [0x10194d44], 0x12cc
mov ecx, dword [0x10194d48]
add ecx, 0xfffff509
mov dword [0x10194d48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, ecx
add edx, 0x5c2
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
jne 0x1014b404
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x1014b404
mov eax, dword [ebp - 0x14]
mov dword [0x10194d48], eax
mov eax, dword [ebp - 0xc]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 0x10]
add ecx, 0x164a
mov dword [0x10194d44], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
jmp 0x1014b3c7
Function at 0x1014b42b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1014d2b5]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x10194d44], 0xfffff764
mov dword [0x10194d48], 0xe7d
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1014baba
mov dword [0x10194d48], 0xefc
mov dword [0x10194d44], 0x784
call fcn.1014b5b4
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1014b68b
mov dword [0x10194d48], 0xe3a
mov dword [0x10194d44], 0x162c
mov dword [ebp - 0x3c], eax
xor eax, eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1014b578
mov eax, dword [ebp - 0x3c]
mov dword [0x10194d44], 0xbfe
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1014afc3
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x10194d48], 0x2241
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x40], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x58], ecx
mov dword [0x10194d44], 0x20d7
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1014b578
mov eax, dword [ebp - 0x44]
add eax, 0x166f
mov dword [0x10194d44], 0x556
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
jmp 0x1014b578
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop edi
pop ebp
ret
Function at 0x1014b805
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10194d44], 0x1b78
mov dword [0x10194d48], 0x1566
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x1014b8f4
lea eax, [0x1014d2b5]
mov ecx, 0xe
lea edx, [ebp - 0x12c]
mov dword [0x10194d44], 0x14bc
mov dword [0x10194d48], 0xfffff816
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], ecx
call fcn.1014baba
mov dword [0x10194d44], 0x784
call fcn.1014b5b4
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], eax
call fcn.1014b68b
mov dword [0x10194d64], eax
mov dword [0x10194d44], 0x867
mov ecx, esp
mov edx, dword [ebp - 0x144]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
jmp 0x1014b953
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, str.P_TC
imul esi, eax, 0xdc
mov edi, edx
add edi, esi
add edi, 0xa0
mov esi, dword [edi]
imul edi, eax, 0xdc
add edx, edi
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x514
mov ecx, edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
je 0x1014b843
jmp 0x1014b8f4
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, str.P_TC
imul esi, eax, 0xdc
mov edi, edx
add edi, esi
add edi, 0xa0
mov esi, dword [edi]
imul edi, eax, 0xdc
mov ebx, edx
add ebx, edi
add ebx, 0x40
mov edi, dword [ebx]
imul ebx, eax, 0xdc
add edx, ebx
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.1014bb71
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x514
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x1014b953
lea eax, [0x1014d2c3]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x10194d44], 0x2154
mov dword [0x10194d48], 0x4610
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.1014b0f4
mov eax, dword [0x10194d44]
add eax, 0x170f
mov dword [0x10194d48], eax
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x144]
mov dword [esp + 0xc], edx
call fcn.1014be29
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x9784e
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x118800
mov ecx, dword [ebp - 0x148]
add ecx, 0x1baf4
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x20a0
mov dword [0x10194d48], 0x1682
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1014be29
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10194d4c], 0
mov dword [0x10194d50], 0
mov dword [0x10194d5c], 0
mov dword [0x10194d44], 0x1445
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1014bfca
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x10194d44], 0x1a3e
add edx, 1
mov edi, eax
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x10194d4c], edx
mov dword [0x10194d48], 0x263
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10194d50], edx
mov dword [0x10194d48], 0x25c1
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x10194d54], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov edx, dword [0x10194d48]
add edx, 0x1fb5
mov dword [0x10194d44], edx
mov cl, byte [0x10194d54]
mov edx, dword [0x10194d50]
mov byte [ebx + edx], cl
mov edx, dword [0x10194d44]
add edx, 0x201f
mov dword [0x10194d44], edx
mov edx, dword [0x10194d4c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10194d50]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10194d5c], ecx
mov dword [0x10194d44], 0xfad
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov byte [0x10194d61], ch
mov byte [0x10194d62], cl
xor ch, cl
mov byte [0x10194d60], ch
mov dword [0x10194d44], 0x8f3
mov edx, dword [0x10194d48]
add edx, 0xffffec9d
mov dword [0x10194d48], edx
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
je 0x1014bfca
mov eax, dword [0x10194d4c]
mov ecx, dword [0x10194d50]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x1014be8c
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10009230
Capabilities:
Encode data using xor

Disassembly:
std
cmp al, 0xa7
sal ebx, 0xf7
aas
arpl word [esi], ax
xor dh, ch
stosb byte es:[edi], al
mov dword [edx + 0x291feb2], eax
pushal
or eax, 0x79d0bb7f
movsd dword es:[edi], dword [esi]
push es
cdq
jnp 0x10009215
push ebx
push edx
aad 0x98
adc byte [esi - 0x13], 0x59
adc esp, dword [edi + 0x439b6d1]
clc
retf 0xb093

Function at 0x10015830
Capabilities:
Encode data using xor

Disassembly:
ret
adc ah, bl
jp 0x10015806
dec edi
sti
inc edi
les esi, [ebx]
insd dword es:[edi], dx
pop ebp
mov es, word [esi + 0x79a44423]
dec esp
jp 0x100157e1
in al, 0x39
push eax
adc al, byte [0x8a98e7be]
xchg esi, eax
xchg ecx, eax
xor al, byte [ecx]
fnstcw word ss:[ecx - 0x7808ef1c]
shld dword [edi + 0x4aa5eaa7], ebx, 0xd1
xor eax, 0xe91ccc52
dec esi
call dword [ecx]
cmp byte [ecx + 0x21], dl
mov edx, 0x1407bff9
fsub st(7), st(0)
jecxz 0x1001581a
stc
invalid
Function at 0x10012c4d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10012ca8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10012c89
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x10012ca6
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.10018883
mov dword [eax], 1
jmp 0x10012c7e
jmp 0x10012cbe
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10012cbe
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esp, ebp
pop ebp
ret
Function at 0x1002c7b4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002c7d3
push 0x1537
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x1002c83b
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1002c801
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jg 0x1002c83b
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
jmp 0x1002c820
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x1002c839
push dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
call fcn.10018883
mov dword [eax], 0xa18394d2
jmp 0x1002c819
jmp 0x1002c7f6
mov esp, ebp
pop ebp
ret
Function at 0x10031ddd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10031dfa
push 0x816
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x10031e4d
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10031e1c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jg 0x10031e4d
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10031e4b
push 0x16c2
push 0
push 0x1068
push 0
push 0xa7c
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
jmp 0x10031e11
mov esp, ebp
pop ebp
ret
Function at 0x10033ba7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10033bcb
xor eax, eax
jmp 0x10033d10
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10033be9
xor eax, eax
jmp 0x10033d10
lea eax, [ebp - 8]
push eax
push 0x6cb5
lea eax, [ebp - 0xc]
push eax
push 1
push 0x2285
call fcn.100338e7
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x10033c12
xor eax, eax
jmp 0x10033d10
lea eax, [ebp - 4]
push eax
push 0x78f1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x228e
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.10033970
add esp, 0x20
push 0x5b75
push dword [ebp + 8]
push dword [ebp - 4]
push 0x298f
push 0
push dword [ebp - 8]
call fcn.1002a974
add esp, 0x18
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.10033a37
add esp, 0x10
cmp dword [ebp - 0x14], 0
je 0x10033c8f
push 1
push 0x42f5
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x224e
call fcn.10033a8b
add esp, 0x14
push dword [ebp - 4]
call fcn.100322a4
pop ecx
test eax, eax
jne 0x10033ca0
xor eax, eax
jmp 0x10033d10
push 1
lea eax, [ebp - 4]
push eax
call fcn.10033af7
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10033cf8
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x10033ccc
xor eax, eax
jmp 0x10033d10
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10033ce5
xor eax, eax
jmp 0x10033d10
push 0x1ef1
push 1
lea eax, [ebp - 4]
push eax
call fcn.10033b64
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10033d09
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10033d0d
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1004b165
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004b193
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1004b191
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x1004b1bc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 2
mov ecx, dword [ebp - 0x14]
call fcn.10018883
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x10086732
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1009238c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10076b14
mov dword [ebp - 0x14], eax
cmp dword [0x1067fde8], esi
jne 0x10086825
push 0x800
push esi
push 0x1000929c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100867b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10086905
push esi
push esi
push 0x1000929c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10086905
push 0x100092b4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10086905
push eax
call ebx
push 0x100092c0
push edi
mov dword [0x1067fde8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100092d0
push edi
mov dword [0x1067fdec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100092e4
push edi
mov dword [0x1067fdf0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067fdf8], eax
test eax, eax
je 0x10086822
push 0x10009300
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067fdf4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1008684a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1008683d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1008685f
push 4
pop eax
jmp 0x10086907
cmp dword [ebp - 0x14], esi
je 0x1008685f
push dword [0x1067fde8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10086844
mov eax, dword [0x1067fdf4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100868bd
cmp dword [0x1067fdf8], edi
je 0x100868bd
push eax
call ebx
push dword [0x1067fdf8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100868bd
test eax, eax
je 0x100868bd
call ecx
test eax, eax
je 0x100868b2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100868b2
test byte [ebp - 8], 1
jne 0x100868bd
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100868ed
mov eax, dword [0x1067fdec]
cmp eax, edi
je 0x100868ea
push eax
call ebx
test eax, eax
je 0x100868ea
call eax
mov esi, eax
test esi, esi
je 0x100868ea
mov eax, dword [0x1067fdf0]
cmp eax, edi
je 0x100868ea
push eax
call ebx
test eax, eax
je 0x100868ea
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067fde8]
call ebx
test eax, eax
je 0x10086905
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10086907
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10072375
mov esp, ebp
pop ebp
ret