joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x2fe96987
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..text_1
mov ebx, 0x42f314
nop
mov ecx, 0x19b63c32
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x9dccd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9dcd1c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9dcce2
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9dcd80
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9dcdd2
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9dcdd8
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x9f52c5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f4f85

Function at 0x9fa0bf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f9f3e

Function at 0x9ff670
Capabilities:
Parse pe header

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

Function at 0x2206adc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x2206ae6
pushal
call 0x2206aec
pop ebp
sub ebp, 0x10
sub ebp, 0x1e06adc
jmp 0x2206b02
mov eax, 0x1e06adc
add eax, ebp
add eax, 0x4c
mov ecx, 0x60d
mov edx, 0x9f5613c4
xor byte [eax], dl
inc eax
dec ecx
jne 0x2206b19
jmp 0x2206b2c
dec edi
or dword [edi + 0x4d], ecx
clc
invalid

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x7a357ced
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x6d2e3d65
nop
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x101edf18
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 [0x10208408]
cmp eax, 0
sete bl
cmp ecx, 0
sete bh
add esi, 0xfffff404
mov dword [0x10208404], esi
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x101ee155
jmp 0x101edfb9
mov dword [0x10208404], 0x19d9
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
jmp 0x101ee155
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
mov dword [0x10208404], 0x1514
mov dword [ebp - 0x18], eax
jmp 0x101ee155
mov eax, dword [ebp - 0x24]
mov dword [0x10208408], 0x1a05
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x28]
cmp edx, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
je 0x101ee13e
jmp 0x101ee031
mov dword [0x10208408], 0x1c78
mov dword [0x10208404], 0x7e4
mov ecx, dword fs:[0x18]
mov dword [0x10208404], 0x2201
mov dword [0x10208408], 0x2254
mov eax, dword [ecx + 0x30]
mov dword [0x10208404], 0xfffff9d6
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x10208408], 0xe68
cmp eax, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], eax
je 0x101ee146
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x35], cl
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
jmp 0x101ee031
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x35]
and bh, bl
test bh, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x1c], esi
jne 0x101edf7a
mov eax, 0x18d7
xor ecx, ecx
mov edx, dword [ebp - 0x3c]
mov si, word [edx]
mov dword [0x10208408], 0x10be
shr si, 1
movzx edi, si
cmp si, 0
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x48], ecx
je 0x101edf94
mov eax, dword [ebp - 0x48]
mov ecx, 0x1cc4
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 - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov word [ebp - 0x52], si
mov word [ebp - 0x54], bx
jb 0x101ee0d2
mov ax, word [ebp - 0x52]
mov word [ebp - 0x54], ax
mov ax, word [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x4c]
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 - 0x50]
mov byte [ebp - 0x55], bl
mov dword [ebp - 0x5c], esi
jne 0x101ee11d
mov eax, 0x1d54
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov edx, dword [ebp - 0x44]
cmp ecx, edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x5c], eax
jb 0x101ee096
mov eax, dword [ebp - 0x5c]
mov ecx, 0x1f0d
mov dword [0x10208408], eax
mov dl, byte [ebp - 0x55]
test dl, 1
mov dword [ebp - 0x24], ecx
jne 0x101edf65
jmp 0x101edf94
mov eax, dword [ebp - 0x2c]
mov dword [0x10208404], eax
xor eax, eax
mov dword [0x10208408], 0x2016
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ee5c6
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 edi, dword [0x10208408]
add edi, 0x2307
mov dword [0x10208404], edi
mov dword [0x10208410], 0
mov byte [0x10208414], 0
mov dword [0x10208408], 0x1492
mov dword [0x1020840c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101ee6df
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10208418], 0
mov dword [0x10208404], 0x113b
mov edx, dword [0x10208410]
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 [0x10208418], edi
mov dword [0x10208408], 0x977
mov eax, edi
cdq
idiv ecx
mov dword [0x10208410], edx
mov dword [0x10208404], 0x182
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10208414], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x10208414]
mov edx, dword [0x10208410]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x10208408], 0x1ee0
mov edx, dword [0x1020840c]
add edx, 1
mov dword [0x1020840c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101ee622
jmp 0x101ee72d
mov eax, dword [ebp - 0x1c]
mov dword [0x10208408], 0x11fa
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10208404], 0xfffff39e
mov eax, dword [0x1020840c]
add eax, 1
mov dword [0x1020840c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101ee6df
xor eax, eax
mov dword [0x1020840c], 0
mov dword [ebp - 0x20], eax
jmp 0x101ee622
mov dword [0x10208408], 0x5b8
mov eax, dword [0x10208404]
add eax, 0x1964
mov dword [0x10208404], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101eebc2
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 [0x10208404], 0x2289
mov dword [ebp - 0x10], eax
call fcn.101ee160
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 0x101eec08
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x10208404], 0x5d8
mov esi, dword [edx + eax + 0x24]
mov dword [0x10208408], 0xa39
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
jne 0x101eeca0
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
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 - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x101eecde
jmp 0x101eecb2
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
jmp 0x101eec59
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], eax
jmp 0x101eec84
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x38], eax
jne 0x101eec59
mov al, byte [ebp - 0x42]
test al, 1
jne 0x101eed14
jmp 0x101eece7
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 2
mov edx, dword [ebp - 0x50]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
jb 0x101eec84
jmp 0x101eec4e
mov eax, dword [ebp - 0x54]
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 [0x10208404], 0xf
mov dword [ebp - 0x34], edi
jmp 0x101eec4e
Function at 0x101eed95
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
mov dword [ebp - 8], 0
mov dword [0x10208408], 0x4f5
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x10208404], 0x650
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x101eee31
mov dword [0x10208408], 0x1280
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x101eef29
mov eax, dword [0x10208408]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x101eee80
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101eef04
jmp 0x101eedd6
mov dword [0x10208404], 0xe50
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101eeee2
jmp 0x101eedd6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov dword [ebp - 0x1c], eax
je 0x101eedea
mov dword [0x10208408], 0xab6
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x2d], cl
mov eax, 0xab6
mov cl, byte [ebp - 0x2d]
test cl, 1
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esi
jne 0x101eee31
jmp 0x101eee80
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, ecx
add edx, 0xffffde47
mov dword [0x10208408], edx
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], ecx
jne 0x101eedd6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101eedd6
mov eax, dword [ebp - 0x34]
add eax, 0xffffff23
mov dword [0x10208404], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101eee12
jmp 0x101eedd6
mov dword [0x10208404], 0x1419
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101eedfd
jmp 0x101eedd6
mov eax, 1
mov dword [0x10208408], 0x7a0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x101eedd6
mov eax, dword [ebp - 0x18]
add esp, 0x30
pop esi
pop ebp
ret
Function at 0x101eef32
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
lea eax, str.r2
mov ecx, 0xe
lea edx, [ebp - 0x20]
mov dword [0x10208404], 0x117a
mov dword [0x10208408], 0x2413
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
call fcn.101ef434
mov dword [0x10208408], 0x182b
mov dword [0x10208404], 0xee1
call fcn.101ef7ae
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
call fcn.101ee2de
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x101ef066
mov eax, dword [ebp - 0x34]
mov dword [0x10208408], 0x686
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 [0x10208408], 0x1c5a
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.101ee478
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x10208408], 0x145
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx], ecx
mov dword [0x10208404], 0x640
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x101ef066
mov dword [0x10208404], 0x13f8
mov eax, dword [ebp - 0x3c]
add eax, 0x1843
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x101ef1dd
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 ebx, dword [0x10208404]
add ebx, 0x510
mov dword [0x10208408], ebx
mov dword [0x1020840c], 0
mov dword [0x10208410], 0
mov dword [0x1020841c], 0
mov dword [0x10208404], 0x16c5
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 0x101ef383
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x10208408], 0x47c
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1020840c], edx
mov dword [0x10208404], 0xd85
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 [0x10208410], edx
mov dword [0x10208404], 0x237c
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10208414], cl
mov dword [0x10208408], 0x46d
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x10208408], 0x7f8
mov cl, byte [0x10208414]
mov edx, dword [0x10208410]
mov byte [edi + edx], cl
mov dword [0x10208404], 0x14d6
mov edx, dword [0x1020840c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10208410]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x10208408], 0x16e2
and ebx, 0xff
mov dword [0x1020841c], ebx
mov dword [0x10208404], 0xaf
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x10208421], ch
mov byte [0x10208422], cl
xor ch, cl
mov byte [0x10208420], ch
mov dword [0x10208404], 0xa4e
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x101ef383
mov eax, dword [0x1020840c]
mov ecx, dword [0x10208410]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x101ef252
mov dword [0x10208404], 0xb72
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ef509
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [0x10208404]
add eax, 0xffffddc7
mov dword [0x10208404], eax
call fcn.1000107a
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x34], ecx
jne 0x101ef6ba
lea eax, [esp + 0x38]
lea ecx, [esp + 0x48]
mov edx, ecx
add edx, 0x40
mov esi, dword [0x10208408]
add esi, 0xffffd0b8
mov dword [0x10208404], esi
mov dword [esp], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
call fcn.101ee759
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x68], 0x13ea00
mov dword [0x10208408], 0x1eb7
mov ecx, dword [0x102083f0]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x102083f4]
mov dword [esp + 0x64], ecx
mov ecx, dword [0x102083f8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x102083fc]
mov dword [esp + 0x8c], ecx
mov ecx, dword [0x10208400]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
lea eax, [0x101eed3c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov dword [ecx], edx
mov dword [0x10208404], 0x19e4
mov dword [esp + 0x20], eax
jmp 0x101ef62e
lea eax, [esp + 0x48]
mov dword [0x10208404], 0x1b81
mov ecx, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101eef32
mov dword [0x10208408], 0xecc
mov dword [esp + 0x1c], eax
mov eax, esp
lea ecx, [esp + 0x48]
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x18], eax
jmp 0x101ef6b2
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x101ef651
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x101ef66f
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x10208408], 0x773
mov dword [esp + 0x20], eax
jmp 0x101ef62e
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x94], edx
mov dword [0x10208404], 0xebf
call fcn.101eed95
mov dword [esp + 0xc], eax
xor eax, eax
mov ecx, dword [esp + 0xc]
cmp ecx, 0
mov dword [esp + 0x18], eax
je 0x101ef5e3
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1000db20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d6e6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1008ab18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
cmp dword [eax + 0x16], 0
je 0x1000dc4f
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call sym.ScCore.dll_public:_bool___thiscall_ScCore::FileSpec::changePath_class_ScCore::String_const__
mov edi, dword [esi + 4]
mov dword [ebp - 4], 0
call sym.ScCore.dll_public:_static_class_ScCore::Encoder_const____cdecl_ScCore::Encoder::getBinary_void_
cmp dword [edi + 0x12], eax
mov eax, edi
setne cl
cmp byte [ebp + 0xc], 0
je 0x1000db90
test cl, cl
je 0x1000db90
push dword [edi + 0x26]
lea ecx, [ebp - 0x10]
call sym.ScCore.dll_public:_bool___thiscall_ScCore::FileSpec::changePath_class_ScCore::String_const__
mov eax, dword [esi + 4]
push dword [eax + 0x12]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call sym.ScCore.dll_public:_bool___thiscall_ScCore::FileSpec::changePath_class_ScCore::String_const__
mov edi, eax
test edi, edi
jne 0x1000dbd0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1000dbd0
mov eax, dword [esi + 4]
push dword [eax + 0x16]
push 1
push ecx
push dword [ebp - 0x18]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov ecx, 0x34
cmp eax, 1
cmovne edi, ecx
mov eax, dword [esi + 4]
push dword [eax + 0x16]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 4
test eax, eax
mov eax, dword [esi + 4]
push dword [eax + 0x16]
je 0x1000dc14
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_clearerr]
add esp, 4
lea ecx, [ebp - 0x10]
mov edi, 0x34
call sym.ScCore.dll_public:_bool___thiscall_ScCore::FileSpec::changePath_class_ScCore::String_const__
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
mov ecx, dword [esi + 4]
add esp, 4
cmp edx, dword [ecx + 0x1e]
jl 0x1000dc32
jg 0x1000dc2c
cmp eax, dword [ecx + 0x1a]
jbe 0x1000dc32
mov dword [ecx + 0x1a], eax
mov dword [ecx + 0x1e], edx
lea ecx, [ebp - 0x10]
call sym.ScCore.dll_public:_bool___thiscall_ScCore::FileSpec::changePath_class_ScCore::String_const__
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, 0x32
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8