joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c6d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x479ba8], 0
je 0x44c823
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x478ae8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x44c823
mov eax, dword [0x479bac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x479ba8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44c7f2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x479ba8]
call fcn.0041cb18
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44c7ea
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x44c7ea
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44c7ea
mov eax, dword [ebp - 0x14]
call fcn.004552d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c7ea
push ebp
call fcn.0044c690
pop ecx
test al, al
jne 0x44c7ea
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x44c7a6
mov eax, dword [ebp - 0x14]
call fcn.00453e00
dec eax
jle 0x44c7ea
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403578
cmp byte [ebp - 1], 0
je 0x44c7ea
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44c7ea
mov edx, dword [ebp - 0x14]
mov eax, dword [0x479bac]
call fcn.0044be5c
inc edi
dec ebx
jne 0x44c739
mov eax, dword [0x479bac]
cmp dword [eax + 8], 0
jle 0x44c80a
mov eax, dword [0x479bac]
call fcn.0044beec
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44c823
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044c4f8
pop ecx
test al, al
jne 0x44c823
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44fde8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x44fe34
mov eax, esi
call fcn.00437e28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44fe34
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44fe34
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x44ff73
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44fe74
cmp eax, 0x108
ja 0x44fe74
mov eax, esi
call fcn.00437e28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44ff6a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44ff73
jmp 0x44ff6a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44ff53
cmp eax, 0x20a
ja 0x44ff53
test byte [esi + 0x50], 0x80
jne 0x44fea6
sub eax, 0x203
je 0x44fea3
sub eax, 3
je 0x44fea3
sub eax, 3
jne 0x44fea6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44feba
dec eax
je 0x44fecf
dec eax
je 0x44feec
dec eax
je 0x44fecf
jmp 0x44fef3
mov ecx, ebx
mov eax, dword [0x478ae8]
mov eax, dword [eax]
mov edx, esi
call fcn.00441450
jmp 0x44ff6a
cmp byte [esi + 0x5d], 1
jne 0x44fee5
mov eax, esi
mov si, 0xffed
call fcn.00403578
jmp 0x44ff73
or word [esi + 0x54], 1
jmp 0x44ff6a
and word [esi + 0x54], 0xfffe
jmp 0x44ff6a
mov eax, dword [0x479b64]
cmp byte [eax + 0x20], 0
je 0x44ff6a
mov eax, dword [0x479b64]
cmp dword [eax + 0x1c], 0
je 0x44ff6a
mov eax, dword [ebx]
mov edx, dword [0x479b64]
cmp eax, dword [edx + 0x1c]
jne 0x44ff6a
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00437d6c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403578
jmp 0x44ff73
cmp eax, 0xb00b
jne 0x44ff6a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044e724
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453460
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x45347c
cmp dword [esi + 4], 0
je 0x4534a9
test byte [ebx + 0x55], 1
jne 0x45349b
mov eax, ebx
call fcn.00452000
test eax, eax
jne 0x45349b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4535b9
mov edx, esi
mov eax, ebx
call fcn.00452f84
jmp 0x4535b9
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4535b2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004552d0
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0044fd1c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00453460
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004552d0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4535b9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459a40
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x478d74]
cmp byte [eax + 0xc], 0
je 0x459bad
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x459ba6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x479bb8], 0
jne 0x459a94
push 0x459bb4
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x459bbc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bb8], eax
cmp dword [0x477f9c], 0
jne 0x459b8f
push 0x459bcc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x477f9c], eax
cmp dword [0x477f9c], 0
je 0x459b8f
push 0x459bd8
mov eax, dword [0x477f9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bbc], eax
push 0x459be8
mov eax, dword [0x477f9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bc0], eax
push 0x459bfc
mov eax, dword [0x477f9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bc4], eax
push 0x459c14
mov eax, dword [0x477f9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bc8], eax
push 0x459c2c
mov eax, dword [0x477f9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bcc], eax
push 0x459c40
mov eax, dword [0x477f9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bd0], eax
push 0x459c58
mov eax, dword [0x477f9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bd4], eax
push 0x459c70
mov eax, dword [0x477f9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bd8], eax
push 0x459c8c
mov eax, dword [0x477f9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479bdc], eax
push 0x459c98
mov eax, dword [0x477f9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479be0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459bad
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x1026c019
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102b0730], 0
mov byte [0x102b0734], 0
mov dword [0x102b0728], 0x247e
mov dword [0x102b072c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1026c071
xor eax, eax
mov dword [0x102b072c], 0
mov dword [ebp - 0x20], eax
jmp 0x1026c099
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102b072c]
add eax, 1
mov dword [0x102b072c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1026c071
jmp 0x1026c060
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102b0738], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x102b0724]
mov ebx, edi
add ebx, 0xffffd965
mov dword [0x102b0728], ebx
mov ebx, dword [0x102b0730]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [esi + ecx]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add ecx, edx
mov dword [0x102b0738], ecx
mov dword [0x102b0728], 0x162a
mov eax, ecx
cdq
mov ecx, dword [ebp - 0x28]
idiv ecx
mov dword [0x102b0730], edx
add edi, 0x26f4
mov dword [0x102b0724], edi
mov edi, dword [ebp - 0x24]
mov cl, byte [esi + edi]
mov byte [0x102b0734], cl
mov dword [0x102b0724], 0x8fc
mov cl, byte [esi + edx]
mov byte [esi + edi], cl
mov dword [0x102b0724], 0x721
mov cl, byte [0x102b0734]
mov edx, dword [0x102b0730]
mov byte [esi + edx], cl
mov dword [0x102b0728], 0x15d4
mov edx, dword [0x102b072c]
add edx, 1
mov dword [0x102b072c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1026c099
mov dword [0x102b0724], 0x71f
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1026c183
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x102b0728], 0x26bd
mov dword [0x102b0724], 0xe95
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
jmp 0x1026c23e
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
lea edx, section..data
imul esi, eax, 0x9c
mov edi, edx
add edi, esi
add edi, 0x98
mov esi, dword [edi]
imul edi, eax, 0x9c
mov ebx, edx
add ebx, edi
add ebx, 0x18
mov edi, dword [ebx]
imul ebx, eax, 0x9c
add edx, ebx
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x44]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edx
call fcn.1026cfc8
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
add eax, ecx
mov edx, dword [ebp - 0x48]
add edx, 1
cmp edx, 0x69c
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
je 0x1026c326
jmp 0x1026c1b5
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x9c
mov edi, edx
add edi, esi
add edi, 0x98
mov esi, dword [edi]
imul edi, eax, 0x9c
add edx, edi
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x69c
mov ecx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x1026c23e
lea eax, [0x1026f2a3]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x102b0728], 0x130b
mov dword [0x102b0724], 0x1346
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], ecx
call fcn.1026c47b
mov dword [0x102b0728], 0xb5d
mov dword [0x102b0724], 0x6c2
call fcn.1026c3c3
mov dword [esp], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], eax
call fcn.1026c5f6
mov ecx, eax
mov dword [0x102b0744], eax
mov eax, esp
mov edx, dword [ebp - 0x54]
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 - 0x44], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
jmp 0x1026c1b5
mov eax, dword [ebp - 0x44]
add eax, 0x567cf
mov dword [0x102b0728], 0x9b1
mov ecx, dword [ebp - 0x44]
add ecx, 0x6152d
mov edx, dword [ebp - 0x44]
mov dword [esp], edx
mov dword [esp + 4], edx
mov esi, dword [ebp - 0x54]
mov dword [esp + 8], esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
call fcn.1026c528
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x64]
mov dword [ecx], edx
mov edx, dword [0x102b0724]
add edx, 0x183c
mov dword [0x102b0724], edx
mov dword [ecx + 4], 0x113c00
mov dword [0x102b0728], 0x13e1
mov edx, dword [ebp - 0x60]
mov dword [ecx + 8], edx
mov edx, dword [0x102b0724]
add edx, 0x1510
mov dword [0x102b0724], edx
mov dword [ecx + 0xc], 0x2090
mov edx, dword [0x102b0728]
add edx, 0xfffff7d7
mov dword [0x102b0728], edx
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1026c7ba
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1026f2a3]
mov esi, 0xe
lea edi, [ebp - 0x2c]
mov ebx, dword [0x102b0724]
add ebx, 0x1e99
mov dword [0x102b0724], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
call fcn.1026c47b
mov eax, dword [0x102b0724]
add eax, 0xfffffc44
mov dword [0x102b0728], eax
mov dword [0x102b0724], 0x6c2
call fcn.1026c3c3
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.1026c5f6
xor ecx, ecx
mov dword [0x102b0724], 0x236d
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
je 0x1026c90d
mov eax, dword [ebp - 0x40]
mov dword [0x102b0724], 0x1258
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 ecx, dword [0x102b0724]
add ecx, 0x194b
mov dword [0x102b0728], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.1026bd9e
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x34], ecx
mov dword [0x102b0724], 0x341
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x30], ecx
cmp ecx, 0
mov dword [ebp - 0x44], eax
je 0x1026c90d
mov eax, dword [ebp - 0x48]
add eax, 0x1000
mov dword [0x102b0728], 0x1ddf
mov dword [ebp - 0x4c], eax
mov dword [0x102b0724], 0xffffefc9
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1026c918
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov dword [0x102b0724], 0x1367
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x102b0724]
mov edi, esi
add edi, 0xffffec0a
mov dword [0x102b0724], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x1026c9df
xor eax, eax
mov dword [0x102b0724], 0x1f9e
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x24], eax
je 0x1026ca8d
jmp 0x1026caa5
xor eax, eax
mov dword [0x102b0724], 0x264f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x24], eax
je 0x1026c967
jmp 0x1026caa5
mov eax, 1
mov dword [0x102b0724], 0x536
mov dword [ebp - 0x24], eax
jmp 0x1026caa5
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], eax
jge 0x1026c9f5
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
jne 0x1026c9c8
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
add edx, 0xfffff5a8
mov dword [0x102b0724], edx
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jne 0x1026caa5
xor eax, eax
mov dword [0x102b0724], 0x28f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x24], eax
jne 0x1026caa5
mov dword [0x102b0724], 0x2505
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
sete dl
mov byte [ebp - 0x2d], dl
xor eax, eax
mov cl, byte [ebp - 0x2d]
test cl, 1
mov dword [ebp - 0x24], eax
jne 0x1026ca69
jmp 0x1026caa5
xor eax, eax
mov dword [0x102b0728], 0x870
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x24], eax
je 0x1026c98e
jmp 0x1026caa5
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x1026c9b1
mov eax, dword [ebp - 0x24]
add esp, 0x28
pop esi
pop edi
pop ebp
ret
Function at 0x1026cde1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov ecx, dword [0x102b0724]
add ecx, 0xffffea42
mov dword [0x102b0728], ecx
mov dword [ebp - 0x10], eax
call fcn.1026d179
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov dword [0x102b0724], 0x1516
mov edx, dword [eax + edx + 0x78]
mov dword [0x102b0724], 0x11d0
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov dword [0x102b0728], 0x6c2
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, dword [ecx + edx + 0x18]
cmp esi, 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
je 0x1026cf66
jmp 0x1026ceb8
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x2c]
mov dword [0x102b0728], edx
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
add esi, dword [esi + edi + 0x1c]
mov ebx, dword [ebp - 0x18]
add ebx, dword [esi + ecx*4]
mov dword [0x102b0724], 0x1a69
mov dword [ebp - 0x24], ebx
jmp 0x1026cf66
mov eax, dword [ebp - 0x30]
add eax, 1
mov cl, byte [ebp - 0x31]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x32]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x38], eax
jne 0x1026cef2
jmp 0x1026cf1f
mov eax, 0xffffefb4
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
xor esi, esi
mov edi, dword [ebp - 0x1c]
mov ebx, dword [edi + eax*4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x18]
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 - 0x30], eax
mov byte [ebp - 0x31], bh
mov byte [ebp - 0x32], cl
jne 0x1026ce8e
mov al, byte [ebp - 0x32]
test al, 1
jne 0x1026ce5d
jmp 0x1026cf2c
mov eax, 0xffffeebe
xor ecx, ecx
mov dword [0x102b0724], 0x10da
mov edx, dword [ebp - 0x28]
add edx, 2
mov esi, dword [ebp - 0x48]
add esi, 1
mov edi, dword [ebp - 0x20]
cmp esi, edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x24], ecx
jb 0x1026ced2
mov eax, dword [ebp - 0x24]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1026d30c
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 ebx, 0x4207
mov dword [0x102b072c], 0
mov dword [0x102b0730], 0
mov dword [0x102b073c], 0
mov dword [0x102b0728], 0x222c
mov dword [0x102b0724], 0x4207
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x1026d4b0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add ecx, 0xfffff351
mov dword [0x102b0724], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x102b072c], edx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x102b0730], edx
mov dword [0x102b0724], 0x1bda
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102b0734], cl
mov dword [0x102b0724], 0x297
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x102b0724], 0x2f0
mov cl, byte [0x102b0734]
mov edx, dword [0x102b0730]
mov byte [edi + edx], cl
mov edx, dword [0x102b072c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102b0730]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x102b0728], 0xffffe4ab
and ebx, 0xff
mov dword [0x102b073c], ebx
mov dword [0x102b0724], 0x1696
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x102b0741], ch
mov byte [0x102b0742], cl
xor ch, cl
mov byte [0x102b0740], ch
mov dword [0x102b0728], 0xffffef26
mov dword [0x102b0724], 0x15f1
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x1026d4b0
mov eax, dword [0x102b0724]
mov ecx, dword [0x102b072c]
mov edx, dword [0x102b0730]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
jmp 0x1026d381
mov dword [0x102b0728], 0x23ec
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret