joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464e4c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4f372c]
cmp byte [eax + 0xc], 0
je 0x464fb9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x464fb2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f4bd8], 0
jne 0x464ea0
push 0x464fc0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x464fc8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4bd8], eax
cmp dword [0x4ef1a4], 0
jne 0x464f9b
push 0x464fd8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4ef1a4], eax
cmp dword [0x4ef1a4], 0
je 0x464f9b
push 0x464fe4
mov eax, dword [0x4ef1a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4bdc], eax
push 0x464ff4
mov eax, dword [0x4ef1a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4be0], eax
push 0x465008
mov eax, dword [0x4ef1a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4be4], eax
push 0x465020
mov eax, dword [0x4ef1a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4be8], eax
push 0x465038
mov eax, dword [0x4ef1a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4bec], eax
push 0x46504c
mov eax, dword [0x4ef1a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4bf0], eax
push 0x465064
mov eax, dword [0x4ef1a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4bf4], eax
push 0x46507c
mov eax, dword [0x4ef1a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4bf8], eax
push 0x465098
mov eax, dword [0x4ef1a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4bfc], eax
push 0x4650a4
mov eax, dword [0x4ef1a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f4c00], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464fb9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x469404
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040487c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x469453
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404aec
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x471540
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x471590]
test si, 4
je 0x471554
or bl, 1
test si, 8
je 0x47155e
or bl, 4
test si, 1
je 0x471568
or bl, 8
test si, 2
je 0x471572
or bl, 0x10
test si, 0x10
je 0x47157c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47158b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x471594
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4715cc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4715ad
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4715bc
or bl, 4
test esi, 0x20000000
je 0x4715c7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x47802c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47803e
add esp, 0xfffffff0
call fcn.00403ce8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423ff8
mov eax, dword [0x4f2fc8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4783d0
mov eax, dword [0x4f2fd8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4783dc
mov eax, ebx
call fcn.004783e8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41ae80]
call fcn.00403994
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41ae80]
call fcn.00403994
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41ae80]
call fcn.00403994
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41ae80]
call fcn.00403994
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41ae80]
call fcn.00403994
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x47476c
push eax
push 0
push 0
mov eax, dword [0x4f32dc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42cc48]
call fcn.0042e3bc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42cc48]
call fcn.0042e3bc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42cc48]
call fcn.0042e3bc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00478898
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47872c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47872c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47872c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47817b
call fcn.00403d40
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x478510
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4786bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47869c
mov dl, 1
mov eax, dword [0x41b4e4]
call fcn.00403994
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040487c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47868b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004651ac
test al, al
je 0x47867e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4786cc
lea eax, [ebp - 0x254]
call fcn.0040aa24
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47867e
xor eax, eax
push ebp
push 0x478677
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x478704
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x478660
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404aec
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x478660
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404aec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47867e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x478581
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041fc74
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4786c2
lea eax, [ebp - 0x260]
call fcn.0040487c
ret

Function at 0x479100
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4f4c24]
cmp byte [eax + 0xa5], 0
jne 0x479171
cmp dword [0x4f4c3c], 0
jne 0x479132
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4790bc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4f4c3c], eax
cmp dword [0x4f4c38], 0
jne 0x47914d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4f4c38], eax
cmp dword [0x4f4c40], 0
jne 0x479171
push esp
push 0
push 0
push 0x479060
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4f4c40], eax
pop edx
ret
Function at 0x479268
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x47927f
add esp, 0xfffffff0
call fcn.00403ce8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423ff8
mov eax, dword [0x4f32b8]
cmp word [eax + 2], 0
jne 0x4792a7
mov eax, dword [0x4f32b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047a9e8
mov eax, dword [0x4f3478]
cmp word [eax + 2], 0
jne 0x4792c1
mov eax, dword [0x4f3478]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047abe0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41ae80]
call fcn.00403994
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41ae80]
call fcn.00403994
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42d728]
call fcn.004355f4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x479448
mov eax, dword [0x4f30ac]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00435a00
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47b180
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4f30ac]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ea60
test eax, eax
je 0x4793b6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a3a4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ea88
test eax, eax
je 0x4793ca
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404aec
mov eax, dword [0x4f2de0]
cmp byte [eax], 0
jne 0x4793fe
mov eax, ebx
call fcn.00479570
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0047b35c
mov eax, ebx
call fcn.0047bd20
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47943e
call fcn.00403d40
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4797f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4f4c24]
cmp dword [eax + 0x30], 0
je 0x47989a
cmp dword [ebx + 0x94], 0
jne 0x479894
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x479780
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x479894
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47985a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x479894
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d4dc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x479869
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47a3fc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x47a431
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040496c
jmp 0x47a43e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048d0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47b538
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47b579
mov eax, esi
call fcn.00460750
test al, al
je 0x47b579
mov eax, dword [ebx + 0x84]
call fcn.0046044c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47b579
push 0
mov eax, dword [ebx + 0x84]
call fcn.0046044c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x47eeb4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x22]
mov edi, dword [ebx + 0x32]
sub edi, dword [ebx + 0x6a]
sub edi, dword [ebx + 0x62]
test edi, edi
jne 0x47eede
cmp dword [ebx + 0x62], 0
jne 0x47eede
cmp dword [ebx + 0x6a], 0
jne 0x47eede
mov edi, esi
jmp 0x47ef65
cmp edi, 0xffffffff
jne 0x47eee6
dec edi
jmp 0x47ef65
mov eax, dword [ebx + 0x22]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x62]
ja 0x47ef65
push esi
mov eax, dword [ebx + 0x2e]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0047e29c
add esp, 0xc
sub dword [ebx + 0x66], esi
sub dword [ebx + 0x62], esi
sub dword [ebx + 0x52], ebp
mov eax, dword [ebx + 0x42]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3a]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x47ef33
mov cx, word [esp]
sub cx, si
jmp 0x47ef35
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x47ef1c
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x36]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x47ef5b
mov cx, word [esp]
sub cx, si
jmp 0x47ef5d
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x47ef44
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x47efc2
mov edx, dword [ebx + 0x2e]
mov ecx, edi
add edx, dword [ebx + 0x62]
mov eax, ebp
add edx, dword [ebx + 0x6a]
call fcn.0047ec50
add dword [ebx + 0x6a], eax
cmp dword [ebx + 0x6a], 3
jb 0x47efad
mov eax, dword [ebx + 0x2e]
mov edx, dword [ebx + 0x62]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x3e], eax
mov ecx, dword [ebx + 0x4e]
shl eax, cl
mov edx, dword [ebx + 0x2e]
mov ecx, dword [ebx + 0x62]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4a]
mov dword [ebx + 0x3e], eax
cmp dword [ebx + 0x6a], 0x106
jae 0x47efc2
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x47eebe
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4852ac
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4f4ca0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4852ce
shr eax, 1
xor eax, 0xedb88320
jmp 0x4852d0
shr eax, 1
dec edx
jne 0x4852bc
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4852b5
mov byte [0x4f50a0], 1
pop esi
pop ebx
ret

Function at 0x4852ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4f50a0], 0
jne 0x485306
call fcn.004852ac
mov eax, edi
dec eax
test eax, eax
jl 0x48532f
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4f4ca0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x485310
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x487920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x487953
dec al
je 0x48798f
dec al
je 0x4879d3
dec al
je 0x487a44
jmp 0x487ad2
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x487ad2
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x487963
jmp 0x487ad2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x487ad2
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x48799f
jmp 0x487ad2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x487ad2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jae 0x487a02
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x487a17
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [ebp - 8], edx
add eax, dword [ebp - 8]
sar eax, 1
jns 0x487a21
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4879e3
jmp 0x487ad2
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x487ad2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x487aa0
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [ebp - 8], edx
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [ebp - 0xc], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [ebp - 4], edx
mov cl, byte [ebp - 0xc]
push eax
mov al, byte [ebp - 8]
pop edx
call fcn.00485338
add al, byte [ebp - 4]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x487a5a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x490334
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
mov byte [ebp - 1], 1
fld qword [ebp + 8]
call fcn.00402c20
mov esi, eax
movzx eax, si
cmp eax, dword [ebx + 0xa0]
je 0x4903cb
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0xa4]
cmp eax, 0x927c0
jbe 0x4903cb
xor edx, edx
xor eax, eax
cmp si, word [ebx + eax*2 + 0x1d]
jne 0x490376
mov dl, 1
jmp 0x49037c
inc eax
cmp eax, 0x40
jne 0x49036b
test dl, dl
jne 0x4903cb
mov eax, ebx
call fcn.00490428
xor eax, eax
cmp si, word [ebx + eax*2 + 0x1d]
je 0x4903cb
inc eax
cmp eax, 0x40
jne 0x490389
movzx eax, si
mov dword [ebx + 0xa0], eax
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0xa4], eax
xor eax, eax
cmp word [ebx + eax*2 + 0x1d], 0
jne 0x4903bb
mov word [ebx + eax*2 + 0x1d], si
jmp 0x4903c1
inc eax
cmp eax, 0x40
jne 0x4903ac
mov eax, ebx
call fcn.004905b4
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x4906e8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4906fd
add esp, 0xfffffff0
call fcn.00403ce8
mov esi, ecx
lea edi, [ebp - 0x1c]
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 ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
call fcn.00404d2c
xor eax, eax
push ebp
push 0x4907bb
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00403994
call fcn.0048fb3c
test al, al
jne 0x49073d
call fcn.00490040
test al, al
je 0x490772
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp - 8]
mov dword [eax], 0x491220
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp - 4]
lea edi, [eax + 4]
lea esi, [ebp - 0x1c]
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 - 4]
add eax, 0x18
mov edx, dword [ebp + 8]
call fcn.004048d0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 4]
mov eax, dword [ebp - 4]
call fcn.00490ce4
mov eax, dword [ebp - 4]
call fcn.0049128c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4907c2
lea eax, [ebp + 8]
call fcn.0040487c
ret
Function at 0x4913e8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4913f1
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d2c
mov eax, dword [ebp - 8]
call fcn.00404d2c
xor eax, eax
push ebp
push 0x491562
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x49157c
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x38]
mov eax, ebx
call fcn.004912f8
push dword [ebp - 0x10]
push 0x491590
push 0x49159c
lea ecx, [ebp - 0x14]
mov edx, dword [ebx + 0x3c]
mov eax, ebx
call fcn.004912f8
push dword [ebp - 0x14]
push 0x491590
push 0x4915b0
lea ecx, [ebp - 0x18]
mov edx, dword [ebx + 0x1c]
mov eax, ebx
call fcn.004912f8
push dword [ebp - 0x18]
push 0x491590
push 0x4915c0
lea ecx, [ebp - 0x1c]
mov edx, dword [ebx + 0x20]
mov eax, ebx
call fcn.004912f8
push dword [ebp - 0x1c]
push 0x491590
push 0x4915d0
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004912f8
push dword [ebp - 0x20]
push 0x491590
push 0x4915e0
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004912f8
push dword [ebp - 0x24]
push 0x491590
lea eax, [ebp - 0xc]
mov edx, 0x12
call fcn.00404bfc
cmp byte [ebp + 8], 0
je 0x4914e0
lea eax, [ebp - 0xc]
mov edx, 0x4915f4
call fcn.00404b44
jmp 0x4914ed
lea eax, [ebp - 0xc]
mov edx, 0x491608
call fcn.00404b44
push dword [ebp - 0xc]
push 0x49161c
call fcn.0040bc08
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x2c]
mov eax, 0x491630
call fcn.0040c98c
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov eax, ebx
call fcn.004912f8
push dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bfc
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.004048d0
xor eax, eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov eax, ebx
call fcn.00491070
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491569
lea eax, [ebp - 0x2c]
mov edx, 0xb
call fcn.004048a0
ret

Function at 0x4935ac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d2c
xor eax, eax
push ebp
push 0x493653
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4f36e0]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.004787c0
xor eax, eax
push ebp
push 0x493636
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0x493664
push 0x493664
mov eax, dword [ebp - 4]
call fcn.00404d3c
push eax
push 0x493668
mov eax, ebx
call fcn.0046044c
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49363d
mov eax, dword [0x4f36e0]
mov eax, dword [eax]
xor edx, edx
call fcn.004787c0
ret