joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10284058
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x10284216
jmp 0x1028414a
mov dword [0x102d49a0], 0x667
mov eax, dword [ebp - 0x1c]
add eax, 1
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
mov dword [ebp - 0x24], eax
jb 0x102840e7
jmp 0x102841f7
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov dx, word [ecx]
mov dword [0x102d49a0], 0x26b6
shr dx, 1
movzx esi, dx
cmp dx, 0
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], edi
je 0x1028419b
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x36], dx
mov word [ebp - 0x38], di
jb 0x1028411b
mov ax, word [ebp - 0x36]
mov word [ebp - 0x38], ax
mov ax, word [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov byte [ebp - 0x39], bl
jne 0x102841f7
jmp 0x10284096
mov dword [0x102d49a4], 0x25ed
mov dword [0x102d49a0], 0x14fc
mov ecx, dword fs:[0x18]
mov dword [0x102d49a0], 0xffffeafc
mov eax, dword [ecx + 0x30]
mov dword [0x102d49a4], 0xffffd3cf
mov eax, dword [eax + 0xc]
add eax, 0x14
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, eax
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], dl
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x40]
cmp eax, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], ecx
je 0x10284216
mov dword [0x102d49a0], 0xe77
mov eax, dword [ebp - 0x2c]
add eax, 0x24
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x41]
and bh, bl
test bh, 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x48], esi
jne 0x102841ea
jmp 0x102840b7
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x10284216
mov al, byte [ebp - 0x39]
test al, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
jne 0x10284206
jmp 0x1028419b
mov dword [0x102d49a4], 0xffffc994
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10284624
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x102d49ac], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov byte [0x102d49b0], 0
mov dword [0x102d49a0], 0x1f87
mov dword [0x102d49a8], 0
mov dword [ebp - 0x1c], eax
jmp 0x10284753
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102d49b4], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102d49a0], 0x17de
mov edi, dword [0x102d49ac]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x102d49b4], esi
mov dword [0x102d49a4], 0x51e
mov dword [0x102d49a0], 0xffffe312
mov eax, esi
cdq
idiv ecx
mov dword [0x102d49ac], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102d49b0], cl
mov dword [0x102d49a0], 0x1980
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov esi, dword [0x102d49a0]
add esi, 0x1ff7
mov dword [0x102d49a4], esi
mov cl, byte [0x102d49b0]
mov esi, dword [0x102d49ac]
mov byte [ebx + esi], cl
mov dword [0x102d49a0], 0x5e6
mov esi, dword [0x102d49a4]
add esi, 0xfffffd1a
mov dword [0x102d49a4], esi
mov esi, dword [0x102d49a8]
add esi, 1
mov dword [0x102d49a8], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1028466e
jmp 0x10284797
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102d49a8]
add eax, 1
mov dword [0x102d49a8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10284753
xor eax, eax
mov dword [0x102d49a0], 0xd51
mov dword [0x102d49a8], 0
mov dword [ebp - 0x20], eax
jmp 0x1028466e
mov dword [0x102d49a0], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102847b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x16c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x102d49a0], 0xeb4
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
imul edi, eax, 0xb4
mov ebx, esi
add ebx, edi
add ebx, 0x48
mov edi, dword [ebx]
imul ebx, eax, 0xb4
add esi, ebx
add esi, 0x44
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0x6cf
mov ecx, esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x140], edx
jne 0x102847e3
mov eax, dword [ebp - 0x140]
mov cl, byte [eax + 0x1028747b]
mov dl, byte [eax + 0x1028744c]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x140], eax
jne 0x10284844
lea eax, [ebp - 0x12c]
mov dword [0x102d49a0], 0xf0b
mov dword [ebp - 0x144], eax
call fcn.102855ba
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.1028437e
mov ecx, eax
mov dword [0x102d49c0], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x102d49a4]
add edx, 0xffffd942
mov dword [0x102d49a0], edx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
mov esi, dword [ebp - 0x148]
add esi, eax
mov edi, ecx
add edi, 1
imul ebx, ecx, 0xb4
mov dword [ebp - 0x154], eax
mov eax, edx
add eax, ebx
add eax, 0x48
imul ebx, ecx, 0xb4
mov dword [ebp - 0x158], eax
mov eax, edx
add eax, ebx
add eax, 0x44
imul ecx, ecx, 0xb4
add edx, ecx
mov ecx, dword [ebp - 0x158]
mov ebx, dword [ecx]
mov edx, dword [edx]
movzx eax, word [eax]
xor eax, ebx
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x160], eax
call fcn.10284b34
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x154]
add eax, ecx
mov edx, dword [ebp - 0x15c]
cmp edx, 0x6cf
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], eax
jne 0x102848f3
lea eax, [0x1028745a]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x102d49a4], 0xe6d
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], ecx
call fcn.10284624
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.10285102
xor eax, eax
mov dword [0x102d49a0], 0x1e27
mov ecx, dword [ebp - 0x148]
add ecx, 0x141702
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x119e00
mov ecx, dword [ebp - 0x148]
add ecx, 0x13a082
mov dword [edx + 8], ecx
mov ecx, dword [0x102d49a0]
add ecx, 0xffffe53e
mov dword [0x102d49a0], ecx
mov dword [edx + 0xc], 0x1ff0
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10284bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x102d49a4], 0x26de
mov dword [ebp - 0x10], eax
call fcn.10284221
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x102d49a4], 0xe73
mov eax, dword [eax + esi]
cmp eax, 0x4550
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edi
je 0x10284c0c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x78]
mov dword [0x102d49a0], 0x16bd
mov ecx, eax
add ecx, 0x20
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov ebx, dword [esi + edi + 0x18]
cmp ebx, 0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
je 0x10284c6e
jmp 0x10284c79
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
jmp 0x10284c8d
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jmp 0x10284c52
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x14]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x10284cde
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x10284c8d
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x10284d14
jmp 0x10284ce7
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x28]
cmp edx, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], eax
jb 0x10284c52
jmp 0x10284c6e
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x14]
add edi, dword [edx + ecx*4]
mov dword [0x102d49a0], 0x22a3
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
jmp 0x10284c6e
Function at 0x10284d89
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
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 [0x102d49a0], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10284dd3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10284def
jmp 0x10284ea0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x10284e7d
jmp 0x10284e58
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0x14]
mov word [ebp - 0x1e], dx
mov ax, word [ebp - 0x1e]
cmp ax, 0x64
jne 0x10284ea0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10284e91
jmp 0x10284ea0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x10284ea7
jmp 0x10284ea0
mov dword [0x102d49a0], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10284dbf
jmp 0x10284ea0
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [0x102d49a0], 0x9f6
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x10284dd3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x10284e39
jmp 0x10284ea0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10284e20
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x10284ea7
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x10284eaf
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x10284ec9
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1028747b]
mov dl, byte [eax + 0x1028744c]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10284ec9
lea eax, [ebp - 0x24]
mov dword [0x102d49a0], 0x1372
mov dword [ebp - 0x34], eax
call fcn.102855ba
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1028437e
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10284fe0
mov eax, dword [ebp - 0x38]
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 ecx, dword [0x102d49a0]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
add eax, 0xffffdbc9
mov dword [0x102d49a0], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
call fcn.10284517
xor eax, eax
mov ecx, dword [0x102d49a0]
add ecx, 0xffffe005
mov dword [0x102d49a4], ecx
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x48], ecx
mov dword [0x102d49a0], 0x19c4
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
add ecx, 0x2668
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x10284fd7
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x54
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x54
pop esi
pop ebp
ret
Function at 0x10285102
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x102d49a8], 0
mov dword [0x102d49ac], 0
mov dword [0x102d49b8], 0
mov edi, dword [0x102d49a4]
add edi, 0xfffff338
mov dword [0x102d49a0], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jne 0x10285175
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov edi, edx
add edi, 1
mov dword [0x102d49a0], 0x20d1
mov dword [0x102d49a4], 0x7e7
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x102d49a8], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102d49ac], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102d49b0], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x102d49b0]
mov edx, dword [0x102d49ac]
mov byte [ebx + edx], cl
mov dword [0x102d49a4], 0x2664
mov edx, dword [0x102d49a8]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x102d49ac]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102d49b8], ecx
mov dword [0x102d49a0], 0x1fb1
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov byte [0x102d49bd], ch
mov byte [0x102d49be], cl
xor ch, cl
mov byte [0x102d49bc], ch
mov dword [0x102d49a0], 0x251f
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov dword [0x102d49a4], 0x13d3
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x1028516d
mov eax, dword [0x102d49a8]
mov ecx, dword [0x102d49ac]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
jmp 0x10285175
Function at 0x102853c5
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
lea eax, [esp + 0x78]
lea ecx, [esp + 0x20]
mov dword [0x102d49a0], 0x1f19
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.102847b4
lea ecx, [0x10284d42]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x30], edx
mov dword [esp + 0x44], 0x119e00
mov edx, dword [0x102d498c]
mov dword [esp + 0x60], edx
mov edx, dword [0x102d4990]
mov dword [esp + 0x74], edx
mov edx, dword [0x102d4994]
mov dword [esp + 0x40], edx
mov edx, dword [0x102d4998]
mov dword [esp + 0x54], edx
mov edx, dword [0x102d499c]
mov dword [esp + 0x6c], edx
mov dword [0x102d49a4], 0x4bf
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x10285453
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x10285476
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x1028548a
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10285453
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov dword [0x102d49a4], 0xe73
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x50], edx
call fcn.10284d89
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x1028544b
lea eax, [esp + 0x20]
mov dword [0x102d49a4], 0x341
mov ecx, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10284eaf
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x10], eax
jmp 0x1028544b
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x3ada6024
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x4b5e0e76
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x6d8811d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [esp + 0xc], 0x6d8850a0
mov dword [esp + 8], 0x40
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._memmove
mov dword [esp + 0xc], 0x6d885160
mov eax, dword [ebp - 4]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
leave
ret