joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405ec0
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x4226b0], 0x4c554e
mov edi, 0x400
mov ebp, 0x4226b0
je 0x405f0c
push 1
push 0
push esi
call fcn.00405dea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x40602b
cmp eax, edi
jg 0x40602b
mov esi, 0x422ab0
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x40602b
cmp eax, edi
jg 0x40602b
push esi
push ebp
push str._s_s_r_n
push 0x4222b0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x424330]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.004062ea
push 4
push 0xc0000000
push esi
call fcn.00405dea
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x40602b
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x406024
push edi
push esi
push ebp
call fcn.00405e62
test eax, eax
je 0x406024
push str._Rename__r_n
push esi
call fcn.00405d4f
test eax, eax
jne 0x405fc2
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x405ff7
add eax, 0xa
push 0x40a3d0
push eax
call fcn.00405d4f
mov ebp, eax
test ebp, ebp
je 0x405ff3
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x405fe4
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x405fde
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x405ff9
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x4222b0
push eax
call fcn.00405da5
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00405e91
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406030
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x406053
push dword [esp + 8]
push dword [esp + 8]
call fcn.00405ec0
pop ecx
pop ecx
inc dword [0x4243b0]
ret 8

Function at 0x40613e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
mov dword [ebp - 4], 0x400
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004060dd
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x4061ad
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 0xc]
push esi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and byte [esi + 0x3ff], 0
test edi, edi
pop edi
jne 0x4061ad
cmp dword [ebp + 0xc], 1
je 0x4061b0
cmp dword [ebp + 0xc], 2
je 0x4061b0
and byte [esi], 0
pop esi
leave
ret 0x14
Function at 0x406611
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406635
xor eax, eax
test eax, eax
je 0x406647
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406647
xor ecx, ecx
jmp 0x40664a
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

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

Disassembly:
cmp dword [0x422eb4], 0
push esi
jne 0x40676d
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 0x406747
mov dword [ecx*4 + 0x422eb0], eax
inc ecx
cmp ecx, 0x100
jl 0x406742
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40679e
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 + 0x422eb0]
xor eax, esi
inc ecx
dec edx
jne 0x406780
pop edi
not eax
pop esi
ret 0xc
Function at 0x1018c920
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1018cb0d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x146000]
push edi
or ebp, 0xffffffff
jmp 0x1018c94a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1018c951
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1018c940
mov eax, 1
add ebx, ebx
jne 0x1018c963
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1018c974
jne 0x1018c993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1018c993
dec eax
add ebx, ebx
jne 0x1018c980
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1018c958
add ebx, ebx
jne 0x1018c98f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1018c9e5
xor ecx, ecx
sub eax, 3
jb 0x1018c9ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1018ca1a
sar eax, 1
mov ebp, eax
jmp 0x1018c9b6
add ebx, ebx
jne 0x1018c9b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1018c984
inc ecx
add ebx, ebx
jne 0x1018c9c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1018c984
add ebx, ebx
jne 0x1018c9d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1018c9c6
jne 0x1018c9e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1018c9c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1018ca04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1018c9f6
jmp 0x1018c946
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1018ca04
add edi, ecx
jmp 0x1018c946
pop esi
mov edi, esi
mov ecx, 0x9872
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1018ca22
cmp byte [edi], 0x14
jne 0x1018ca22
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 0x1018ca27
lea edi, [esi + 0x181000]
mov eax, dword [edi]
or eax, eax
je 0x1018ca9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18c000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18c178]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1018ca54
mov ecx, edi
jns 0x1018ca83
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 + 0x18c17c]
or eax, eax
je 0x1018ca99
mov dword [ebx], eax
add ebx, 4
jmp 0x1018ca71
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1018cad0
cmp al, 0xef
ja 0x1018cac3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1018caa5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1018cab2
mov ebp, dword [esi + 0x18c180]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x1018cb04
sub esp, 0xffffff80
jmp 0x1013a0f9
Function at 0x5ea4d2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5ea4ed
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124af712]
pop edx
test eax, eax
je 0x5ea5bf
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5ea5ae
test dword [ebp - 0x2a8], 1
jne 0x5ea5ae
and dword [ebp - 0x2a8], 0x100
jne 0x5ea5ae
push esi
push edx
push 4
push esi
call dword [edx + 0x122d2d3f]
pop edx
pop esi
test eax, eax
je 0x5ea551
jmp 0x5ea5ae
cmp word [esi], 0x5a4d
jne 0x5ea5ae
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5ea5ae
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d2df3]
pop edx
test eax, eax
je 0x5ea5ae
lea eax, [ebp - 0x28c]
push eax
call fcn.005ea42e
test eax, eax
jne 0x5ea5a7
jmp 0x5ea5ae
mov eax, esi
jmp 0x5ea5bf
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5ea4ed
pop esi
leave
ret 4
Function at 0x101da3a2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10207748]
jne 0x101da3ac
repz ret
jmp fcn.101db33e

Function at 0x101daf63
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.101da423
and dword [ebp - 4], 0
cmp dword [0x10209254], 0
mov ebx, eax
jne 0x101db014
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101db0c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101db0c5
push eax
call fcn.101da3b1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10209254], eax
call esi
push eax
call fcn.101da3b1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10209258], eax
call esi
push eax
call fcn.101da3b1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1020925c], eax
call esi
push eax
call fcn.101da3b1
pop ecx
mov dword [0x10209264], eax
test eax, eax
je 0x101db014
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101da3b1
pop ecx
mov dword [0x10209260], eax
mov eax, dword [0x10209260]
cmp eax, ebx
je 0x101db06c
cmp dword [0x10209264], ebx
je 0x101db06c
push eax
call fcn.101da42c
push dword [0x10209264]
mov esi, eax
call fcn.101da42c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101db06c
test edi, edi
je 0x101db06c
call esi
test eax, eax
je 0x101db063
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101db063
test byte [ebp - 0xc], 1
jne 0x101db06c
or dword [ebp + 0x10], 0x200000
jmp 0x101db0a5
mov eax, dword [0x10209258]
cmp eax, ebx
je 0x101db0a5
push eax
call fcn.101da42c
pop ecx
test eax, eax
je 0x101db0a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101db0a5
mov eax, dword [0x1020925c]
cmp eax, ebx
je 0x101db0a5
push eax
call fcn.101da42c
pop ecx
test eax, eax
je 0x101db0a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10209254]
call fcn.101da42c
pop ecx
test eax, eax
je 0x101db0c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101db0c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101de8c0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001075
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x101de8fb
jmp 0x101dea29
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x101de99f
lea eax, [esp + 0x38]
mov dword [0x10207658], 0x1c88
mov dword [esp + 0x18], eax
call fcn.101def7f
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
je 0x101de92c
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
jmp 0x101dea29
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.101de5fb
lea ecx, [0x101df257]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], edx
mov dword [esp + 0x64], 0x127600
mov edx, dword [0x10207644]
mov dword [esp + 0x7c], edx
mov edx, dword [0x10207648]
mov dword [esp + 0x78], edx
mov dword [0x1020765c], 0x1cfb
mov edx, dword [0x1020764c]
mov dword [esp + 0x58], edx
mov edx, dword [0x10207650]
mov dword [esp + 0x60], edx
mov edx, dword [0x10207654]
mov dword [esp + 0x5c], edx
mov dword [0x10207658], 0x3721
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
jne 0x101de8e4
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
jne 0x101de8e4
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x4c], esi
mov dword [0x10207658], 0x287
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.101df577
mov ecx, dword [0x10207658]
add ecx, 0x1596
mov dword [0x10207658], ecx
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x14], eax
jmp 0x101de91f
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x101decff
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x10207658], 0x7d3
mov dword [ebp - 0x10], eax
call fcn.101df712
xor ecx, ecx
mov edx, eax
mov dword [0x10207658], 0x2094
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 0x101ded4f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x1020765c], 0x10c6
mov eax, dword [eax + 0x78]
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 0x101dedcd
jmp 0x101dedb3
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x36]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x101dee23
jmp 0x101dee50
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
add eax, dword [eax + ecx + 0x24]
mov dword [ebp - 0x40], eax
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
jmp 0x101dee09
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
mov dword [0x1020765c], 0x552
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10207658], 0x401
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x101dedcd
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
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 - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x36], cl
jne 0x101ded86
mov al, byte [ebp - 0x36]
test al, 1
jne 0x101dedd8
jmp 0x101dee59
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov edx, dword [ebp - 0x4c]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x48], ecx
jb 0x101dee09
jmp 0x101dedcd
Function at 0x101def7f
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [ebp - 8], 0
mov dword [0x10207658], 0xbee
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, 0x26f4
xor edx, edx
mov dword [0x10207658], 0x26f4
mov esi, dword [ebp - 8]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x101df01e
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x101defe6
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x101defc8
mov eax, dword [ebp - 0x1c]
add esp, 0x2c
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101defcf
jmp 0x101defc8
mov eax, dword [ebp - 0x24]
mov dword [0x10207658], 0x1599
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x101df065
jmp 0x101defc8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], esi
je 0x101df000
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffc2c
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [0x10207658], eax
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jl 0x101df01e
jmp 0x101df000
mov dword [0x10207658], 0x1581
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101defc8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x101defc8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dx, word [eax + ecx*2 - 0x14]
mov word [ebp - 0x2e], dx
mov ax, word [ebp - 0x2e]
cmp ax, 0x64
jne 0x101defc8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101defef
jmp 0x101defc8
Function at 0x101df2ae
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 [0x10207658], 0x545
mov dword [0x10207660], 0
mov dword [0x10207664], 0
mov dword [0x10207670], 0
mov ebx, dword [0x1020765c]
add ebx, 0x1628
mov dword [0x1020765c], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x101df343
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x10207660]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x10207664]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov edi, eax
add edi, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x10207660], edx
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x38]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x10207664], edx
mov dword [0x10207658], 0x1d10
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x10207668], cl
mov dword [0x1020765c], 0x609
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov edx, dword [0x1020765c]
add edx, 0x19b1
mov dword [0x10207658], edx
mov cl, byte [0x10207668]
mov edx, dword [0x10207664]
mov byte [ebx + edx], cl
mov edx, dword [0x10207660]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10207664]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10207670], ecx
mov edx, dword [0x10207658]
add edx, 0x223a
mov dword [0x1020765c], edx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
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 - 0x30], edi
je 0x101df31f
jmp 0x101df327
Function at 0x101df577
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10207658], 0x132c
mov esi, dword [0x1020765c]
mov edi, esi
add edi, 0xdd7c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edx
jmp 0x101df668
mov eax, dword [ebp - 0x40]
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 - 0x44], eax
call fcn.101df46c
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x10207658], 0x528
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov ecx, dword [0x10207658]
add ecx, 0xfffff810
mov dword [0x10207658], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x38], ecx
mov dword [0x1020765c], 0xd26
cmp ecx, 0
mov dword [ebp - 0x48], eax
jne 0x101df651
mov eax, dword [ebp - 0x48]
add esp, 0x54
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x44]
add eax, 0x1892
mov dword [0x10207658], 0x1421
mov dword [ebp - 0x48], eax
jmp 0x101df647
mov eax, dword [ebp - 0x3c]
mov cl, byte [eax + 0x101e0372]
mov dl, byte [eax + 0x101e0343]
sub dl, cl
mov byte [ebp + eax - 0x28], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x3c], eax
jne 0x101df668
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
add ecx, 0xd1ca
mov edx, dword [ebp - 0x34]
mov dword [0x1020765c], edx
mov dword [0x10207658], ecx
mov dword [ebp - 0x4c], eax
call fcn.101dee82
mov dword [esp], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
call fcn.101dea33
xor ecx, ecx
mov dword [0x1020765c], 0x123
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], ecx
je 0x101df647
jmp 0x101df5b3
Function at 0x101df894
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10207664], 0
mov byte [0x10207668], 0
mov dword [0x1020765c], 0x608
mov dword [0x10207660], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101df90d
mov dword [0x1020765c], 0xe07
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x10207660], 0
mov ecx, dword [0x10207658]
add ecx, 0xfffff171
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
jmp 0x101df935
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10207660]
add eax, 1
mov dword [0x10207660], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101df90d
jmp 0x101df8ed
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x1877
mov esi, 0x100
mov dword [0x1020766c], 0
mov edi, dword [0x10207664]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x1020766c], ebx
mov dword [0x10207658], ecx
mov eax, ebx
cdq
idiv esi
mov dword [0x10207664], edx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
mov cl, byte [ecx + esi]
mov byte [0x10207668], cl
mov ebx, dword [ebp - 0x18]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10207668]
mov edx, dword [0x10207664]
mov byte [ebx + edx], cl
mov dword [0x10207658], 0x2706
mov edx, dword [0x10207660]
add edx, 1
mov dword [0x10207660], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
jl 0x101df935
jmp 0x101df8db