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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x95000]
push edi
or ebp, 0xffffffff
jmp 0x4eadd2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4eadd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4eadc8
mov eax, 1
add ebx, ebx
jne 0x4eadeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4eadfc
jne 0x4eae1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4eae1b
dec eax
add ebx, ebx
jne 0x4eae08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4eade0
add ebx, ebx
jne 0x4eae17
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4eae6d
xor ecx, ecx
sub eax, 3
jb 0x4eae33
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4eaea2
sar eax, 1
mov ebp, eax
jmp 0x4eae3e
add ebx, ebx
jne 0x4eae3e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4eae0c
inc ecx
add ebx, ebx
jne 0x4eae4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4eae0c
add ebx, ebx
jne 0x4eae59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4eae4e
jne 0x4eae6a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4eae4e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4eae8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4eae7e
jmp 0x4eadce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4eae8c
add edi, ecx
jmp 0x4eadce
pop esi
mov edi, esi
mov ecx, 0x1dbc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4eaeaa
cmp byte [edi], 0x11
jne 0x4eaeaa
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 0x4eaeaf
lea edi, [esi + 0xe5000]
mov eax, dword [edi]
or eax, eax
je 0x4eaf27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xef2a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xef428]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4eaedc
mov ecx, edi
jns 0x4eaf0b
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 + 0xef430]
or eax, eax
je 0x4eaf21
mov dword [ebx], eax
add ebx, 4
jmp 0x4eaef9
call dword [esi + 0xef42c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4eaf58
cmp al, 0xef
ja 0x4eaf4b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4eaf2d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4eaf3a
mov ebp, dword [esi + 0xef434]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4eaf8c
sub esp, 0xffffff80
jmp 0x4468a1
Function at 0x4756e8
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffee4
mov dword [esp], 0x11c
push esp
call sub.kernel32.dll_GetVersionExW
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x475725
mov al, 4
mov edx, dword [esp + 4]
cmp edx, 6
jne 0x475713
mov al, 7
jmp 0x47575e
cmp edx, 5
jb 0x47575e
mov al, 5
cmp dword [esp + 8], 1
jb 0x47575e
mov al, 6
jmp 0x47575e
cmp eax, 1
jne 0x47575c
mov al, 1
cmp dword [esp + 4], 4
ja 0x475741
cmp dword [esp + 4], 4
jne 0x475743
cmp dword [esp + 8], 0xa
jb 0x475743
mov al, 2
cmp dword [esp + 4], 4
ja 0x475758
cmp dword [esp + 4], 4
jne 0x47575e
cmp dword [esp + 8], 0x5a
jb 0x47575e
mov al, 3
jmp 0x47575e
xor eax, eax
add esp, 0x11c
ret
Function at 0x47fcac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
call fcn.00406c24
xor eax, eax
push ebp
push 0x47fd10
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
mov eax, dword [ebp + 8]
call fcn.00407984
push eax
mov eax, esi
call fcn.00407984
push eax
mov eax, ebx
call fcn.00407984
push eax
push 0x47fd20
push edi
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fd17
lea eax, [ebp + 8]
call fcn.00406b40
ret

Function at 0x47fe68
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406c24
xor eax, eax
push ebp
push 0x47ff02
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404a64
lea eax, [ebp - 0x44]
call fcn.00480d68
xor eax, eax
push ebp
push 0x47fee5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x44], 0x3c
lea eax, [ebp - 0x44]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00407984
push eax
call sub.wininet.dll_InternetCrackUrlW
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47feec
lea eax, [ebp - 0x44]
call fcn.00480e78
ret
Function at 0x48a340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x48a538
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48a508
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
call fcn.004aade0
call fcn.004abf3c
call fcn.004a7534
xor ecx, ecx
mov dl, 1
mov eax, dword [0x485654]
call fcn.004894dc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48a4f7
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00472978
mov edi, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], edi
cmp edi, 0x20
setne al
push eax
mov edx, dword [0x4bc608]
mov edx, dword [edx]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004897fc
mov edx, dword [0x4bc84c]
mov edx, dword [edx]
mov eax, dword [ebp - 8]
call fcn.00489714
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00407a6c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00489624
mov ebx, eax
test ebx, ebx
je 0x48a4e1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x30]
mov cl, 7
call fcn.004729b8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x48a4da
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0047343c
call fcn.0046bbb4
mov ecx, eax
mov edx, dword [ebx + 0x58]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.004769fc
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebx + 0x74]
mov eax, dword [ebx + 0x70]
call fcn.0043c008
lea eax, [ebp - 0x1c]
push eax
push esi
push 0
push 0
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00488b78
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00407a80
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 1
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x48a278]
call fcn.0048a650
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48a4bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a4c4
mov eax, dword [ebp - 0xc]
call fcn.00404ed4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a4fe
mov eax, dword [ebp - 8]
call fcn.00404ed4
ret
Function at 0x497440
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
mov ebx, eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x620]
call fcn.00408b24
test eax, eax
jl 0x4974fb
cmp word [esi], 0xd
jne 0x4974e2
mov edi, dword [ebx + 0x18]
cmp byte [edi + 0x4a7], 0
je 0x4974ca
mov eax, edi
call fcn.00472400
push eax
mov eax, dword [ebx + 0x18]
call fcn.00472194
dec eax
pop edx
cmp edx, eax
jne 0x49749b
mov eax, ebx
call fcn.004a00e4
xor edx, edx
mov eax, dword [ebx + 0x18]
call fcn.00472628
jmp 0x49750b
mov eax, dword [ebx + 0x18]
call fcn.00472400
mov edi, eax
mov eax, dword [ebx + 0x18]
call fcn.00472194
sub eax, 2
cmp edi, eax
jne 0x4974c0
xor edx, edx
mov eax, dword [ebx + 0x18]
call fcn.00472628
jmp 0x49750b
xor edx, edx
mov eax, dword [ebx + 0x18]
call fcn.00472628
push 0
push 0xd
push 0x464
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x423]
push eax
call sub.user32.dll_SendMessageW
cmp word [esi], 0x1b
jne 0x4974fb
mov eax, dword [ebx + 0x18]
cmp byte [eax + 0x4a7], 0
je 0x4974fb
xor edx, edx
call fcn.00472628
cmp word [esi], 0x21
jae 0x49750b
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x2e], 3
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x49cfac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x49d0c6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49d0a6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
call fcn.004aade0
call fcn.004abf3c
call fcn.004a7534
lea eax, [ebp - 0x10]
mov edx, 1
mov cl, 1
call fcn.0042da1c
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x49d0d8
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0x88]
push 0x49d0e8
call sub.user32.dll_RegisterWindowMessageW
mov dword [0x4c22b8], eax
push 0x49d10c
call sub.user32.dll_RegisterWindowMessageW
mov dword [0x4c22bc], eax
push 0x49d130
call sub.user32.dll_RegisterWindowMessageW
mov dword [0x4c22c0], eax
mov dl, 1
mov eax, dword [0x435a60]
call fcn.00440d2c
mov esi, eax
mov dword [ebx + 0x1c4], esi
mov byte [esi + 0x50], 1
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 8]
xor edx, edx
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x10]
cmp dword [ebx + 0x18], 0
jne 0x49d095
cmp dword [0x4bc264], 0xffffffff
je 0x49d095
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49d0b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d0cd
lea eax, [ebp - 0x10]
call fcn.00428370
ret

Function at 0x49e7d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x49e85f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x24], 0
je 0x49e849
cmp dword [ebx + 0x18], 0
je 0x49e849
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x18]
call fcn.0047081c
cmp dword [ebp - 4], 0
jne 0x49e838
mov eax, dword [ebx + 0x18]
call fcn.00470c4c
test al, al
je 0x49e838
mov edx, dword [ebx + 0xf8]
mov eax, dword [ebx + 0x24]
call fcn.0047088c
push 4
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 0x423]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x24]
call fcn.00475c8c
jmp 0x49e849
push 0
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 0x423]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e866
lea eax, [ebp - 4]
call fcn.00406b40
ret
Function at 0x4a90f0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
call fcn.00406c24
xor eax, eax
push ebp
push 0x4a91b0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404a64
push ebp
call fcn.004a9028
pop ecx
xor eax, eax
push ebp
push 0x4a9193
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x3c], 0x3c
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x40]
call fcn.00407984
push eax
call sub.wininet.dll_InternetCrackUrlW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x41], al
mov eax, ebx
mov edx, dword [ebp - 0x2c]
call fcn.004079dc
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.004079dc
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.004079dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a919a
push ebp
call fcn.004a90b0
pop ecx
ret

Function at 0x4aa7a0
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00404a64
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x1000b776
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x101d5348]
add edx, 0xffffd94f
mov dword [0x101d5344], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, ecx
add edx, 0xffffe3e9
mov esi, dword [ebp - 0x18]
cmp word [esi + eax*2], 0
mov edi, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edi
je 0x1000b807
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, dword [ebp - 0x28]
mov edx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], eax
jl 0x1000b7b7
jmp 0x1000b807
mov eax, dword [ebp - 0x30]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [0x101d5344], ecx
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x34], eax
jne 0x1000b8ad
mov dword [0x101d5348], 0x7a0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1000b8ad
mov eax, dword [ebp - 0x24]
add eax, 0xffffe7d7
mov dword [0x101d5344], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1000b8ad
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1000b8ad
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1000b8ad
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1000b8ad
mov eax, 1
mov dword [0x101d5344], 0xb63
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x30], eax
je 0x1000b7fd
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x1000b7fd
Function at 0x1000b8cc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1000c1a7
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, dword [0x101d5344]
add edi, 0x20f3
mov dword [0x101d5344], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101d5348], 0x1487
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 0x1000b94d
jmp 0x1000b958
xor eax, eax
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov edx, dword [ebp - 0x2c]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
jb 0x1000b96a
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
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 - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x1000b9d5
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x1000b984
mov al, byte [ebp - 0x42]
test al, 1
jne 0x1000b9e1
jmp 0x1000b929
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101d5344], 0x954
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
jmp 0x1000b94d
Function at 0x1000be1a
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 [0x101d5350], 0
mov byte [0x101d5354], 0
mov edi, dword [0x101d5344]
add edi, 0xe84
mov dword [0x101d5348], edi
mov dword [0x101d534c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000be7a
xor eax, eax
mov dword [0x101d534c], 0
mov dword [ebp - 0x20], eax
jmp 0x1000beac
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x101d5348], 0x8b8
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101d534c]
add eax, 1
mov dword [0x101d534c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000be7a
jmp 0x1000be69
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101d5358], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x101d5350]
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 [0x101d5358], esi
mov dword [0x101d5344], 0x233b
mov eax, esi
cdq
idiv ecx
mov dword [0x101d5350], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101d5354], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101d5354]
mov esi, dword [0x101d5350]
mov byte [ebx + esi], cl
mov esi, dword [0x101d534c]
add esi, 1
mov dword [0x101d534c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000beac
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000bf62
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x101bf667]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x101d5344], 0x1540
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.1000bb62
mov dword [0x101d5344], 0x1b9e
call fcn.1000ba0b
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000b0a3
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x1000c08d
mov dword [0x101d5344], 0x505
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 [0x101d5344], 0x1847
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1000b202
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101d5344], 0x14d0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x4c], ecx
mov dword [0x101d5348], 0xc82
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1000c08d
mov eax, dword [ebp - 0x44]
add eax, 0x1bad
mov ecx, dword [0x101d5344]
add ecx, 0x2182
mov dword [0x101d5344], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x1000c363
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]
xor edi, edi
mov dword [0x101d534c], 0
mov dword [0x101d5350], 0
mov dword [0x101d535c], 0
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 0x1000c4b9
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, ecx
add edi, 1
add eax, 1
mov dword [0x101d5344], 0x581
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x101d534c], edx
mov dword [0x101d5348], 0x20ec
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101d5350], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101d5354], cl
mov dword [0x101d5348], 0x1c17
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101d5354]
mov edx, dword [0x101d5350]
mov byte [ebx + edx], cl
mov edx, dword [0x101d534c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101d5350]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101d535c], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
xor cl, byte [edx + esi]
mov byte [0x101d5360], cl
mov dword [0x101d5344], 0x13d7
mov dword [0x101d5348], 0x1ac9
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x1000c4b9
mov eax, dword [0x101d534c]
mov ecx, dword [0x101d5350]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1000c3bc
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c4c1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x101d5344], 0x895
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000b43d
lea ecx, [0x1000b6fd]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x60], edx
mov dword [esp + 0x34], 0x150000
mov edx, dword [0x101d5330]
mov dword [esp + 0x5c], edx
mov edx, dword [0x101d5334]
mov dword [esp + 0x28], edx
mov edx, dword [0x101d5338]
mov dword [esp + 0x20], edx
mov edx, dword [0x101d533c]
mov dword [esp + 0x2c], edx
mov edx, dword [0x101d5340]
mov dword [esp + 0x50], edx
mov dword [0x101d5348], 0x1d3f
mov dword [0x101d5344], 0x2324
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1000c578
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1000c58c
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1000c555
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov dword [0x101d5344], 0x4417
mov dword [0x101d5348], 0x94b
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x4c], edx
call fcn.1000b776
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1000c5f3
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1000bf62
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret