joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1020a575
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [0x1022a638]
add esi, 0xffffea9b
mov dword [0x1022a638], esi
mov dword [0x1022a640], 0
mov byte [0x1022a644], 0
mov edi, dword [0x1022a634]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x207
mov dword [0x1022a634], ecx
mov dword [0x1022a63c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x1020a6dc
xor eax, eax
mov dword [0x1022a638], 0x440
mov dword [0x1022a63c], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, 0x100
mov dword [0x1022a648], 0
mov edx, dword [0x1022a640]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x30], 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 [0x1022a648], edi
mov edx, dword [0x1022a634]
add edx, 0xffffed32
mov dword [0x1022a634], edx
mov eax, edi
cdq
idiv ecx
mov dword [0x1022a640], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
mov cl, byte [ecx + edi]
mov byte [0x1022a644], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x1022a638]
add ecx, 0xfffffe0d
mov dword [0x1022a638], ecx
mov ecx, dword [0x1022a634]
add ecx, 0x1e4f
mov dword [0x1022a634], ecx
mov cl, byte [0x1022a644]
mov edx, dword [0x1022a640]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x1022a63c]
add edx, 1
mov dword [0x1022a63c], edx
cmp edx, 0x100
mov dword [ebp - 0x2c], edx
jl 0x1020a601
mov dword [0x1022a634], 0x2054
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 0xffffdc66
mov dword [0x1022a638], eax
mov eax, ecx
mov dl, al
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], dl
mov ecx, dword [0x1022a63c]
add ecx, 1
mov dword [0x1022a63c], ecx
cmp ecx, 0x100
mov dword [ebp - 0x34], ecx
jge 0x1020a5e8
mov eax, dword [0x1022a638]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x1020a6dc
Function at 0x1020aabf
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xb8
call fcn.1020a865
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x3c], ecx
je 0x1020ab94
jmp 0x1020ab8a
mov eax, dword [esp + 0x38]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [esp + 0x34]
add ecx, 0xfffff29e
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x2c]
mov dword [0x1022a634], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x1020ac3a
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov dword [0x1022a634], 0xa5a
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x70], edx
mov dword [0x1022a638], 0x1c0
mov edx, dword [esp + 0x48]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.10209f93
mov ecx, esp
lea edx, [esp + 0x50]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x1022a634], 0x20b1
mov dword [esp + 0x18], eax
jmp 0x1020ac72
mov eax, dword [esp + 0x3c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.1020acfb
mov dword [esp + 0x10], eax
call fcn.1020a3a1
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x1020ac72
mov eax, dword [esp + 0x40]
mov dword [esp + 0x54], eax
mov dword [esp + 0x8c], 0x125e00
mov eax, dword [0x1022a620]
mov dword [esp + 0x9c], eax
mov eax, dword [0x1022a624]
mov dword [esp + 0xc], eax
mov eax, 0x14e3
lea ecx, [0x1020aa39]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x80], edx
mov esi, dword [0x1022a628]
mov dword [esp + 0x64], esi
mov esi, dword [0x1022a62c]
mov dword [esp + 0x6c], esi
mov esi, dword [0x1022a630]
mov dword [esp + 0x50], esi
mov dword [0x1022a634], 0x14e3
mov dword [0x1022a638], 0x1a56
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp word [eax], 0x5a4d
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
jne 0x1020aae7
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x20], ecx
je 0x1020ab21
jmp 0x1020aae7
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
jmp 0x1020ab8a
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0xb3a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xb3a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb3a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb3a06a
add dl, dl
jne 0xb3a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb3a0dc
xor eax, eax
add dl, dl
jne 0xb3a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb3a17d
add dl, dl
jne 0xb3a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb3a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb3a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb3a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb3a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb3a075
mov eax, 1
add dl, dl
jne 0xb3a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb3a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb3a0e1
sub eax, ebx
mov ebx, 1
jne 0xb3a128
mov ecx, 1
add dl, dl
jne 0xb3a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb3a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb3a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb3a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb3a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb3a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb3a136
cmp eax, 0x7d00
jae 0xb3a16d
cmp eax, 0x500
jb 0xb3a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb3a075
cmp eax, 0x7f
ja 0xb3a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb3a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb3a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb3a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x7ffe53b2
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x30]
not eax
not eax
add al, 0
add al, 4
sub al, 4
push es
pop ds
push bx
inc esp
inc esp
push es
pop ds
xor eax, ecx
xor eax, ecx
and al, 0xff
xor eax, ecx
xor eax, ecx
push es
pop ds
push bx
inc esp
inc esp
add al, 0
push bx
inc esp
inc esp
inc esi
dec esi
pushf
popf
add al, 0
add al, 4
sub al, 4
push eax
pop eax
add al, 4
sub al, 4
and al, 0xff
xor eax, ecx
xor eax, ecx
inc esi
dec esi
xor eax, ecx
xor eax, ecx
push eax
pop eax
push bx
inc esp
inc esp
add al, 0
pushf
popf
push eax
pop eax
not eax
not eax
and al, 0xff
push bx
inc esp
inc esp
push es
pop ds
pushf
popf
add al, 0
not eax
not eax
add al, 0
add al, 4
sub al, 4
lea esp, [esp]
call 0x7ffe5430
pop edx
add al, 0
xor dx, dx
push eax
pop eax
add al, 0
clc
add edx, 0xd5e0
pushf
popf
add al, 0
xor ecx, ecx
push bx
inc esp
inc esp
clc
push es
pop ds
mov cl, 0x1e
push es
pop ds
inc esi
dec esi
xor byte [ecx + edx], 0xcb
loop 0x7ffe5456
and al, 0xff
cld
add al, 0
push dword fs:[0x24]
pushf
popf
pop dword [edx + 0xa]
push eax
pop eax
nop
mov cl, 0xff
push es
pop ds
not eax
not eax
push edx
loop 0x7ffe547a
inc esi
dec esi
push edx
cdq
pop edx
mov dword [edx + 0x11], 0xffffacbb
mov ecx, dword [eax + 0x2c]
nop
mov dword [edx + 0x1b], ecx
inc esi
dec esi
mov dword [edx + 0x100], ecx
cld
push es
pop ds
mov dword [eax + 0x2c], esp
push es
pop ds
push bx
inc esp
inc esp
inc esi
dec esi
push 0
cld
push 0
inc esi
dec esi
push es
pop ds
push 0
cld
push 0
not eax
not eax
push 0x30
inc esi
dec esi
pushf
popf
cld
inc esi
dec esi
push 0x20
push 0
stc
inc esi
dec esi
push 0
add al, 0
add edx, 0xffff7f33
pushal
inc eax
popal
push edx
push edx
push eax
pop eax
xor eax, ecx
xor eax, ecx
stc
push 0
not eax
not eax
push es
pop ds
and al, 0xff
call dword [edx + 0x8210]
push es
pop ds
pushal
inc eax
popal
add esp, 0x3f8
push es
pop ds
xor eax, eax
cld
inc eax
inc esi
dec esi
add al, 4
sub al, 4
ret 0xc
Function at 0x1010589d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1028f490]
jne 0x101058a7
repz ret
jmp fcn.1010794d

Function at 0x1010ab0f
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.101068a6
and dword [ebp - 4], 0
cmp dword [0x10291108], 0
mov ebx, eax
jne 0x1010abc0
push 0x1021b0f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1010ac71
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1021b0ec
push edi
call esi
test eax, eax
je 0x1010ac71
push eax
call fcn.10106834
mov dword [esp], 0x1021b0dc
push edi
mov dword [0x10291108], eax
call esi
push eax
call fcn.10106834
mov dword [esp], 0x1021b0c8
push edi
mov dword [0x1029110c], eax
call esi
push eax
call fcn.10106834
mov dword [esp], 0x1021b0ac
push edi
mov dword [0x10291110], eax
call esi
push eax
call fcn.10106834
pop ecx
mov dword [0x10291118], eax
test eax, eax
je 0x1010abc0
push 0x1021b094
push edi
call esi
push eax
call fcn.10106834
pop ecx
mov dword [0x10291114], eax
mov eax, dword [0x10291114]
cmp eax, ebx
je 0x1010ac18
cmp dword [0x10291118], ebx
je 0x1010ac18
push eax
call fcn.101068af
push dword [0x10291118]
mov esi, eax
call fcn.101068af
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1010ac18
test edi, edi
je 0x1010ac18
call esi
test eax, eax
je 0x1010ac0f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1010ac0f
test byte [ebp - 0xc], 1
jne 0x1010ac18
or dword [ebp + 0x10], 0x200000
jmp 0x1010ac51
mov eax, dword [0x1029110c]
cmp eax, ebx
je 0x1010ac51
push eax
call fcn.101068af
pop ecx
test eax, eax
je 0x1010ac51
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1010ac51
mov eax, dword [0x10291110]
cmp eax, ebx
je 0x1010ac51
push eax
call fcn.101068af
pop ecx
test eax, eax
je 0x1010ac51
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10291108]
call fcn.101068af
pop ecx
test eax, eax
je 0x1010ac71
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1010ac73
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1010ba95
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x1028f424]
add eax, 0xfffffdcf
mov dword [0x1028f424], eax
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x1010baec
jmp 0x1010bb12
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
je 0x1010bb94
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x20], eax
jmp 0x1010bac5
lea eax, [esp + 0x38]
mov dword [0x1028f428], 0xcff
mov dword [esp + 0x18], eax
call fcn.1010c341
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
je 0x1010bb26
jmp 0x1010bb1c
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
jmp 0x1010bb12
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.1010b7d9
lea ecx, [0x1010cd43]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], edx
mov dword [esp + 0x80], 0x132c00
mov edx, dword [0x1028f410]
mov dword [esp + 0x48], edx
mov edx, dword [0x1028f414]
mov dword [esp + 0x7c], edx
mov edx, dword [0x1028f418]
mov dword [esp + 0x3c], edx
mov edx, dword [0x1028f41c]
mov dword [esp + 0x68], edx
mov edx, dword [0x1028f420]
mov dword [esp + 0x70], edx
mov dword [0x1028f424], 0xfffff70e
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
jmp 0x1010bac5
mov eax, dword [esp + 0x1c]
add eax, 0x3c
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [esp + 0x1c]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 8], ecx
jne 0x1010bad8
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov dword [0x1028f428], 0x2382
mov edx, dword [esp + 8]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x8c], esi
mov dword [0x1028f424], 0x17e8
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.1010c6e7
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x1028f424]
add ecx, 0xfffff71a
mov dword [0x1028f424], ecx
mov dword [esp + 0x14], eax
jmp 0x1010bb1c
Function at 0x1010be26
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 [0x1028f430], 0
mov byte [0x1028f434], 0
mov dword [0x1028f424], 0x2002
mov dword [0x1028f428], 0xf6c
mov dword [0x1028f42c], 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 dword [0x1028f424], 0x142c
mov eax, dword [0x1028f42c]
add eax, 1
mov dword [0x1028f42c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1010be75
xor eax, eax
mov dword [0x1028f428], 0x1a2c
mov dword [0x1028f42c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1028f438], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x1028f430]
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 [0x1028f438], esi
mov dword [0x1028f428], 0x232c
mov eax, esi
cdq
idiv ecx
mov dword [0x1028f430], edx
mov dword [0x1028f424], 0x347
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1028f434], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x1028f434]
mov esi, dword [0x1028f430]
mov byte [ebx + esi], cl
mov esi, dword [0x1028f42c]
add esi, 1
mov dword [0x1028f42c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1010bebe
mov eax, dword [0x1028f428]
add eax, 0xffffeb75
mov dword [0x1028f428], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1010c341
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x34
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x3c]
mov esi, dword [0x1028f428]
mov edi, esi
add edi, 0xffffde83
mov dword [0x1028f424], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
jmp 0x1010c42e
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], eax
jl 0x1010c42e
jmp 0x1010c448
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x12], 0x64
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], edx
je 0x1010c40d
jmp 0x1010c3f6
mov eax, 1
mov ecx, 0xadf
mov dword [0x1028f424], 0xadf
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
je 0x1010c4ce
mov eax, dword [ebp - 0x34]
xor ecx, ecx
add eax, 0xfffff184
mov dword [0x1028f428], eax
mov dword [ebp - 0x38], ecx
jmp 0x1010c4ce
mov eax, dword [ebp - 0x20]
add eax, 0xffffdce0
mov dword [0x1028f424], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x34], eax
je 0x1010c3c9
jmp 0x1010c3f6
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
jne 0x1010c392
mov eax, dword [ebp - 0x2c]
mov dword [0x1028f428], 0x9f
mov ecx, dword [ebp - 0x1c]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
jne 0x1010c3f6
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x18], 0x6f
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], edx
jne 0x1010c3f6
mov dword [0x1028f428], 0x1815
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov dx, word [eax + ecx*2 - 0x16]
mov word [ebp - 0x3a], dx
mov ax, word [ebp - 0x3a]
cmp ax, 0x61
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
jne 0x1010c3f6
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x14], 0x64
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], edx
je 0x1010c3b2
jmp 0x1010c3f6
mov eax, dword [ebp - 0x38]
add esp, 0x34
pop esi
pop edi
pop ebp
ret
Function at 0x1010c6e7
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, [0x10219f7b]
mov esi, 0xe
lea edi, [ebp - 0x28]
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.1010bf81
mov eax, dword [0x1028f424]
add eax, 0xffffe70f
mov dword [0x1028f424], eax
call fcn.1010c29b
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1010bc28
cmp eax, 0
mov dword [ebp - 0x3c], eax
jne 0x1010c759
xor eax, eax
add esp, 0x50
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x1028f424]
add ecx, 0x1acf
mov dword [0x1028f424], ecx
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 - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.1010c4fa
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x34], ecx
mov dword [0x1028f424], 0x112
mov ecx, dword [ebp - 0x40]
mov dword [edx + 8], ecx
add ecx, 0x22f2
mov esi, dword [ebp - 0x40]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x1010c7f6
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x50
pop esi
pop edi
pop ebp
ret
Function at 0x1010c99a
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 [0x1028f424]
add ecx, 0x4b29
mov dword [0x1028f424], ecx
mov dword [ebp - 0x10], eax
call fcn.1010c094
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x1028f428], 0x47e5
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1028f424], 0x660
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1010ca11
jmp 0x1010ca1c
mov al, byte [ebp - 0x25]
test al, 1
jne 0x1010cafa
jmp 0x1010cabc
mov eax, dword [ebp - 0x24]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0x660
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
add edx, 0x24f8
mov dword [0x1028f424], edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x40]
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 - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x25], cl
je 0x1010ca01
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x25]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x1010ca62
jmp 0x1010ca01
mov eax, dword [ebp - 0x3c]
add eax, 2
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
xor eax, eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
jb 0x1010ca36
jmp 0x1010ca11
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], edx
mov dword [0x1028f424], 0xc39
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x24], eax
jmp 0x1010ca11
Function at 0x1010cb2e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
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 [0x1028f42c], 0
mov dword [0x1028f430], 0
mov dword [0x1028f43c], 0
mov dword [0x1028f428], 0x14e0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1010cc7d
jmp 0x1010cbb8
mov eax, dword [0x1028f42c]
mov ecx, dword [0x1028f430]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x1010cbb8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, edx
add edi, 1
mov dword [0x1028f424], 0xb69
add eax, 1
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1028f42c], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x1028f430], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x1028f434], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x1028f424], 0x226c
mov cl, byte [0x1028f434]
mov edx, dword [0x1028f430]
mov byte [ebx + edx], cl
mov edx, dword [0x1028f42c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1028f430]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1028f43c], ecx
mov dword [0x1028f424], 0x11c5
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x38]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x34], edi
jne 0x1010cb93
mov dword [0x1028f428], 0xe7d
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret