joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442024
Capabilities:
Packed with generic packer

Disassembly:
clc
jae 0x44202f
mov byte [edx], bl
aad 0xc0
pop esp
pop esp
invalid
pushal
stc
jb 0x442035
cmp eax, 0x7e886
add byte [eax], al
call 0x442041
xor ebx, dword [esi + 0x21c583a5]
pop esi
jmp 0x442046
add esi, 0xffffffc6
jmp 0x442052
cmp dword [esi], 0
stc
jb 0x442060
sub dword [ebx + 0x38], esi
in al, dx
stc
leave
and esp, dword [ebx + 0x87840f]
add byte [eax], al
je 0x4420ed
jb 0x44206a
or eax, 0x72ce8bfc
or byte [esi - 0x65], cl
mov ecx, esi
jb 0x442076
dec esi
wait
dec esp
pop ds
loope 0x442091
push ecx
mov bl, 0x83
mov byte [ebx + ebp*8], 4
cmp eax, 0x168b4be4
add esi, 4
jmp 0x44207f
mov edx, dword [esi]
jmp 0x442085
add edx, esi
stc
jb 0x442090
inc ecx
sal dword [esi - 0x74dbb008], 1
mov eax, dword [esi + 4]
inc esi
add al, 0xeb
push es
js 0x4420e6
jmp 0x44209b
fbld tbyte [ebp - 0x1c]
pop ds
sub dword [edx], 0xa1ab560f
jmp 0x4420a5
add edx, 4
jmp 0x4420b1
sub eax, 1
jmp 0x4420bc
jne 0x442093
jmp 0x4420ca
add esi, 8
jmp 0x4420d1
sub dword [ecx], 1
stc
jmp 0x4420d8
jne 0x442079
clc
jmp 0x4420e2
mov ebx, esi
stc
jmp 0x4420e8
add dword [eax + ebp*8], eax
push cs
add byte [eax], al
add bl, ch
add ch, byte [ebp + 0x30]
call fcn.004420fb
jmp 0x4420f1
popal
jmp 0x4420f6
jmp fcn.0043bfd0
Function at 0x407360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c0
call fcn.0040acd0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor edi, edi
mov eax, 0xaaaaaaab
mov esi, edi
mul edi
mov eax, edi
shr esi, 0xe
shr edx, 1
mov ecx, edi
shr eax, 6
shr edx, 1
not eax
xor edx, edi
shr ecx, 0xa
and eax, 8
shr edx, 0xb
imul eax, edx
and esi, ecx
and esi, 3
xor edx, edx
add esi, 7
mov ecx, edi
shr ecx, 4
imul eax, edi
imul eax, edi
div esi
or al, cl
mov byte [ebp + edi - 0x3a988], al
inc edi
cmp edi, 0x3a980
jb 0x4073e5
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9bc], 0x3a980
mov dword [ebp - 0x3a9c0], eax
lea eax, [ebp - 0x3a9c0]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
mov dword [ebp - 0x3a9a4], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00409ec2
mov esp, ebp
pop ebp
ret
Function at 0x40a6f3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40a732
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a732
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a732
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40a732
cmp dword [ecx + 0x74], 0xe
jbe 0x40a732
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x100113a6
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov dword [0x1003b654], 0x122e
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 0x100115c1
jmp 0x1001140f
mov dword [0x1003b654], 0xdfa
mov dword [0x1003b658], 0xa7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x100115c1
mov dword [0x1003b654], 0xc01
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x1003b654], 0x1973
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x1003b658], 0x177a
mov ecx, dword [ecx + 0x14]
mov dword [0x1003b654], 0x1eb7
cmp ecx, edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], eax
je 0x100115c1
jmp 0x10011481
mov eax, dword [ebp - 0x28]
mov dword [0x1003b654], eax
mov dword [0x1003b658], 0x671
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
jmp 0x100115c1
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x20]
mov byte [ebp - 0x2d], cl
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
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 - 0x2d]
and bh, bl
test bh, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x2c], esi
jne 0x100113eb
mov eax, 0xdfa
xor ecx, ecx
mov edx, dword [ebp - 0x38]
mov si, word [edx]
shr si, 1
movzx edi, si
cmp si, 0
mov ebx, eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], eax
je 0x10011590
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov edx, eax
add edx, 1
add ecx, 0x264a
mov esi, dword [ebp - 0x3c]
mov di, word [esi + eax*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x56], di
mov word [ebp - 0x58], si
jb 0x10011540
mov ax, word [ebp - 0x56]
mov word [ebp - 0x58], ax
mov ax, word [ebp - 0x58]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x48]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x59], bl
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], eax
jne 0x100114f5
mov al, byte [ebp - 0x59]
test al, 1
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], ecx
jne 0x10011464
jmp 0x10011590
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x24]
cmp edx, esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x34], edx
jne 0x10011495
xor eax, eax
mov ecx, dword [ebp - 0x60]
mov dword [0x1003b654], ecx
mov dword [0x1003b658], 0x671
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10011711
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [0x1003b654]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
add eax, 0xffffda07
mov dword [0x1003b654], eax
call fcn.10001070
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x28], ecx
je 0x10011835
jmp 0x100118aa
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x20]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x74], esi
mov dword [0x1003b654], 0x111c
mov esi, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10011c03
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x1003b654]
add ecx, 0xfffff0fe
mov dword [0x1003b654], ecx
mov dword [esp + 0x1c], eax
jmp 0x100118a2
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.10011959
mov dword [0x1003b658], 0xb1d
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], 0x12ba00
mov ecx, dword [0x1003b640]
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x1003b644]
mov dword [esp + 0x60], ecx
mov ecx, dword [0x1003b648]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x1003b64c]
mov dword [esp + 0x80], ecx
mov dword [0x1003b654], 0x135a
mov ecx, dword [0x1003b650]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
lea eax, [0x10012c6f]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x10], eax
jmp 0x1001185f
lea eax, [esp + 0x40]
mov dword [0x1003b654], 0xbdc
mov dword [esp + 0xc], eax
call fcn.100129f8
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
je 0x100117b2
jmp 0x100118a2
mov eax, dword [esp + 0x10]
cmp word [eax], 0x5a4d
mov dword [esp + 0x24], eax
jne 0x1001188e
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp dword [eax + ecx], 0x4550
je 0x10011750
mov eax, dword [esp + 0x24]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x10], eax
jmp 0x1001185f
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10011959
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x1003b654], 0x483
mov dword [0x1003b658], 0xa86
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10011a40
lea eax, str.o_3ey
mov ecx, 0xe
lea edx, [ebp - 0x12c]
mov dword [0x1003b658], 0x18c2
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], ecx
call fcn.10012320
mov dword [0x1003b654], 0x2e3
mov dword [0x1003b658], 0x2085
call fcn.10011eb6
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], eax
call fcn.1001210a
mov ecx, eax
mov dword [0x1003b674], eax
mov eax, esp
mov edx, dword [ebp - 0x144]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
jmp 0x10011aa1
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, ecx, 0xe0
mov edi, edx
add edi, esi
add edi, 0x84
imul esi, ecx, 0xe0
add edx, esi
add edx, 0xcc
add ecx, 1
mov edx, dword [edx]
movzx esi, word [edi]
xor esi, edx
add esi, eax
cmp ecx, 0x2be
mov eax, esi
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
je 0x10011997
jmp 0x10011a40
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, ecx, 0xe0
mov edi, edx
add edi, esi
imul esi, ecx, 0xe0
mov ebx, edx
add ebx, esi
add ebx, 0x84
mov esi, dword [ebp - 0x148]
add esi, eax
mov dword [ebp - 0x154], eax
imul eax, ecx, 0xe0
add edx, eax
add edx, 0xcc
add ecx, 1
mov eax, dword [edx]
mov edx, dword [edi]
movzx edi, word [ebx]
xor edi, eax
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x15c], ecx
call fcn.10012bc1
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
add eax, ecx
mov edx, dword [ebp - 0x15c]
cmp edx, 0x2be
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], eax
jne 0x10011aa1
lea eax, [0x100144d9]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x1003b654], 0x1ad9
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.100126d2
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x144]
mov dword [esp + 0xc], edx
call fcn.10012484
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0xd1bbf
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov ecx, dword [0x1003b658]
add ecx, 0xfffff632
mov dword [0x1003b654], ecx
mov dword [edx + 4], 0x12ba00
mov ecx, dword [ebp - 0x148]
add ecx, 0xcdd8f
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f30
mov ecx, dword [0x1003b654]
add ecx, 0xffffe960
mov dword [0x1003b658], ecx
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10011c03
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, str.o_3ey
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x1003b654], 0x90d
mov dword [0x1003b658], 0xb59
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.10012320
mov eax, dword [0x1003b654]
add eax, 0x1da2
mov dword [0x1003b658], eax
call fcn.10011eb6
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1001210a
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x10011d4e
mov eax, dword [ebp - 0x3c]
mov dword [0x1003b658], 0xc01
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 [0x1003b654], 0x1a95
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.10011f60
mov eax, dword [ebp - 0x44]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
mov dword [eax + 0xc0], 0x4550
mov dword [0x1003b658], 0x539
add eax, 0xffc00000
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [0x1003b658]
add eax, 0xffffeed3
mov dword [0x1003b658], eax
add ecx, 0x4c
mov dword [ebp - 0x48], ecx
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov dword [0x1003b654], 0x147
cmp edx, 0
mov dword [ebp - 0x40], eax
je 0x10011d4e
mov eax, dword [ebp - 0x44]
add eax, 0x1df1
mov dword [0x1003b658], 0x1479
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop edi
pop ebp
ret
Function at 0x10012484
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
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 [0x1003b65c], 0
mov dword [0x1003b660], 0
mov dword [0x1003b66c], 0
mov ebx, dword [0x1003b654]
add ebx, 0x5f1
mov dword [0x1003b654], ebx
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x1001260e
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add esi, 1
add ecx, 0x214e
mov ebx, edx
add ebx, 1
mov dword [0x1003b654], ecx
mov dword [ebp - 0x30], eax
mov eax, esi
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x1003b65c], edx
mov dword [0x1003b658], 0xe94
mov ecx, dword [ebp - 0x24]
movzx esi, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x1003b660], edx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1003b664], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x1003b654], 0x20fe
mov cl, byte [0x1003b664]
mov edx, dword [0x1003b660]
mov byte [edi + edx], cl
mov edx, dword [0x1003b65c]
movzx edx, byte [edi + edx]
mov ecx, dword [0x1003b660]
movzx ecx, byte [edi + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1003b66c], ecx
mov dword [0x1003b654], 0x211
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov ch, byte [edx + esi]
mov byte [0x1003b671], ch
mov byte [0x1003b672], cl
mov dword [0x1003b654], 0x1106
xor ch, cl
mov byte [0x1003b670], ch
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x3c], ebx
je 0x1001260e
mov eax, dword [0x1003b654]
mov ecx, dword [0x1003b65c]
mov edx, dword [0x1003b660]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], edx
jmp 0x100124f2
mov eax, dword [0x1003b658]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add eax, 0x221
mov dword [0x1003b658], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100126d2
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 [0x1003b660], 0
mov byte [0x1003b664], 0
mov dword [0x1003b654], 0x9b7
mov dword [0x1003b65c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1001272a
xor eax, eax
mov dword [0x1003b65c], 0
mov dword [ebp - 0x20], eax
jmp 0x1001275c
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1003b654], 0x1a34
mov eax, dword [0x1003b65c]
add eax, 1
mov dword [0x1003b65c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1001272a
jmp 0x10012719
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1003b668], 0
mov dword [0x1003b658], 0xa70
mov edi, dword [0x1003b660]
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 [0x1003b668], esi
mov dword [0x1003b654], 0x2605
mov eax, esi
cdq
idiv ecx
mov dword [0x1003b660], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1003b664], cl
mov dword [0x1003b658], 0x1d7f
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x1003b654], 0x14bd
mov cl, byte [0x1003b664]
mov esi, dword [0x1003b660]
mov byte [ebx + esi], cl
mov esi, dword [0x1003b65c]
add esi, 1
mov dword [0x1003b65c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1001275c
mov dword [0x1003b654], 0x20f6
mov dword [0x1003b658], 0xbda
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001282d
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 ecx, dword [0x1003b654]
add ecx, 0x89f
mov dword [0x1003b654], ecx
mov dword [0x1003b658], 0x1fa4
mov dword [ebp - 0x10], eax
call fcn.100115cc
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 0x10012885
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1003b654], 0xfffff354
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x1003b658], 0x1e93
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
je 0x100129ed
jmp 0x10012966
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x100129b0
jmp 0x100129dd
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x48]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x34], eax
jb 0x10012984
jmp 0x100129ed
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 dword [0x1003b654], 0x5ea
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1003b658], 0x19e
mov dword [ebp - 0x34], edi
jmp 0x100129ed
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
add eax, ecx
mov dword [ebp - 0x5c], eax
mov eax, 0xfffff354
xor ecx, ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
xor esi, esi
mov edi, dword [ebp - 0x28]
mov ebx, dword [edi + eax*4]
add edx, 0x89f
mov dword [0x1003b654], edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x40], esi
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x60]
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 - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x3a], cl
jne 0x100128d4
mov al, byte [ebp - 0x3a]
test al, 1
jne 0x10012934
jmp 0x10012905
mov eax, dword [ebp - 0x34]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret