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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov esi, dword [0x1024be20]
add esi, 0x975
mov dword [0x1024be1c], esi
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 0x10222c13
jmp 0x10222a4c
mov eax, dword [ebp - 0x1c]
mov dword [0x1024be1c], eax
mov dword [0x1024be20], 0x1a43
mov cl, byte [ebp - 0x1d]
test cl, 1
jne 0x10222bcd
jmp 0x10222bdf
mov dword [0x1024be1c], 0xab3
mov dword [0x1024be20], 0x104a
mov ecx, dword fs:[0x18]
mov dword [0x1024be1c], 0x1cc0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov dword [0x1024be1c], 0xffffffd2
mov eax, dword [eax + 0x14]
cmp eax, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
je 0x10222c04
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [0x1024be20]
add edx, 0xa85
mov esi, dword [ebp - 0x28]
mov byte [ebp - 0x29], cl
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [0x1024be20], eax
mov dx, word [ecx + 0x24]
mov eax, dword [ecx + 0x28]
mov dword [0x1024be1c], 0x128b
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x29]
and bh, bl
test bh, 1
mov dword [ebp - 0x38], ecx
mov word [ebp - 0x3a], dx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esi
jne 0x10222afd
jmp 0x10222b0d
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x10222c13
mov dword [0x1024be1c], 0x4e4
mov ax, word [ebp - 0x3a]
shr ax, 1
mov word [ebp - 0x46], ax
xor eax, eax
mov cx, word [ebp - 0x46]
movzx edx, cx
cmp cx, 0
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], eax
je 0x10222bdf
mov eax, dword [ebp - 0x50]
mov ecx, 0xb88
mov edx, dword [ebp - 0x40]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov word [ebp - 0x5a], si
mov word [ebp - 0x5c], bx
jb 0x10222b79
mov ax, word [ebp - 0x5a]
mov word [ebp - 0x5c], ax
mov ax, word [ebp - 0x5c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x54]
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 esi, dword [ebp - 0x58]
mov byte [ebp - 0x1d], bl
mov dword [ebp - 0x1c], esi
jne 0x10222a29
mov eax, 0x1367
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov edx, dword [ebp - 0x4c]
cmp ecx, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x50], ecx
jb 0x10222b3d
jmp 0x10222a29
mov dword [0x1024be1c], 0xffffff5b
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
jmp 0x10222c13
mov eax, 0x270e
mov dword [0x1024be20], 0x1c89
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x24]
cmp edx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
jne 0x10222abd
xor eax, eax
mov dword [0x1024be1c], 0x2307
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10222d7a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov dword [0x1024be1c], 0xf73
call fcn.1000108c
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x34], ecx
je 0x10222e3e
jmp 0x10222f2a
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
jmp 0x10222f2a
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.10222fcc
mov ecx, 0x2746
lea edx, [0x1022434d]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x68], 0x140e00
mov esi, dword [0x1024be08]
mov dword [esp + 0x64], esi
mov esi, dword [0x1024be0c]
mov dword [esp + 0x98], esi
mov esi, dword [0x1024be10]
mov dword [esp + 0x54], esi
mov esi, dword [0x1024be14]
mov dword [esp + 0x8c], esi
mov esi, dword [0x1024be18]
mov dword [esp + 0x90], esi
mov dword [0x1024be1c], 0x1e5d
mov dword [0x1024be20], 0x24b3
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
jmp 0x10222e6b
lea eax, [esp + 0x48]
mov dword [0x1024be20], 0x1785
mov dword [esp + 0x20], eax
call fcn.102240cc
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x30], ecx
je 0x10222dba
jmp 0x10222dad
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jne 0x10222e9f
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x14]
cmp dword [eax], 0x4550
je 0x10222ebe
mov eax, 0x28b6
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x10222e6b
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x18]
mov dword [0x1024be20], edx
mov esi, dword [esp + 0x10]
mov edi, dword [ecx + esi + 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [ecx], edx
mov dword [0x1024be1c], 0x1e8f
mov esi, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.102232b7
mov ecx, esp
lea edx, [esp + 0x48]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x30], eax
jmp 0x10222dad
mov eax, dword [esp + 0x34]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x102232b7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, str._on_
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x1024be20], 0xf28
mov dword [0x1024be1c], 0x1293
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.102239de
mov dword [0x1024be20], 0x1bd
call fcn.10223531
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.102237a3
mov dword [ebp - 0x3c], eax
xor eax, eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x102233f0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x1024be1c]
add ecx, 0x712
mov dword [0x1024be20], ecx
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 [0x1024be1c], 0xbf7
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.102235e5
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x28], ecx
mov dword [0x1024be1c], 0xf53
mov ecx, dword [ebp - 0x44]
mov dword [edx + 8], ecx
mov dword [0x1024be20], 0xb33
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x102233f0
mov eax, dword [ebp - 0x44]
add eax, 0x118b
mov dword [0x1024be1c], 0x2066
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x10223b24
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]
xor edi, edi
mov dword [0x1024be24], 0
mov dword [0x1024be28], 0
mov dword [0x1024be34], 0
mov dword [0x1024be1c], 0x498
mov dword [0x1024be20], 0xe3f
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 0x10223cc2
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x1024be1c], 0xfffff2ab
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1024be24], edx
mov dword [0x1024be20], 0x83e
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1024be28], edx
mov dword [0x1024be1c], 0x1daa
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1024be2c], cl
mov dword [0x1024be1c], 0x2573
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x1024be2c]
mov edx, dword [0x1024be28]
mov byte [edi + edx], cl
mov dword [0x1024be1c], 0x258c
mov edx, dword [0x1024be24]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1024be28]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1024be34], ebx
mov dword [0x1024be20], 0x1aff
mov dword [0x1024be1c], 0xfa
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x1024be39], ch
mov byte [0x1024be3a], cl
xor ch, cl
mov byte [0x1024be38], ch
mov dword [0x1024be1c], 0x28d6
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov dword [0x1024be20], 0x7d8
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10223cc2
mov eax, dword [0x1024be28]
mov ecx, dword [0x1024be24]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x10223b91
mov dword [0x1024be1c], 0x397
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10223d87
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, 0x24f6
mov dword [0x1024be28], 0
mov byte [0x1024be2c], 0
mov dword [0x1024be20], 0x1ef1
mov dword [0x1024be1c], 0x24f6
mov dword [0x1024be24], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add eax, 0xffffe203
mov dword [0x1024be1c], eax
mov eax, ecx
mov dl, al
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], dl
mov ecx, dword [0x1024be1c]
mov esi, ecx
add esi, 0xffffe242
mov dword [0x1024be20], esi
mov esi, dword [0x1024be24]
add esi, 1
mov dword [0x1024be24], esi
cmp esi, 0x100
mov edi, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jl 0x10223dde
mov dword [0x1024be1c], 0x102a
mov dword [0x1024be24], 0
xor eax, eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffff6b9
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, 0x1ed7
mov esi, 0x100
mov dword [ebp - 0x30], eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x34], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov dword [0x1024be30], 0
mov ebx, dword [ebp - 0x30]
mov dword [0x1024be1c], ebx
mov ebx, dword [0x1024be28]
mov edi, dword [ebp - 0x18]
movzx edi, byte [edi + ecx]
add edi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x1024be30], edi
mov dword [0x1024be1c], 0x1a9c
mov eax, edi
cdq
idiv esi
mov dword [0x1024be28], edx
mov dword [0x1024be20], 0x2bd1
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x1024be2c], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x1024be2c]
mov ecx, dword [0x1024be28]
mov byte [esi + ecx], bl
mov dword [0x1024be20], 0xa60
mov dword [0x1024be1c], 0x2186
mov ecx, dword [0x1024be24]
add ecx, 1
mov dword [0x1024be24], ecx
cmp ecx, 0x100
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jl 0x10223e56
mov dword [0x1024be1c], 0xfffff31b
mov dword [0x1024be20], 0xffffe0e4
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10223f3f
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 [0x1024be20], 0x27a
mov dword [0x1024be1c], 0x121c
mov dword [ebp - 0x10], eax
call fcn.10222c1e
mov ecx, eax
mov dword [0x1024be20], 0x3660
mov edx, dword [eax + 0x3c]
mov dword [0x1024be1c], 0x17e2
mov edx, dword [eax + edx + 0x78]
mov dword [0x1024be20], 0x18a9
mov eax, dword [eax + edx + 0x20]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov ebx, dword [esi + edi + 0x24]
mov dword [0x1024be1c], 0x1d5d
mov edx, dword [esi + edi + 0x18]
cmp edx, 0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
je 0x102240c1
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
add ecx, edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x1024be1c], 0x1c5e
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x18]
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 - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x1022405a
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x10224009
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x1022408d
jmp 0x10224063
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov edx, dword [ebp - 0x3c]
add edx, 2
mov esi, dword [ebp - 0x24]
cmp ecx, esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
jb 0x10223fe5
jmp 0x102240c1
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x14]
add edx, 0x1c
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x54]
add eax, dword [eax + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x50]
add edx, dword [eax + esi*4]
mov dword [0x1024be1c], 0x2555
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102240cc
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1024be1c]
mov ecx, eax
add ecx, 0xffffeae2
mov dword [0x1024be20], ecx
mov dword [ebp - 4], 0
add eax, 0xffffe7ca
mov dword [0x1024be1c], eax
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 [0x1024be1c], 0x256b
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1022413d
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0x104
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], ecx
jge 0x10224153
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 - 0x1c], edx
jne 0x1022411f
mov eax, dword [ebp - 0x1c]
mov dword [0x1024be1c], 0x7e6
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x1022422f
mov dword [0x1024be1c], 0xe40
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x21], dl
mov al, byte [ebp - 0x21]
test al, 1
jne 0x1022419c
jmp 0x1022422f
mov dword [0x1024be20], 0x242f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1022422f
mov dword [0x1024be1c], 0x6f6
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff6
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp word [eax], 0x64
jne 0x1022422f
mov dword [0x1024be1c], 0xf06
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1022422f
mov dword [0x1024be1c], 0x2a3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1022422f
mov dword [0x1024be1c], 0x1286
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
je 0x1022424b
mov eax, dword [0x1024be20]
mov dword [ebp - 0x30], eax
xor eax, eax
mov ecx, dword [ebp - 0x30]
add ecx, 0xa08
mov dword [0x1024be1c], ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add esp, 0x30
pop ebp
ret
Function at 0x898800
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e0000]
push edi
or ebp, 0xffffffff
jmp 0x898822
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x898829
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x898818
mov eax, 1
add ebx, ebx
jne 0x89883b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x89884c
jne 0x89886b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x89886b
dec eax
add ebx, ebx
jne 0x898858
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x898830
add ebx, ebx
jne 0x898867
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8988bd
xor ecx, ecx
sub eax, 3
jb 0x898883
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8988f2
sar eax, 1
mov ebp, eax
jmp 0x89888e
add ebx, ebx
jne 0x89888e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x89885c
inc ecx
add ebx, ebx
jne 0x89889c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x89885c
add ebx, ebx
jne 0x8988a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x89889e
jne 0x8988ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x89889e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8988dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8988ce
jmp 0x89881e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8988dc
add edi, ecx
jmp 0x89881e
pop esi
mov edi, esi
mov ecx, 0x6a20
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8988fa
cmp byte [edi], 0xe
jne 0x8988fa
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 al, bl
loop 0x8988ff
lea edi, [esi + 0x48f000]
mov eax, dword [edi]
or eax, eax
je 0x898977
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x49cb94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x49ccd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x89892c
mov ecx, edi
jns 0x89895b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x49ccd8]
or eax, eax
je 0x898971
mov dword [ebx], eax
add ebx, 4
jmp 0x898949
call dword [esi + 0x49cce8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8989a8
cmp al, 0xef
ja 0x89899b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x89897d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x89898a
mov ebp, dword [esi + 0x49ccdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x8989dc
sub esp, 0xffffff80
jmp 0x4af6b0
Function at 0xdee9c7
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x11c
cmp dword [esp + 0x128], 0
je 0xdeeb8c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x130]
xor ebp, ebp
push edi
mov dword [esp + 0x1c], ebp
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0xdeeb88
mov edx, esi
mov eax, dword [edx]
mov ebx, dword [esp + 0x130]
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x10]
add eax, ebx
lea edi, [ecx + ebx]
mov dword [esp + 0x20], eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0xdeea32
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [esp + 0x10], eax
push 0x104
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00de7142
add esp, 0xc
test ebx, ebx
je 0xdeeb32
mov eax, dword [esp + 0x18]
and dword [esp + 0x14], 0
mov eax, dword [eax]
test eax, eax
je 0xdeeb1b
mov esi, dword [esp + 0x10]
xor edi, edi
mov ebp, dword [esp + 0x130]
test eax, eax
jns 0xdeea77
movzx ebx, ax
jmp 0xdeea7c
lea ebx, [ebp + 2]
add ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x20]
mov dword [edi + ecx], eax
test eax, eax
jne 0xdeeaf3
cmp dword [0xdf3eac], 1
jne 0xdeeaf3
push 0x104
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00de7142
lea eax, [esp + 0x34]
push eax
call fcn.00deec74
lea eax, [esp + 0x38]
push 0xde6204
push eax
call fcn.00de7170
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.00de7170
add esp, 0x20
lea eax, [esp + 0x24]
push 0
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00de7197
pop ecx
push eax
lea eax, [esp + 0x34]
push eax
push dword [0xdf3e58]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc ecx
mov edi, ecx
mov dword [esp + 0x14], ecx
shl edi, 2
mov eax, dword [edi + eax]
test eax, eax
jne 0xdeea70
mov esi, dword [esp + 0x134]
mov ebp, dword [esp + 0x1c]
inc ebp
imul edx, ebp, 0x14
mov dword [esp + 0x1c], ebp
add edx, esi
mov ecx, dword [edx + 0xc]
test ecx, ecx
jne 0xdee9f9
jmp 0xdeeb88
lea eax, [esp + 0x28]
push eax
call fcn.00deec74
lea eax, [esp + 0x2c]
mov dword [esp], 0xde61e8
push eax
call fcn.00de7170
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00de7170
add esp, 0x10
cmp dword [0xdf3eac], 1
jne 0xdeeb88
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00de7197
pop ecx
push eax
lea eax, [esp + 0x34]
push eax
push dword [0xdf3e58]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
xor eax, eax
add esp, 0x11c
ret
Function at 0xdeebc2
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push 0x208
lea eax, [ebp - 0x410]
push eax
call fcn.00deec40
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0xdf3d24], eax
push 0
push 0
push 0
push 2
push 0
push dword [0xdf3d24]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0xdf3d28], eax
push 0
push 0
push 0
push 4
push dword [0xdf3d28]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
add eax, dword [0xdf3eb4]
mov esp, ebp
pop ebp
ret