joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101afe94
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 0x101afecb
jmp 0x101afee9
mov eax, dword [ebp - 0x18]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [ebp - 0x19]
test al, 1
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
jne 0x101b005e
jmp 0x101aff41
mov dword [0x101cc950], 0x25ed
mov dword [0x101cc94c], 0x14fc
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x28], ecx
mov dword [0x101cc94c], 0xffffeafc
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x30]
mov dword [0x101cc950], 0xffffd3cf
mov ecx, dword [ecx + 0xc]
add ecx, 0x14
mov edx, dword [ebp - 0x10]
cmp edx, 0
setne bl
mov esi, ecx
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 0x2d], bl
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x2c]
cmp eax, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ecx
je 0x101afecb
mov eax, dword [ebp - 0x20]
add eax, 0x24
mov dword [0x101cc94c], 0xe77
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x2d]
and bh, bl
test bh, 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], esi
jne 0x101aff91
jmp 0x101affa7
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
jmp 0x101afecb
mov eax, dword [ebp - 0x34]
mov cx, word [eax]
mov dword [0x101cc94c], 0x26b6
mov word [ebp - 0x42], cx
xor eax, eax
mov cx, word [ebp - 0x42]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], eax
je 0x101aff41
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x38]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x50], eax
mov word [ebp - 0x52], dx
mov word [ebp - 0x54], di
jb 0x101b0013
mov ax, word [ebp - 0x52]
mov word [ebp - 0x54], ax
mov ax, word [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
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 - 0x19], bl
jne 0x101afed6
mov dword [0x101cc94c], 0x667
mov eax, dword [ebp - 0x50]
add eax, 1
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
mov dword [ebp - 0x4c], eax
jb 0x101affdf
jmp 0x101afed6
mov dword [0x101cc950], 0xffffc994
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
jmp 0x101afecb
Function at 0x101b0485
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 [0x101cc958], 0
mov byte [0x101cc95c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x101cc94c], 0x1f87
mov dword [0x101cc954], 0
mov dword [ebp - 0x1c], eax
jmp 0x101b04de
mov dword [0x101cc94c], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101cc954]
add eax, 1
mov dword [0x101cc954], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101b04de
xor eax, eax
mov dword [0x101cc94c], 0xd51
mov dword [0x101cc954], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101cc960], 0
mov dword [0x101cc94c], 0x17de
mov edx, dword [0x101cc958]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x101cc960], edi
mov dword [0x101cc950], 0x51e
mov dword [0x101cc94c], 0xffffe312
mov eax, edi
cdq
idiv ecx
mov dword [0x101cc958], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x101cc95c], cl
mov dword [0x101cc94c], 0x1980
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x101cc94c]
add ecx, 0x1ff7
mov dword [0x101cc950], ecx
mov cl, byte [0x101cc95c]
mov edx, dword [0x101cc958]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x101cc94c], 0x5e6
mov edx, dword [0x101cc950]
add edx, 0xfffffd1a
mov dword [0x101cc950], edx
mov edx, dword [0x101cc954]
add edx, 1
mov dword [0x101cc954], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101b051d
jmp 0x101b04cc
Function at 0x101b0a5e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x101cc950], 0x26de
mov dword [ebp - 0x10], eax
call fcn.101b0073
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x101cc950], 0xe73
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 0x101b0aae
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101cc94c], 0x16bd
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
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 0x101b0af2
jmp 0x101b0b4e
mov al, byte [ebp - 0x31]
test al, 1
jne 0x101b0bb3
jmp 0x101b0afd
mov eax, dword [ebp - 0x30]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edx
jb 0x101b0b60
jmp 0x101b0af2
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x31], cl
je 0x101b0ae5
jmp 0x101b0b7c
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edx
jmp 0x101b0b23
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x58], eax
mov al, byte [ebp - 0x51]
cmp al, 0
setne cl
mov dl, byte [ebp - 0x31]
and dl, cl
mov esi, dword [ebp - 0x58]
cmp esi, 0x20
setb cl
and dl, cl
test dl, 1
mov dword [ebp - 0x48], esi
jne 0x101b0b23
jmp 0x101b0ae5
mov eax, dword [ebp - 0x38]
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 [0x101cc94c], 0x22a3
mov dword [ebp - 0x30], edi
jmp 0x101b0af2
Function at 0x101b0c35
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
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 [0x101cc94c], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101b0ca2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x15], dl
mov al, byte [ebp - 0x15]
test al, 1
jne 0x101b0d3c
jmp 0x101b0d53
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101b0c6b
jmp 0x101b0d53
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 0x101b0ced
mov dword [0x101cc94c], 0x9f6
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x25], cl
mov al, byte [ebp - 0x25]
test al, 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], edx
jne 0x101b0ca2
jmp 0x101b0ced
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x101b0d53
mov dword [0x101cc94c], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101b0d53
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x101b0d53
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101b0c8e
jmp 0x101b0d53
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
je 0x101b0d5a
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x101b0d5a
mov eax, dword [ebp - 0x2c]
add esp, 0x2c
pop ebp
ret
Function at 0x101b0d62
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101b24cb]
mov dh, byte [eax + 0x101b249c]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x101b0d7a
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov dword [0x101cc94c], 0x1372
call fcn.101b1483
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101b01d8
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x101b0e8e
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 [0x101cc94c]
add ecx, 0xffffdbc9
mov dword [0x101cc94c], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.101b037d
xor eax, eax
mov ecx, dword [0x101cc94c]
add ecx, 0xffffe005
mov dword [0x101cc950], 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 + 0x20], ecx
mov dword [0x101cc94c], 0x19c4
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x1c], ecx
add ecx, 0x1863
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x101b0e85
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x101b0fb0
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 [0x101cc954], 0
mov dword [0x101cc958], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x101cc964], 0
mov ecx, dword [0x101cc950]
add ecx, 0xfffff338
mov dword [0x101cc94c], ecx
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 0x101b103a
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x101cc954]
mov ecx, dword [0x101cc958]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x101cc94c], 0x20d1
mov dword [0x101cc950], 0x7e7
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101cc954], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x101cc958], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101cc95c], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x101cc95c]
mov edx, dword [0x101cc958]
mov byte [edi + edx], cl
mov dword [0x101cc950], 0x2664
mov edx, dword [0x101cc954]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101cc958]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101cc964], ebx
mov dword [0x101cc94c], 0x1fb1
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x101cc969], ch
mov byte [0x101cc96a], cl
xor ch, cl
mov byte [0x101cc968], ch
mov dword [0x101cc94c], 0x251f
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
mov dword [0x101cc950], 0x13d3
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x2c], ebx
je 0x101b101b
jmp 0x101b1023
Function at 0x101b126e
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [0x101cc94c], 0x1f19
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.101b0616
lea ecx, [0x101b0bdb]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x78], 0x12b000
mov edx, dword [0x101cc938]
mov dword [esp + 0x84], edx
mov edx, dword [0x101cc93c]
mov dword [esp + 0x94], edx
mov edx, dword [0x101cc940]
mov dword [esp + 0x88], edx
mov edx, dword [0x101cc944]
mov dword [esp + 0x44], edx
mov edx, dword [0x101cc948]
mov dword [esp + 0x7c], edx
mov dword [0x101cc950], 0x4bf
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x101b1322
mov eax, dword [esp + 0x20]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
and eax, 0xfffff000
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
jne 0x101b1308
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp dword [eax], 0x4550
jne 0x101b1308
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov dword [0x101cc950], 0xe73
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x68], edx
call fcn.101b0c35
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
jne 0x101b1300
mov dword [0x101cc950], 0x341
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
call fcn.101b0d62
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x20], eax
jmp 0x101b1300
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..pdata
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2a644cef
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..pdata_1
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x2db42e8a
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40a020
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40a0cb
push ebx
push esi
lea ecx, [esp + 8]
push edi
push ecx
lea edx, [esp + 0x110]
push 0x40e394
push edx
call dword [sym.imp.msvcrt.dll_sprintf]
mov edi, 0x40e38c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x210]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test eax, eax
pop ebx
je 0x40a0b5
lea eax, [esp + 0x100]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.msvcrt.dll_rename]
add esp, 8
add esp, 0x200
ret
lea edx, [esp]
lea eax, [esp + 0x100]
push edx
push eax
call dword [sym.imp.msvcrt.dll_rename]
add esp, 8
add esp, 0x200
ret

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4dbe7ef0
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x67f527fe
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401040
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebp
push esi
mov esi, dword [esp + 0x18]
xor ebp, ebp
push edi
push 0x4285a0
push esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.00404460
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
test edi, edi
jne 0x401095
mov eax, dword [esp + 0x20]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.00402640
add esp, 8
push ebp
call fcn.0041340e
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0xc
ret
push ebx
mov ebx, dword [esp + 0x24]
xor eax, eax
push 0
mov ecx, dword [ebx + 4]
add ecx, dword [esi + 0x1000]
adc eax, dword [esi + 0x1004]
push eax
push ecx
push edi
call fcn.0040f696
add esp, 0x10
test eax, eax
jns 0x4010e0
call fcn.004133f0
mov ecx, eax
lea eax, [ebx + 0x12]
push eax
push str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
push dword [ecx]
push str.fseek
call fcn.004027c0
add esp, 0x10
jmp 0x4011c2
push dword [ebx + 0xc]
call fcn.00413429
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x401119
mov esi, dword [ebx + 0xc]
call fcn.004133f0
mov ecx, eax
lea eax, [ebx + 0x12]
push esi
push eax
push str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
push dword [ecx]
push str.malloc
call fcn.004027c0
add esp, 0x14
jmp 0x4011c2
cmp byte [ebx + 0x10], 1
jne 0x401131
push ebp
push 0
push ebx
push edi
call fcn.00401200
add esp, 0x10
jmp 0x4011b3
mov esi, dword [ebx + 0xc]
xor ebx, ebx
mov dword [esp + 0x10], eax
test esi, esi
je 0x401185
nop
test ebx, ebx
jb 0x401155
ja 0x40114e
cmp esi, 0x2000
jbe 0x401155
mov edi, 0x2000
jmp 0x401157
mov edi, esi
push dword [esp + 0x14]
push 1
push edi
push eax
call fcn.0040f272
add esp, 0x10
cmp eax, 1
jb 0x401189
mov eax, dword [esp + 0x10]
sub esi, edi
sbb ebx, 0
add eax, edi
mov dword [esp + 0x10], eax
test ebx, ebx
ja 0x40114e
jb 0x401185
test esi, esi
jne 0x401140
xor eax, eax
jmp 0x4011af
call fcn.004133f0
mov ecx, eax
mov eax, dword [esp + 0x24]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_failed_to_read_data_chunk__n
push dword [ecx]
push str.fread
call fcn.004027c0
add esp, 0x10
or eax, 0xffffffff
mov edi, dword [esp + 0x14]
test eax, eax
je 0x4011c2
push ebp
call fcn.0041340e
add esp, 4
xor ebp, ebp
push edi
call fcn.0040f011
add esp, 4
pop ebx
test ebp, ebp
je 0x4011e1
push dword [esp + 0x24]
push ebp
call fcn.00404570
add esp, 8
mov dword [esp + 0x14], eax
push ebp
call fcn.0041340e
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0xc
ret