joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4383e4
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 0x438400
cmp dword [esi + 4], 0
je 0x43842d
test byte [ebx + 0x55], 1
jne 0x43841f
mov eax, ebx
call fcn.00436ff0
test eax, eax
jne 0x43841f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43853d
mov edx, esi
mov eax, ebx
call fcn.00437f08
jmp 0x43853d
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 0x438536
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043a254
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.00434c8c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004383e4
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.0043a254
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43853d
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 0x43eb38
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x495e44]
cmp byte [eax + 0xc], 0
je 0x43eca5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43ec9e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x496b68], 0
jne 0x43eb8c
push 0x43ecac
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43ecb4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496b68], eax
cmp dword [0x492b2c], 0
jne 0x43ec87
push 0x43ecc4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x492b2c], eax
cmp dword [0x492b2c], 0
je 0x43ec87
push 0x43ecd0
mov eax, dword [0x492b2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496b6c], eax
push 0x43ece0
mov eax, dword [0x492b2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496b70], eax
push 0x43ecf4
mov eax, dword [0x492b2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496b74], eax
push 0x43ed0c
mov eax, dword [0x492b2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496b78], eax
push 0x43ed24
mov eax, dword [0x492b2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496b7c], eax
push 0x43ed38
mov eax, dword [0x492b2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496b80], eax
push 0x43ed50
mov eax, dword [0x492b2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496b84], eax
push 0x43ed68
mov eax, dword [0x492b2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496b88], eax
push 0x43ed84
mov eax, dword [0x492b2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496b8c], eax
push 0x43ed90
mov eax, dword [0x492b2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43eca5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x442b30
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.00404594
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x442b7f
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.00404804
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a350
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a3a0]
test si, 4
je 0x44a364
or bl, 1
test si, 8
je 0x44a36e
or bl, 4
test si, 1
je 0x44a378
or bl, 8
test si, 2
je 0x44a382
or bl, 0x10
test si, 0x10
je 0x44a38c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a39b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44a3a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a3dc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a3bd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a3cc
or bl, 4
test esi, 0x20000000
je 0x44a3d7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450aa0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x450ab2
add esp, 0xfffffff0
call fcn.00403abc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ba94
mov eax, dword [0x49586c]
mov dword [eax + 4], ebx
mov dword [eax], 0x450e44
mov eax, dword [0x49587c]
mov dword [eax + 4], ebx
mov dword [eax], 0x450e50
mov eax, ebx
call fcn.00450e5c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4128c0]
call fcn.00403754
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4128c0]
call fcn.00403754
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4128c0]
call fcn.00403754
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4128c0]
call fcn.00403754
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4128c0]
call fcn.00403754
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, 0x44d274
push eax
push 0
push 0
mov eax, dword [0x495aec]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41d500]
call fcn.0041ec98
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41d500]
call fcn.0041ec98
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41d500]
call fcn.0041ec98
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004512ac
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451174
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451174
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451174
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450bef
call fcn.00403b14
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x450f58
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 0x451103
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4510e4
mov dl, 1
mov eax, dword [0x412f24]
call fcn.00403754
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404594
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4510d3
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.0043ee98
test al, al
je 0x4510c6
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, 0x451114
lea eax, [ebp - 0x254]
call fcn.00409934
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4510c6
xor eax, eax
push ebp
push 0x4510bf
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 0x45114c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4510a8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404804
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 0x4510a8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404804
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4510c6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450fc9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041764c
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 0x45110a
lea eax, [ebp - 0x260]
call fcn.00404594
ret

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

Disassembly:
push ecx
mov eax, dword [0x496bb4]
cmp byte [eax + 0xa5], 0
jne 0x451abd
cmp dword [0x496bcc], 0
jne 0x451a7e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x451a08
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x496bcc], eax
cmp dword [0x496bc8], 0
jne 0x451a99
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x496bc8], eax
cmp dword [0x496bd0], 0
jne 0x451abd
push esp
push 0
push 0
push 0x4519ac
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x496bd0], eax
pop edx
ret
Function at 0x452150
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x496bb4]
cmp dword [eax + 0x30], 0
je 0x4521fa
cmp dword [ebx + 0x94], 0
jne 0x4521f4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4520e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4521f4
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 0x4521ba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4521f4
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.00414f78
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4521c9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452d58
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 0x452d8d
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.00404684
jmp 0x452d9a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045e8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453f64
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453fa5
mov eax, esi
call fcn.0043a558
test al, al
je 0x453fa5
mov eax, dword [ebx + 0x84]
call fcn.0043a254
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453fa5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043a254
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45872c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45875a
mov eax, ebx
call fcn.004591e0
cmp dword [ebx + 0x40], 0
je 0x458753
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4587cb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4587bd
cmp dword [ebx + 8], 0
je 0x45877c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45878e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4587bd
cmp dword [ebx + 8], 0
je 0x45876f
cmp eax, 3
je 0x4587a1
dec eax
jne 0x45876f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45876f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45876f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4587e9
cmp dword [ebx + 0x14], 0xcc
je 0x4587e9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004587f4
pop ebx
ret
Function at 0x4747f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47492a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00415c14
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x47486c
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x47486c
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040863c
mov edx, dword [ebp - 0x14]
mov ebx, dword [0x495798]
mov ebx, dword [ebx]
mov eax, 0x474940
call ebx
dec eax
jne 0x47486c
mov ebx, 1
jmp 0x47486e
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
sub eax, ebx
jl 0x47490f
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00474300
test al, al
jne 0x474903
mov eax, dword [ebp - 4]
call fcn.004747e4
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
call fcn.004045e8
xor edx, edx
push ebp
push 0x4748f1
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
test al, al
je 0x4748e7
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00474c04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x474903
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x474886
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474931
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004045b8
ret
Function at 0x47a0fc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x47a104
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47a2f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x47a30c
mov eax, esi
call fcn.00477f88
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004045e8
lea ecx, [ebp - 0x10]
mov edx, 0x47a320
mov eax, esi
call fcn.00477f88
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004045e8
lea ecx, [ebp - 0x14]
mov edx, 0x47a338
mov eax, esi
call fcn.00477f88
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004045e8
lea ecx, [ebp - 0x18]
mov edx, 0x47a354
mov eax, esi
call fcn.00477f88
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004045e8
lea ecx, [ebp - 0x1c]
mov edx, 0x47a370
mov eax, esi
call fcn.00477f88
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004045e8
lea ecx, [ebp - 0x24]
mov edx, 0x47a388
mov eax, esi
call fcn.00477f88
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004088b4
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408ca8
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x47a3a0
mov eax, esi
call fcn.00477f88
mov eax, dword [ebp - 0x28]
call fcn.0046e354
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x47a3b0
mov eax, esi
call fcn.00477f88
mov eax, dword [ebp - 0x2c]
call fcn.0046e354
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x47a3c8
mov eax, esi
call fcn.00477f88
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408ca8
inc eax
je 0x47a299
lea ecx, [ebp - 0x34]
mov edx, 0x47a3c8
mov eax, esi
call fcn.00477f88
mov eax, dword [ebp - 0x34]
call fcn.00408c6c
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a2a4
fstp qword [ebp - 0x3c]
wait
call fcn.0040a614
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x47a2b4
lea ecx, [ebp - 0x40]
mov edx, 0x47a3c8
mov eax, esi
call fcn.00477f88
mov eax, dword [ebp - 0x40]
call fcn.0046e354
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x47a3d8
mov eax, esi
call fcn.00477f88
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004045e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a2fd
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004045b8
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004045b8
ret
Function at 0x481018
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x481072
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00481008
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0046cfc0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0046cbc0
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481079
lea eax, [ebp - 4]
call fcn.00404594
ret

Function at 0x485380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
jmp 0x4853ad
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x48542c
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004843f8
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4853fa
mov cx, word [esp]
sub cx, si
jmp 0x4853fc
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4853e3
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x485422
mov cx, word [esp]
sub cx, si
jmp 0x485424
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x48540b
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x485489
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0048507c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x485474
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x485489
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x48538a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x48a918
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x496f14
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x48a93a
shr eax, 1
xor eax, 0xedb88320
jmp 0x48a93c
shr eax, 1
dec edx
jne 0x48a928
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x48a921
mov byte [0x497314], 1
pop esi
pop ebx
ret
Function at 0x48a958
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x497314], 0
jne 0x48a96f
call fcn.0048a918
mov eax, edi
dec eax
test eax, eax
jl 0x48a998
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x496f14]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x48a979
mov eax, ebx
pop edi
pop esi
pop ebx
ret