joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70c0e247
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x70c0e291
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x70c0e238
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x70c0e247
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x71013eea
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x70c0e298
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.70bf510e
cmp eax, dword [ebp + 0xc]
pop eax
je 0x70c0e337
add edi, 4
add eax, 2
dec ecx
jne 0x70c0e27d
call 0x70c0e2e4
loope 0x70c0e2da
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x70c0e334
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x70c0e345
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x70c0e2f8
cmp eax, ecx
ja 0x70c0e2f8
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x70c0e382
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x70c0e378
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.70bf55ed
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1015dd16
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, 0
sete dl
cmp eax, 0
sete dh
and dl, dh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x1015def4
jmp 0x1015ddda
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
cmp eax, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], ecx
je 0x1015def4
jmp 0x1015de30
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x34], eax
mov word [ebp - 0x36], dx
mov word [ebp - 0x38], di
jb 0x1015ddab
mov ax, word [ebp - 0x36]
mov word [ebp - 0x38], ax
mov ax, word [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
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 0x1015ded2
jmp 0x1015deb2
mov dword [0x10175874], 0x25ed
mov dword [0x10175870], 0x14fc
mov ecx, dword fs:[0x18]
mov dword [0x10175870], 0xffffeafc
mov eax, dword [ecx + 0x30]
mov dword [0x10175874], 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 - 0x24], eax
mov byte [ebp - 0x3a], dl
mov dword [ebp - 0x20], esi
jmp 0x1015dd5a
mov dword [0x10175870], 0xe77
mov eax, dword [ebp - 0x28]
add eax, 0x24
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x3a]
and bh, bl
test bh, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x44], esi
jne 0x1015de68
jmp 0x1015de75
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x1015def4
mov eax, dword [ebp - 0x40]
mov cx, word [eax]
mov word [ebp - 0x46], cx
xor eax, eax
mov dword [0x10175870], 0x26b6
mov cx, word [ebp - 0x46]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x2c], eax
je 0x1015dd5a
jmp 0x1015dd77
mov dword [0x10175870], 0x667
mov eax, dword [ebp - 0x34]
add eax, 1
mov ecx, dword [ebp - 0x4c]
cmp eax, ecx
mov dword [ebp - 0x2c], eax
jb 0x1015dd77
mov al, byte [ebp - 0x39]
test al, 1
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
jne 0x1015dee4
jmp 0x1015dd5a
mov dword [0x10175874], 0xffffc994
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1015e326
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 [0x1017587c], 0
mov byte [0x10175880], 0
mov dword [0x10175870], 0x1f87
mov dword [0x10175878], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10175878]
add eax, 1
mov dword [0x10175878], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1015e36b
mov dword [0x10175870], 0xd51
mov dword [0x10175878], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1015e3ac
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10175884], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10175870], 0x17de
mov edi, dword [0x1017587c]
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 [0x10175884], esi
mov dword [0x10175874], 0x51e
mov dword [0x10175870], 0xffffe312
mov eax, esi
cdq
idiv ecx
mov dword [0x1017587c], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10175880], cl
mov dword [0x10175870], 0x1980
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov esi, dword [0x10175870]
add esi, 0x1ff7
mov dword [0x10175874], esi
mov cl, byte [0x10175880]
mov esi, dword [0x1017587c]
mov byte [ebx + esi], cl
mov dword [0x10175870], 0x5e6
mov esi, dword [0x10175874]
add esi, 0xfffffd1a
mov dword [0x10175874], esi
mov esi, dword [0x10175878]
add esi, 1
mov dword [0x10175878], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1015e3ac
mov dword [0x10175870], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1015e8c4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [0x10175874], 0x26de
mov dword [ebp - 0x10], eax
call fcn.1015deff
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x10175874], 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 0x1015e914
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10175870], 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
sete bl
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x2d], bl
xor eax, eax
mov cl, byte [ebp - 0x2d]
test cl, 1
mov dword [ebp - 0x34], eax
jne 0x1015ea48
jmp 0x1015e976
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
jmp 0x1015e994
mov eax, dword [ebp - 0x24]
add eax, 0x24
mov dword [ebp - 0x50], eax
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x50]
add ecx, dword [ecx + edx]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jmp 0x1015e95a
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
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 - 0x54], eax
mov byte [ebp - 0x55], bh
mov byte [ebp - 0x56], cl
je 0x1015e9f2
mov eax, dword [ebp - 0x54]
add eax, 1
mov cl, byte [ebp - 0x55]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x56]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x5d], ch
mov al, byte [ebp - 0x5d]
test al, 1
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], ecx
jne 0x1015e994
jmp 0x1015e9f2
mov al, byte [ebp - 0x56]
test al, 1
jne 0x1015ea25
jmp 0x1015e9fb
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], eax
jb 0x1015e95a
jmp 0x1015ea48
mov eax, dword [ebp - 0x44]
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 [0x10175870], 0x22a3
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1015eaa0
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 [0x10175870], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
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 - 0x18], edx
je 0x1015eb15
jmp 0x1015eaf4
mov eax, dword [ebp - 0x1c]
add esp, 0x20
pop ebp
ret
mov dword [0x10175870], 0x9f6
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x1015ead4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x1015eb42
jmp 0x1015eb97
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1015eaec
jmp 0x1015eb97
mov dword [0x10175870], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1015eb97
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1015eb97
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1015eb97
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1015eb97
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1015eb29
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x1015eaec
Function at 0x1015eba1
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 + 0x101604ab]
mov dh, byte [eax + 0x1016047c]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x1015ebb9
lea eax, [ebp - 0x24]
mov dword [0x10175870], 0x1372
mov dword [ebp - 0x34], eax
call fcn.1015f2a8
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1015e07f
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, 0
je 0x1015ecd0
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 [0x10175870]
add ecx, 0xffffdbc9
mov dword [0x10175870], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1015e217
xor eax, eax
mov ecx, dword [0x10175870]
add ecx, 0xffffe005
mov dword [0x10175874], 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 + 0x2c], ecx
mov dword [0x10175870], 0x19c4
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x40], ecx
add ecx, 0x26e6
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1015ecc7
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 0x1015edf2
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 [0x10175878], 0
mov dword [0x1017587c], 0
mov dword [0x10175888], 0
mov ebx, dword [0x10175874]
add ebx, 0xfffff338
mov dword [0x10175870], ebx
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
jne 0x1015ee78
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x10175878]
mov ecx, dword [0x1017587c]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x10175870], 0x20d1
mov dword [0x10175874], 0x7e7
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10175878], edx
mov ecx, dword [ebp - 0x20]
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 [0x1017587c], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10175880], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10175880]
mov edx, dword [0x1017587c]
mov byte [edi + edx], cl
mov dword [0x10175874], 0x2664
mov edx, dword [0x10175878]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1017587c]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10175888], ebx
mov dword [0x10175870], 0x1fb1
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x1017588d], ch
mov byte [0x1017588e], cl
xor ch, cl
mov byte [0x1017588c], ch
mov dword [0x10175870], 0x251f
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov dword [0x10175874], 0x13d3
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x2c], ebx
je 0x1015ee59
jmp 0x1015ee61
Function at 0x1015f0ac
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x10175870], 0x1f19
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.1015e4ac
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x74], 0x134800
mov ecx, dword [0x1017585c]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x10175860]
mov dword [esp + 0x40], ecx
mov ecx, dword [0x10175864]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], eax
lea eax, [0x1015ea53]
mov ecx, dword [0x10175868]
mov dword [esp + 0x88], ecx
mov ecx, dword [0x1017586c]
mov dword [esp + 0x7c], ecx
mov dword [0x10175874], 0x4bf
mov dword [esp + 0x1c], eax
jmp 0x1015f15f
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x1015f15f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x1015f170
jmp 0x1015f135
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x1015f149
jmp 0x1015f135
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov dword [0x10175874], 0xe73
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
call fcn.1015eaa0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x1015f1dc
lea eax, [esp + 0x38]
mov dword [0x10175874], 0x341
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1015eba1
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x420492
Capabilities:
Read file on windows

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

Function at 0x42049d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004202c3

Function at 0x420897
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040d920
mov eax, dword [0x482e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041e063
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4208d9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x420a35
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00429330
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4857a0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00421636
mov ecx, dword [esi*4 + 0x4857a0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x420a2e
cmp eax, dword [edi + ecx + 0x24]
jne 0x420a2e
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x420a2e
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00421636
add esp, 0x14
test edx, edx
jl 0x420a2e
jg 0x4209a4
test eax, eax
jb 0x420a2e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x420a2e
jl 0x4209be
cmp dword [ebp - 0x1008], eax
ja 0x420a2e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4209dc
test ebx, ebx
je 0x420a15
cmp ecx, edi
jae 0x420a15
mov al, byte [ecx]
cmp al, 0xd
jne 0x4209f6
lea eax, [edi - 1]
cmp ecx, eax
jae 0x420a02
cmp byte [ecx + 1], 0xa
jne 0x420a02
inc ecx
jmp 0x420a02
movzx eax, al
movsx eax, byte [eax + 0x4830c8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4209dc
cmp edx, ebx
jne 0x4209dc
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x420a33
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040cd03
leave
ret
Function at 0x420ad4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4857a0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x420b14
cmp byte [ebx], 0xa
jne 0x420b14
or byte [eax + edi + 0x28], 4
jmp 0x420b19
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x420c17
mov al, byte [edx]
cmp al, 0x1a
je 0x420bf9
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x420b48
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x420b6d
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x420b77
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x420b2a
jmp 0x420c17
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x420bf4
cmp dword [ebp - 0xc], 0
je 0x420bf4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4857a0]
test byte [eax + edi + 0x28], 0x48
je 0x420bce
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x420bb9
mov byte [esi], dl
jmp 0x420bca
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4857a0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x420c17
cmp byte [ebp - 1], 0xa
jne 0x420bdd
cmp esi, ebx
jne 0x420bdd
mov byte [esi], 0xa
jmp 0x420c16
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00421654
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x420c17
mov byte [esi], 0xd
jmp 0x420c16
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4857a0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420c13
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x420c17
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x420c20
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4857a0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x420c63
cmp word [esi], dx
jne 0x420c63
or byte [edi + eax + 0x28], 4
jmp 0x420c68
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x420dbb
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x420d9b
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x420caa
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x420ce0
cmp eax, edx
jae 0x420cec
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x420c82
jmp 0x420dbb
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x420d97
cmp dword [ebp - 0x14], 0
je 0x420d97
mov eax, dword [ebx*4 + 0x4857a0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x420d6f
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x420d38
mov word [esi], cx
jmp 0x420d6b
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4857a0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4857a0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4857a0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x420dbb
pop ebx
cmp word [ebp - 4], bx
jne 0x420d80
cmp esi, dword [ebp + 0xc]
jne 0x420d80
mov word [esi], bx
jmp 0x420db8
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00421654
add esp, 0x10
cmp word [ebp - 4], bx
je 0x420dbb
push 0xd
jmp 0x420db4
mov ecx, dword [ebx*4 + 0x4857a0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420db2
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x420dbb
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret