joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417fb0
Capabilities:
Read file on windows

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

Function at 0x4183aa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00406f70
mov eax, dword [0x47fdc0]
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.0041612b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4183ec
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x418548
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00421830
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 + 0x481790]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004193a2
mov ecx, dword [esi*4 + 0x481790]
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 0x418541
cmp eax, dword [edi + ecx + 0x24]
jne 0x418541
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 0x418541
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004193a2
add esp, 0x14
test edx, edx
jl 0x418541
jg 0x4184b7
test eax, eax
jb 0x418541
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x418541
jl 0x4184d1
cmp dword [ebp - 0x1008], eax
ja 0x418541
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4184ef
test ebx, ebx
je 0x418528
cmp ecx, edi
jae 0x418528
mov al, byte [ecx]
cmp al, 0xd
jne 0x418509
lea eax, [edi - 1]
cmp ecx, eax
jae 0x418515
cmp byte [ecx + 1], 0xa
jne 0x418515
inc ecx
jmp 0x418515
movzx eax, al
movsx eax, byte [eax + 0x480098]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4184ef
cmp edx, ebx
jne 0x4184ef
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x418546
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040607a
leave
ret
Function at 0x41883f
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 + 0x481790]
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 0x41887f
cmp byte [ebx], 0xa
jne 0x41887f
or byte [eax + edi + 0x28], 4
jmp 0x418884
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x418982
mov al, byte [edx]
cmp al, 0x1a
je 0x418964
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4188b3
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4188d8
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4188e2
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 0x418895
jmp 0x418982
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 0x41895f
cmp dword [ebp - 0xc], 0
je 0x41895f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x481790]
test byte [eax + edi + 0x28], 0x48
je 0x418939
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x418924
mov byte [esi], dl
jmp 0x418935
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x481790]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x418982
cmp byte [ebp - 1], 0xa
jne 0x418948
cmp esi, ebx
jne 0x418948
mov byte [esi], 0xa
jmp 0x418981
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004193c0
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x418982
mov byte [esi], 0xd
jmp 0x418981
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x481790]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41897e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x418982
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41898b
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 + 0x481790]
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 0x4189ce
cmp word [esi], dx
jne 0x4189ce
or byte [edi + eax + 0x28], 4
jmp 0x4189d3
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 0x418b26
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 0x418b06
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x418a15
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x418a4b
cmp eax, edx
jae 0x418a57
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 0x4189ed
jmp 0x418b26
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 0x418b02
cmp dword [ebp - 0x14], 0
je 0x418b02
mov eax, dword [ebx*4 + 0x481790]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x418ada
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x418aa3
mov word [esi], cx
jmp 0x418ad6
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x481790]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x481790]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x481790]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x418b26
pop ebx
cmp word [ebp - 4], bx
jne 0x418aeb
cmp esi, dword [ebp + 0xc]
jne 0x418aeb
mov word [esi], bx
jmp 0x418b23
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004193c0
add esp, 0x10
cmp word [ebp - 4], bx
je 0x418b26
push 0xd
jmp 0x418b1f
mov ecx, dword [ebx*4 + 0x481790]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x418b1d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x418b26
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
Function at 0x406389
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4063ad
xor eax, eax
test eax, eax
je 0x4063c0
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4063c0
xor ecx, ecx
jmp 0x4063c3
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x409014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
leave
ret 4

Function at 0x4064a6
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x426dac], 0
push esi
jne 0x4064dd
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4064b7
mov dword [ecx*4 + 0x426da8], eax
inc ecx
cmp ecx, 0x100
jl 0x4064b2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40650e
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x426da8]
xor eax, esi
inc ecx
dec edx
jne 0x4064f0
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x48ef7ab5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4310d2
nop
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3f72079d
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x1ed8ef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19c3000]
push edi
or ebp, 0xffffffff
jmp 0x1ed8f12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1ed8f19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed8f08
mov eax, 1
add ebx, ebx
jne 0x1ed8f2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1ed8f3c
jne 0x1ed8f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed8f5b
dec eax
add ebx, ebx
jne 0x1ed8f48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1ed8f20
add ebx, ebx
jne 0x1ed8f57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1ed8fad
xor ecx, ecx
sub eax, 3
jb 0x1ed8f73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1ed8fe2
sar eax, 1
mov ebp, eax
jmp 0x1ed8f7e
add ebx, ebx
jne 0x1ed8f7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed8f4c
inc ecx
add ebx, ebx
jne 0x1ed8f8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed8f4c
add ebx, ebx
jne 0x1ed8f99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1ed8f8e
jne 0x1ed8faa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1ed8f8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1ed8fcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1ed8fbe
jmp 0x1ed8f0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1ed8fcc
add edi, ecx
jmp 0x1ed8f0e
pop esi
mov edi, esi
mov ecx, 0x1219c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1ed8fea
cmp byte [edi], 0x82
jne 0x1ed8fea
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 0x1ed8fef
lea edi, [esi + 0x1abe000]
mov eax, dword [edi]
or eax, eax
je 0x1ed9067
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ad9f9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ada108]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1ed901c
mov ecx, edi
jns 0x1ed904b
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 + 0x1ada110]
or eax, eax
je 0x1ed9061
mov dword [ebx], eax
add ebx, 4
jmp 0x1ed9039
call dword [esi + 0x1ada10c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1ed9098
cmp al, 0xef
ja 0x1ed908b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1ed906d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1ed907a
mov ebp, dword [esi + 0x1ada114]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0x1ed90cc
sub esp, 0xffffff80
jmp 0x65f283
Function at 0x40a4b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
std
inc ebp
adc al, 0x56
mov esi, dword [ebp + 9]
neg eax
sbb eax, eax
neg eax
dec eax
push eax
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x40a51e
mov edx, dword [esi + 0x14]
sti
dec ebp
adc al, 0x51
add bh, bh
adc eax, 0xddc024
test dword [esp + esi*2], edx
dec edx
movsb byte es:[edi], byte [esi]
inc ebp
or al, 0xbe
sbb edx, dword [eax*4 - 0x76fd8b04]
or byte [ebx - 0x2d7aefcd], cl
je 0x40a503
cmp eax, 0xffff82e8
push edx
imul eax, esp, 0x5f9d8904
pop edi
inc esi
jg 0x40a557
and byte [ecx + 0x74], al
cmp al, byte [eax]
mov dword [esi - 0x7b], 0x57
mov eax, 0x11175
pop esi
pop ebp
ret 0x10
cmp eax, 0xbe000197
jne 0x40a52f
mov eax, 0x1e276
test byte [ebp - 0x3e], bl
adc byte [eax], al
mov esi, dword [0x9b40c098]
call dword [ebp + 0x518c085]
pop esi
pop ebp
ret 0xa1
inc ebp
pop dword [ebp + 0x1c7456c9]
sbb eax, 0x3bff0874
outsd dx, dword [esi]
jae 0x40a577
wait
push ebp
or al, 0x8a
or al, byte [ecx + ecx*8 + 0x34600888]
inc eax
mov cl, byte [edx]
test cl, cl
mov byte [eax], cl
pushal
xor al, 0x40
inc edx
cmp esi, dword [ebx]
jb 0x40a569
mov byte [eax], 0
pop esi
mov al, 0xc2
add byte [eax], 0x90
jge 0x40a50d
in al, dx
push ebx
mov ebp, dword [edx]
shl dword [ecx], 0
push esi
lahf
jl 0x40a60b
or byte [edx + 0x2f], ch
push edi
dec edi
shr dword [edx - 0x5b], cl
push edi
mov esi, eax
adc ebx, 0x1c10c4e6
invalid
inc eax
add byte [ebx - 0x13744374], al
mov ebp, esp
test dword [esi], edx
pop esi
jge 0x40a606
jle 0x40a64a
ret
and dword [ebp - 4], eax
invalid
Function at 0x1018442a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101c3d50]
jne 0x10184434
repz ret
jmp fcn.10187e09

Function at 0x1019396f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10187165
and dword [ebp - 4], 0
cmp dword [0x101c61c8], 0
mov ebx, eax
jne 0x10193a20
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10193ad1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10193ad1
push eax
call fcn.101870f3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101c61c8], eax
call esi
push eax
call fcn.101870f3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101c61cc], eax
call esi
push eax
call fcn.101870f3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101c61d0], eax
call esi
push eax
call fcn.101870f3
pop ecx
mov dword [0x101c61d8], eax
test eax, eax
je 0x10193a20
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101870f3
pop ecx
mov dword [0x101c61d4], eax
mov eax, dword [0x101c61d4]
cmp eax, ebx
je 0x10193a78
cmp dword [0x101c61d8], ebx
je 0x10193a78
push eax
call fcn.1018716e
push dword [0x101c61d8]
mov esi, eax
call fcn.1018716e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10193a78
test edi, edi
je 0x10193a78
call esi
test eax, eax
je 0x10193a6f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10193a6f
test byte [ebp - 0xc], 1
jne 0x10193a78
or dword [ebp + 0x10], 0x200000
jmp 0x10193ab1
mov eax, dword [0x101c61cc]
cmp eax, ebx
je 0x10193ab1
push eax
call fcn.1018716e
pop ecx
test eax, eax
je 0x10193ab1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10193ab1
mov eax, dword [0x101c61d0]
cmp eax, ebx
je 0x10193ab1
push eax
call fcn.1018716e
pop ecx
test eax, eax
je 0x10193ab1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101c61c8]
call fcn.1018716e
pop ecx
test eax, eax
je 0x10193ad1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10193ad3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101967d2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001077
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x101968a1
jmp 0x10196883
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov dword [0x101c3ce4], 0x1467
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10196d15
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x101c3ce4], 0xc9f
mov dword [esp + 0x18], eax
jmp 0x1019685f
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x10196869
jmp 0x1019688d
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x10196883
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x1c], ecx
je 0x101967fa
jmp 0x1019688d
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1019684e
lea eax, [esp + 0x38]
mov dword [0x101c3ce4], 0x32
mov dword [esp + 0x10], eax
call fcn.101971f2
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x1019685f
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.1019650c
lea ecx, [0x101975e0]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], 0x133400
mov edx, dword [0x101c3ccc]
mov dword [esp + 0x3c], edx
mov edx, dword [0x101c3cd0]
mov dword [esp + 0x5c], edx
mov edx, dword [0x101c3cd4]
mov dword [esp + 0x50], edx
mov edx, dword [0x101c3cd8]
mov dword [esp + 0x60], edx
mov edx, dword [0x101c3cdc]
mov dword [esp + 0x70], edx
mov dword [0x101c3ce0], 0x1e4d
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
jmp 0x1019684e
Function at 0x10196d15
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 [0x101c3ce0], 0x1243
mov dword [0x101c3ce4], 0x2000
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10196d79
lea eax, [ebp - 0x24]
mov dword [0x101c3ce4], 0x14aa
mov dword [ebp - 0x34], eax
call fcn.101974f3
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10196936
cmp eax, 0
mov dword [ebp - 0x38], eax
jne 0x10196da1
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x10198500]
mov dl, byte [eax + 0x101984d1]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x10196d43
jmp 0x10196d79
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 dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10196ace
xor eax, eax
mov dword [0x101c3ce4], 0xa05
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x2c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x34], ecx
mov dword [0x101c3ce0], 0x138f
add ecx, 0x1123
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10196e36
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x1019709f
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 [0x101c3ce4]
add edi, 0xffffdb6c
mov dword [0x101c3ce0], edi
mov dword [0x101c3cec], 0
mov byte [0x101c3cf0], 0
mov dword [0x101c3ce4], 0x1f5
mov dword [0x101c3ce8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101971c2
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101c3cf4], 0
mov dword [0x101c3ce4], 0x12d9
mov edx, dword [0x101c3cec]
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 [0x101c3cf4], edi
mov dword [0x101c3ce0], 0x1d57
mov eax, edi
cdq
idiv ecx
mov dword [0x101c3cec], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x101c3cf0], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x101c3cf0]
mov edx, dword [0x101c3cec]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x101c3ce0], 0x13c
mov edx, dword [0x101c3ce8]
add edx, 1
mov dword [0x101c3ce8], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101970fb
jmp 0x101971ea
xor eax, eax
mov dword [0x101c3ce8], 0
mov dword [ebp - 0x20], eax
jmp 0x101970fb
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101c3ce8]
add eax, 1
mov dword [0x101c3ce8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101971c2
jmp 0x101971ae
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret