joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46898a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push 0
push 0
push 0x1042
push dword [esi + 0x24]
lea ebx, [esi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
mov dword [ebp - 8], eax
jl 0x468a40
mov eax, dword [0x481530]
push edi
mov edi, 0x400
lea ecx, [ebp - 4]
push edi
mov dword [ebp - 4], eax
call fcn.004016d3
push edi
push eax
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.0040173b
mov edi, 0x481634
lea ecx, [ebp - 4]
push edi
push 0x481a5c
call fcn.00401b5c
push edi
push 0x48681c
lea ecx, [ebp - 4]
call fcn.00401b5c
push 0x48682c
push 0x4820a4
lea ecx, [ebp - 4]
call fcn.00401b5c
push dword [ebp - 4]
mov ecx, ebx
push 2
push dword [ebp - 8]
call int.0042be92
push 1
mov ecx, esi
pop eax
push dword [ebp - 8]
mov dword [esi + 0x78], eax
mov dword [esi + 0x68], eax
call fcn.004686fb
lea ecx, [ebp - 4]
call fcn.0040139b
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x468df3
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push esi
lea eax, [ebp - 0x2b4]
push 0
push eax
call fcn.0046d310
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x468e35
neg eax
sbb eax, eax
and eax, 2
or ax, 0x4011
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0x10
jmp 0x468e4e
neg eax
sbb eax, eax
and eax, 2
or ax, 0x4011
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0x80
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
pop esi
leave
ret

Function at 0x468ec8
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x49ab00]
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
xor edx, edx
cmp eax, edi
jle 0x468ef5
mov ecx, dword [0x49aaf8]
cmp dword [ecx], ebx
je 0x468ef8
inc edx
add ecx, 4
cmp edx, eax
jl 0x468ee9
or edx, 0xffffffff
cmp edx, 0xffffffff
je 0x468f07
mov eax, dword [0x49aafc]
mov eax, dword [eax + edx*4]
jmp 0x468f66
lea eax, [ebp + 8]
push esi
push eax
push ebx
push edi
mov dword [ebp + 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2b4]
push esi
push edi
push eax
call fcn.0046d310
mov eax, dword [ebp + 0xc]
add esp, 0xc
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push edi
push dword [ebp - 0x2b0]
call fcn.00468e60
pop ecx
mov esi, eax
pop ecx
push esi
push ebx
mov ecx, 0x49aaf8
call fcn.00452f26
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x46c0c9
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov eax, dword [ebx + 0x6c]
push edi
cmp eax, esi
je 0x46c102
push dword [ebx + 0x98]
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
push dword [ebx + 0x6c]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebx + 0x70]
mov dword [ebx + 0x6c], esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x70], esi
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
push 8
push edi
mov dword [ebp - 4], edi
call esi
push 0xa
push edi
mov dword [ebx + 0x74], eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4f
mov dword [ebx + 0x78], eax
call esi
push eax
push 0x4e
call esi
push eax
push 0x4d
call esi
push eax
push 0x4c
call esi
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, ecx
mov dword [ebx + 0x80], edx
sub eax, dword [ebp - 0x14]
mov dword [ebx + 0x74], eax
mov eax, dword [ebp - 8]
mov esi, eax
sub esi, edx
mov dword [ebx + 0x78], esi
mov esi, dword [ebp - 0x14]
mov dword [ebx + 0x7c], esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x46c18c
lea edi, [ebp - 0x14]
mov dword [ebx + 0x20], 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
jmp 0x46c190
and dword [ebx + 0x20], 0
sub ecx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
push edi
add ecx, 8
add eax, 8
mov esi, ecx
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov dword [ebx + 0x6c], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push dword [ebp + 8]
mov dword [ebx + 0x98], eax
push esi
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebx + 0x70], eax
push dword [ebx + 0x6c]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
push dword [ebp + 8]
push esi
xor esi, esi
push esi
push esi
push dword [ebx + 0x6c]
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x46c8cd
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
mov ebx, ecx
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x46c96e
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 4], eax
xor eax, eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x64]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
push dword [ebp - 4]
sub esi, dword [ebp - 0x18]
sub edi, dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebx + 0x6c]
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 8]
mov ecx, ebx
call fcn.0046c292
push esi
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
push dword [ebp - 4]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x46c974
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x46ca15
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
call esi
test eax, eax
je 0x46ca15
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x46ca15
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call esi
inc eax
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x46ca0f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov dword [ebp - 8], eax
call esi
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0046d370
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push dword [ebp - 8]
call fcn.0046f5b0
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x46cacb
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
lea ecx, [ebp + 0x10]
cmp dword [ebp + 0x10], eax
push esi
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
setne al
and dword [ebp + 0x10], 0
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, eax
test esi, esi
jne 0x46cb1f
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ebp
ret
Function at 0x100114a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov dword [0x10061674], 0x122e
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x100116af
mov dword [0x10061674], 0xc01
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x10061674], 0x1973
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x10061678], 0x177a
mov ecx, dword [ecx + 0x14]
mov dword [0x10061674], 0x1eb7
cmp ecx, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
je 0x100116af
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 0x21], cl
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
jne 0x1001157f
jmp 0x100115a3
mov dword [0x10061674], 0xdfa
mov dword [0x10061678], 0xa7
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x100116af
mov eax, 0xdfa
xor ecx, ecx
mov edx, dword [ebp - 0x30]
mov si, word [edx]
shr si, 1
movzx edi, si
cmp si, 0
mov ebx, eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], eax
je 0x1001167e
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x34]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov word [ebp - 0x52], si
mov word [ebp - 0x54], bx
jb 0x1001160a
mov ax, word [ebp - 0x52]
mov word [ebp - 0x54], ax
mov ax, word [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
add ecx, 0x264a
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x4c]
cmp word [edx + esi*2], ax
sete bl
add esi, 1
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov edi, dword [ebp - 0x44]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, ecx
mov byte [ebp - 0x55], bl
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], esi
jne 0x100115d0
mov al, byte [ebp - 0x55]
test al, 1
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], ecx
jne 0x10011664
jmp 0x1001167e
mov eax, dword [ebp - 0x5c]
mov dword [0x10061674], eax
mov dword [0x10061678], 0x671
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
jmp 0x100116af
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x20]
cmp edx, esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x28], edx
jne 0x1001154e
xor eax, eax
mov ecx, dword [ebp - 0x60]
mov dword [0x10061674], ecx
mov dword [0x10061678], 0x671
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100117fa
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x10061674]
add eax, 0xffffda07
mov dword [0x10061674], eax
call fcn.10001070
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10011842
jmp 0x1001186b
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
je 0x100118f0
jmp 0x10011904
lea eax, [esp + 0x28]
mov dword [0x10061674], 0xbdc
mov dword [esp + 0x18], eax
call fcn.10012afb
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
je 0x10011875
jmp 0x10011978
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.10011a2a
mov dword [0x10061678], 0xb1d
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x78], 0x142200
mov ecx, dword [0x10061660]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x10], eax
lea eax, [0x10012d71]
mov ecx, dword [0x10061664]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x10061668]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x1006166c]
mov dword [esp + 0x6c], ecx
mov dword [0x10061674], 0x135a
mov ecx, dword [0x10061670]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x20], eax
jmp 0x1001182a
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1001191b
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x20], eax
jmp 0x1001182a
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x30], esi
mov dword [0x10061674], 0x111c
mov esi, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10011cfc
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x10061674]
add ecx, 0xfffff0fe
mov dword [0x10061674], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
jmp 0x1001186b
Function at 0x10011cfc
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, [0x100144d3]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x10061674], 0x90d
mov dword [0x10061678], 0xb59
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.10012413
mov eax, dword [0x10061674]
add eax, 0x1da2
mov dword [0x10061678], eax
call fcn.10011fae
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x34]
mov dword [esp + 4], ecx
call fcn.1001220a
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
je 0x10011e46
mov eax, dword [ebp - 0x40]
mov dword [0x10061678], 0xc01
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 [0x10061674], 0x1a95
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.10012052
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
mov dword [0x10061678], 0x539
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x10061678]
add ecx, 0xffffeed3
mov dword [0x10061678], ecx
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x24], ecx
mov dword [0x10061674], 0x147
cmp ecx, 0
mov dword [ebp - 0x44], eax
je 0x10011e46
mov eax, dword [ebp - 0x48]
add eax, 0x1814
mov dword [0x10061678], 0x1479
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop edi
pop ebp
ret
Function at 0x1001257f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1006167c], 0
mov dword [0x10061680], 0
mov dword [0x1006168c], 0
mov edi, dword [0x10061674]
add edi, 0x5f1
mov dword [0x10061674], edi
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 - 0x10]
cmp ecx, 0
mov edx, dword [ebp - 0x20]
mov esi, eax
mov edi, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], eax
jne 0x1001260a
mov eax, dword [0x10061678]
add eax, 0x221
mov dword [0x10061678], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
add eax, 1
mov ebx, edx
add ebx, 1
add esi, 0x214e
mov dword [0x10061674], esi
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x1006167c], edx
mov dword [0x10061678], 0xe94
mov esi, dword [ebp - 0x1c]
movzx esi, byte [esi + edx]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x10061680], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10061684], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x10061674], 0x20fe
mov cl, byte [0x10061684]
mov edx, dword [0x10061680]
mov byte [edi + edx], cl
mov edx, dword [0x1006167c]
movzx edx, byte [edi + edx]
mov ecx, dword [0x10061680]
movzx ecx, byte [edi + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1006168c], ecx
mov dword [0x10061674], 0x211
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x34]
mov ch, byte [edx + esi]
mov byte [0x10061691], ch
mov byte [0x10061692], cl
mov dword [0x10061674], 0x1106
xor ch, cl
mov byte [0x10061690], ch
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x3c], ebx
je 0x100125f3
mov eax, dword [0x10061674]
mov dword [ebp - 0x40], eax
mov eax, dword [0x10061680]
mov ecx, dword [0x1006167c]
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x30], ecx
jmp 0x1001260a
Function at 0x100127cd
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 [0x10061680], 0
mov byte [0x10061684], 0
mov dword [0x10061674], 0x9b7
mov dword [0x1006167c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10012825
xor eax, eax
mov dword [0x1006167c], 0
mov dword [ebp - 0x20], eax
jmp 0x10012857
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10061674], 0x1a34
mov eax, dword [0x1006167c]
add eax, 1
mov dword [0x1006167c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10012825
jmp 0x10012814
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10061688], 0
mov dword [0x10061678], 0xa70
mov edx, dword [0x10061680]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10061688], edi
mov dword [0x10061674], 0x2605
mov eax, edi
cdq
idiv ecx
mov dword [0x10061680], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10061684], cl
mov dword [0x10061678], 0x1d7f
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x10061674], 0x14bd
mov cl, byte [0x10061684]
mov edx, dword [0x10061680]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x1006167c]
add edx, 1
mov dword [0x1006167c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10012857
mov dword [0x10061674], 0x20f6
mov dword [0x10061678], 0xbda
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001292e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
mov ecx, dword [0x10061674]
add ecx, 0x89f
mov dword [0x10061674], ecx
mov dword [0x10061678], 0x1fa4
mov dword [ebp - 0x10], eax
call fcn.100116ba
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10012986
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10061674], 0xfffff354
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x10061678], 0x1e93
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x10012af0
jmp 0x10012a26
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
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 0x10012a77
mov al, byte [ebp - 0x41]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x40]
add edx, 1
mov ah, byte [ebp - 0x42]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x38], edx
jne 0x100129d2
jmp 0x10012a77
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
add eax, ecx
mov dword [ebp - 0x48], eax
mov eax, 0xfffff354
xor ecx, ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
jmp 0x10012a46
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
xor esi, esi
mov edi, dword [ebp - 0x28]
mov ebx, dword [edi + eax*4]
add edx, 0x89f
mov dword [0x10061674], edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x38], esi
jmp 0x100129d2
mov al, byte [ebp - 0x42]
test al, 1
jne 0x10012ac3
jmp 0x10012a80
mov eax, dword [ebp - 0x5c]
add eax, 2
mov ecx, dword [ebp - 0x58]
add ecx, 1
mov edx, dword [ebp - 0x30]
cmp ecx, edx
setb bl
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], ecx
mov byte [ebp - 0x69], bl
xor eax, eax
mov cl, byte [ebp - 0x69]
test cl, 1
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x34], eax
jne 0x10012a46
jmp 0x10012af0
mov eax, dword [ebp - 0x5c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x10061674], 0x5ea
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10061678], 0x19e
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret