joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491d98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov eax, dword [esp + 0x5c]
push eax
lea ecx, [esp + 8]
mov dword [esp + 0x4c], esi
call fcn.00476850
cmp dword [esp + 0x60], esi
je 0x467748
mov ecx, dword [esp + 8]
push ecx
call fcn.004671d0
add esp, 4
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], edx
lea edx, [esp + 0xc]
push edx
push esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
push 0x104c
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x30], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x467a10
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x18
push ebp
push edi
mov edi, dword [esp + 0x24]
push 0
push 0
push 0x1109
push edi
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x467a38
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
push 4
push 5
push 0x18
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ebp, eax
test ebp, ebp
je 0x467b83
push ebx
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
je 0x467b77
push esi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x467b6d
push 0x10
push 0x50
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
test ebx, ebx
je 0x467b62
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x2c], eax
xor eax, eax
push 5
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x50
mov dword [esp + 0x28], 0x10
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push 0
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call fcn.0043cdc0
push eax
push 0x10
push 0x10
push 0
push 0
push esi
call fcn.0043d0c0
push 0
push 0xd
push 0xd
push 1
push 0x11
push esi
push edi
call fcn.00444c40
push 1
push 0xd
push 0xd
push 1
push 0x21
push esi
push edi
call fcn.00444c40
add esp, 0x58
push 0
push 0xd
push 0xd
push 1
push 0x31
push esi
push edi
call fcn.00444d60
push 1
push 0xd
push 0xd
push 1
push 0x41
push esi
push edi
call fcn.00444d60
mov ecx, dword [esp + 0x64]
add esp, 0x38
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
push ebx
push ebp
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
push ebp
push 0
push 0x1109
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
xor ebp, ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebx, dword [esp + 0x10]
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
test ebp, ebp
pop ebx
je 0x467b83
push ebp
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [esp + 0xc]
pop edi
mov dword [edx + 0x177], eax
pop ebp
add esp, 0x18
ret 4
Function at 0x469620
Capabilities:
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x492448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 0x20000
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0
call fcn.004762c0
mov eax, dword [esp + 4]
mov byte [eax], 0x22
mov ecx, dword [esp]
mov edx, dword [esp + 4]
add ecx, 0xffffffff
push ecx
add edx, 1
push edx
push 0
call fcn.004441a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push str.___startup
push eax
push ecx
call fcn.00438fc0
add esp, 0x18
cmp dword [0x4a9360], 0
je 0x4696dd
mov edx, dword [esp]
push str.__instance__
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
call fcn.00431580
mov ecx, dword [0x4a9360]
mov edx, dword [esp + 0x10]
push ecx
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.00431580
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push 0x496394
push eax
push ecx
push edx
call fcn.00431580
add esp, 0x30
mov eax, dword [esp + 4]
push eax
push 0x49bd2c
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call fcn.00446bf0
add esp, 0x10
lea ecx, [esp]
mov dword [esp + 0x10], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x469720
Capabilities:
Persist via run registry key

Disassembly:
push 0x49bd2c
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call fcn.00446c40
add esp, 0xc
ret
Function at 0x469740
Capabilities:
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x491b90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
xor ebx, ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
push 0x20000
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.004762c0
push 0x20000
lea ecx, [esp + 0x10]
call fcn.004762c0
mov eax, dword [esp + 8]
mov byte [eax], 0x22
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
add ecx, 0xffffffff
push ecx
add edx, 1
push edx
push ebx
call fcn.004441a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push str.___startup
push eax
push ecx
call fcn.00438fc0
add esp, 0x18
cmp dword [0x4a9360], ebx
je 0x469810
mov edx, dword [esp + 4]
push str.__instance__
push eax
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.00431580
mov ecx, dword [0x4a9360]
mov edx, dword [esp + 0x14]
push ecx
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.00431580
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push 0x496394
push eax
push ecx
push edx
call fcn.00431580
add esp, 0x30
push 0x49bd2c
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call fcn.00446b90
add esp, 0xc
test eax, eax
je 0x4698e6
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0x493d7a
push eax
push ecx
push 0x49bd2c
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call fcn.00446af0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dl, byte [eax]
add esp, 0x18
cmp dl, byte [ecx]
jne 0x469874
cmp dl, bl
je 0x469880
mov dl, byte [eax + 1]
add eax, 1
add ecx, 1
cmp dl, byte [ecx]
je 0x469863
movsx eax, byte [eax]
movsx edx, byte [ecx]
sub eax, edx
cmp eax, ebx
jne 0x4698b3
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call fcn.00476730
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00476730
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call fcn.00476730
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00476730
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call fcn.00476730
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x14]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4746a0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x4a9600]
test eax, eax
je 0x4746cd
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x47470f
mov eax, dword [0x4a9600]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4a9600], 0
push esi
mov esi, dword [esp + 0xc]
push esi
push 0x78
call fcn.00435900
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
push 0x4740b0
push 0
push 0
call fcn.004840b5
add esp, 0x20
test eax, eax
mov dword [0x4a9600], eax
jne 0x474707
push esi
push 0x79
call fcn.00435900
add esp, 8
mov eax, 1
pop esi
pop ecx
ret
xor eax, eax
pop ecx
ret

Function at 0x474720
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x4a9604]
sub esp, 0x400
cmp eax, 1
jg 0x474766
jne 0x474894
mov eax, dword [0x4a9608]
cmp eax, 2
jg 0x474766
jne 0x474894
mov eax, dword [0x4a960c]
cmp eax, 1
jg 0x474766
jne 0x474894
cmp dword [0x4a9610], 0x1ba
jle 0x474894
push 0x4a9618
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4a9614]
test eax, eax
je 0x4747b6
mov ecx, dword [0x4a960c]
mov edx, dword [0x4a9608]
push eax
mov eax, dword [0x4a9610]
push eax
mov eax, dword [0x4a9604]
push ecx
mov ecx, dword [0x4aa7bc]
push edx
mov edx, dword [ecx + 0x4a0]
push eax
push edx
lea eax, [esp + 0x18]
push 0x400
push eax
call fcn.0044e7a0
add esp, 0x20
jmp 0x4747f0
mov ecx, dword [0x4a9610]
mov edx, dword [0x4a960c]
mov eax, dword [0x4a9608]
push ecx
mov ecx, dword [0x4a9604]
push edx
mov edx, dword [0x4aa7bc]
push eax
mov eax, dword [edx + 0x4a4]
push ecx
push eax
lea ecx, [esp + 0x14]
push 0x400
push ecx
call fcn.0044e7a0
add esp, 0x1c
push 0x4a9618
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x404]
cmp eax, 0xffffffff
jne 0x47484d
mov edx, dword [0x4aa7bc]
mov eax, dword [edx + 0x168]
push 0x23
push eax
lea ecx, [esp + 8]
push ecx
push 0
call fcn.004452d0
add esp, 0x10
cmp eax, 6
jne 0x4748be
push 0xa
push 0
push 0
push str.http:__www.voidtools.com_download.php
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 0x400
ret
mov ecx, dword [0x4aa7bc]
lea edx, [esp]
push edx
mov edx, dword [ecx + 0x168]
push 0x496784
push 7
push 0x23
push edx
push eax
call fcn.00453840
add esp, 0x18
cmp eax, 6
jne 0x4748be
push 0xa
push 0
push 0
push str.http:__www.voidtools.com_download.php
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 0x400
ret
mov ecx, dword [esp + 0x404]
cmp ecx, 0xffffffff
je 0x4748be
mov eax, dword [0x4aa7bc]
mov edx, dword [eax + 0x4a8]
mov eax, dword [eax + 0x168]
push edx
push 0x40
push eax
push ecx
call fcn.00453770
add esp, 0x10
add esp, 0x400
ret
Function at 0x475e80
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push esi
push edi
push 1
push eax
xor esi, esi
call fcn.00444a80
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x475f65
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x475ec8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x475f5e
mov eax, dword [esp + 0xc]
test eax, eax
je 0x475f5e
cmp dword [esp + 0x10], esi
jne 0x475f5e
add eax, 1
push eax
call fcn.0044dbe0
add esp, 4
push 0
mov esi, eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x475f53
mov ecx, dword [esp + 0xc]
cmp dword [esp + 8], ecx
jne 0x475f53
mov dl, byte [esp + 0x1c]
test dl, dl
je 0x475f40
add ecx, esi
cmp esi, ecx
mov eax, esi
jae 0x475f2e
lea ebx, [ebx]
cmp byte [eax], 0
jne 0x475f27
mov byte [eax], dl
add eax, 1
cmp eax, ecx
jb 0x475f20
push edi
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret
push edi
mov byte [ecx + esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret
push esi
call fcn.00441a60
add esp, 4
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x476d10
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x44
push esi
push eax
push 0x4955cc
lea ecx, [esp + 0x10]
push 0x40
push ecx
call fcn.0044e7a0
mov ecx, dword [esp + 0x5c]
add esp, 0x10
push 0
lea edx, [esp + 8]
push edx
mov esi, eax
push esi
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x476d50
pop esi
add esp, 0x44
ret
xor eax, eax
cmp dword [esp + 4], esi
pop esi
sete al
add esp, 0x44
ret
Function at 0x476d60
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x144
lea eax, [esp]
push eax
lea ecx, [esp + 0x150]
push ecx
mov dword [esp + 0x1c], 0x495b84
mov dword [esp + 0x20], 0x495b80
mov dword [esp + 0x24], 0x495b7c
mov dword [esp + 0x28], 0x495b78
mov dword [esp + 0x2c], 0x495b74
mov dword [esp + 0x30], 0x495b70
mov dword [esp + 0x34], 0x495b6c
mov dword [esp + 0x38], 0x495b68
mov dword [esp + 0x3c], 0x495b64
mov dword [esp + 0x40], 0x495b60
mov dword [esp + 0x44], 0x495b5c
mov dword [esp + 0x48], 0x495b58
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ax, word [esp + 2]
add ax, 0xffff
cmp ax, 0xc
mov word [esp + 2], ax
jb 0x476df4
xor ax, ax
mov word [esp + 2], ax
movzx edx, word [esp + 0xc]
movzx ecx, word [esp + 0xa]
push esi
push edx
movzx edx, word [esp + 0x10]
push ecx
movzx ecx, word [esp + 0xc]
push edx
push ecx
movzx ecx, word [esp + 0x1a]
movzx edx, ax
mov eax, dword [esp + edx*4 + 0x28]
push eax
push ecx
push str._02d__s__d__02d:_02d:_02d
lea edx, [esp + 0x64]
push 0x100
push edx
call fcn.0044e7a0
mov edx, dword [esp + 0x170]
add esp, 0x24
push 0
mov esi, eax
lea eax, [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x54]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x476e5b
pop esi
add esp, 0x144
ret
xor eax, eax
cmp dword [esp + 0x14], esi
pop esi
sete al
add esp, 0x144
ret

Function at 0x476e70
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 8]
cmp byte [ecx], 0
mov eax, ecx
je 0x476e88
jmp 0x476e80
add eax, 1
cmp byte [eax], 0
jne 0x476e80
push esi
sub eax, ecx
push 0
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
push ecx
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x476ea7
pop esi
ret
xor eax, eax
cmp dword [esp + 0xc], esi
pop esi
sete al
ret
Function at 0x476ec0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
cmp dword [esp + 0x1c], 0
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
je 0x47700c
mov edi, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, byte [ebp]
mov esi, 1
sub dword [esp + 0x2c], esi
cmp al, 0x26
jne 0x476f24
mov eax, str.amp_
add eax, esi
cmp byte [eax], 0
jne 0x476ef5
sub eax, str.amp_
push 0
mov esi, eax
lea eax, [esp + 0x2c]
push eax
push esi
push str.amp_
push edi
call ebx
test eax, eax
je 0x476fde
cmp dword [esp + 0x28], esi
jmp 0x476ffc
cmp al, 0x3c
jne 0x476f5f
mov eax, str.lt_
lea ecx, [ecx]
add eax, esi
cmp byte [eax], 0
jne 0x476f30
push 0
sub eax, str.lt_
lea ecx, [esp + 0x14]
push ecx
mov esi, eax
push esi
push str.lt_
push edi
call ebx
test eax, eax
je 0x476fde
cmp dword [esp + 0x10], esi
jmp 0x476ffc
cmp al, 0x3e
jne 0x476f90
mov eax, str.gt_
add eax, esi
cmp byte [eax], 0
jne 0x476f68
push 0
sub eax, str.gt_
lea edx, [esp + 0x18]
push edx
mov esi, eax
push esi
push str.gt_
push edi
call ebx
test eax, eax
je 0x476fde
cmp dword [esp + 0x14], esi
jmp 0x476ffc
cmp al, 0x27
jne 0x476fc8
mov eax, str.apos_
lea esp, [esp]
add eax, esi
cmp byte [eax], 0
jne 0x476fa0
sub eax, str.apos_
push 0
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
push str.apos_
push edi
call ebx
test eax, eax
je 0x476fde
cmp dword [esp + 0x18], esi
jmp 0x476ffc
cmp al, 0x22
jne 0x476fe8
push str.quot_
push edi
call fcn.00476e70
add esp, 8
test eax, eax
jne 0x476ffe
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push 0
lea ecx, [esp + 0x20]
push ecx
push esi
push ebp
push edi
call ebx
test eax, eax
je 0x476fde
cmp dword [esp + 0x1c], esi
jne 0x476fde
add ebp, 1
cmp dword [esp + 0x2c], 0
jne 0x476ee0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x47d710
Capabilities:
Encode data using xor

Disassembly:
mov dl, byte [eax + 0x34]
push ebx
push esi
xor esi, esi
cmp dword [eax + 0x38], esi
mov ebx, 1
jle 0x47d756
push ebp
push edi
movzx edi, dl
jmp 0x47d730
mov ecx, dword [eax + 0x260]
mov ebp, ecx
shr ebp, 0x18
xor ebp, edi
shl ecx, 8
xor ecx, dword [ebp*4 + 0x4a7220]
add esi, ebx
mov dword [eax + 0x260], ecx
cmp esi, dword [eax + 0x38]
jl 0x47d730
pop edi
pop ebp
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x47d7de
sub ecx, ebx
je 0x47d7c3
sub ecx, ebx
je 0x47d7b7
mov byte [esi + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
Function at 0x480800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp dword [eax + 0x25c], 0
jle 0x47ebab
push ebx
mov ecx, 0xfffffff8
push edi
mov edi, dword [eax + 0x4c]
mov bl, byte [eax + 0x25b]
mov edx, dword [eax + 0x2c]
mov byte [edx + edi], bl
add dword [eax + 0x4c], 1
shl dword [eax + 0x258], 8
add dword [eax + 0x25c], ecx
cmp dword [eax + 0x25c], 0
jg 0x47eb80
pop edi
pop ebx
ret
push ebx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x44], 0
jle 0x480843
mov eax, dword [esi + 0x260]
mov ecx, dword [esi + 0x264]
not eax
rol ecx, 1
xor ecx, eax
cmp dword [esi + 0x26c], 1
mov dword [esi + 0x260], eax
mov dword [esi + 0x264], ecx
jle 0x48083a
mov dword [esi + 0x4c], 0
push esi
call fcn.0047d3f0
add esp, 4
mov edx, dword [esi + 0x14]
add edx, dword [esi + 0x44]
cmp dword [esi + 0x26c], 1
mov dword [esi + 0x2c], edx
jne 0x4808a6
push 8
mov ecx, 0x42
mov eax, esi
mov dword [esi + 0x25c], 0
mov dword [esi + 0x258], 0
call fcn.0047ebb0
push 8
mov ecx, 0x5a
call fcn.0047ebb0
push 8
mov ecx, 0x68
call fcn.0047ebb0
mov al, byte [esi + 0x270]
add al, 0x30
movzx ecx, al
push 8
mov eax, esi
call fcn.0047ebb0
add esp, 0x10
cmp dword [esi + 0x44], 0
jle 0x480952
push 8
mov ecx, 0x31
mov eax, esi
call fcn.0047ebb0
push 8
mov ecx, 0x41
call fcn.0047ebb0
push 8
mov ecx, 0x59
call fcn.0047ebb0
push 8
mov ecx, 0x26
call fcn.0047ebb0
push 8
mov ecx, 0x53
call fcn.0047ebb0
push 8
mov ecx, 0x59
call fcn.0047ebb0
mov ebx, dword [esi + 0x260]
mov ecx, ebx
shr ecx, 0x18
push 8
call fcn.0047ebb0
mov ecx, ebx
shr ecx, 0x10
and ecx, 0xff
push 8
call fcn.0047ebb0
movzx ecx, bh
push 8
call fcn.0047ebb0
movzx ecx, bl
push 8
call fcn.0047ebb0
push 1
xor ecx, ecx
call fcn.0047ebb0
mov ecx, dword [esi + 0x1c]
push 0x18
call fcn.0047ebb0
add esp, 0x30
call fcn.0047eca0
call fcn.0047ee50
cmp byte [esp + 0x10], 0
je 0x4809e9
push 8
mov ecx, 0x17
mov eax, esi
call fcn.0047ebb0
push 8
mov ecx, 0x72
call fcn.0047ebb0
push 8
mov ecx, 0x45
call fcn.0047ebb0
push 8
mov ecx, 0x38
call fcn.0047ebb0
push 8
mov ecx, 0x50
call fcn.0047ebb0
push 8
mov ecx, 0x90
call fcn.0047ebb0
mov ebx, dword [esi + 0x264]
mov ecx, ebx
shr ecx, 0x18
push 8
call fcn.0047ebb0
mov ecx, ebx
shr ecx, 0x10
and ecx, 0xff
push 8
call fcn.0047ebb0
movzx ecx, bh
push 8
call fcn.0047ebb0
movzx ecx, bl
push 8
call fcn.0047ebb0
add esp, 0x28
pop esi
pop ebx
jmp 0x47eb70
pop esi
pop ebx
ret

Function at 0x483342
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48339a
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x493d7a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48338d
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x48339c
xor eax, eax
pop esi
leave
ret 4
Function at 0x486193
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a7e90]
jne 0x48619d
repz ret
jmp fcn.0048c5b7

Function at 0x48f08c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00487105
xor ebx, ebx
cmp dword [0x4aa058], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x48f161
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x48f0cc
xor eax, eax
jmp 0x48f225
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a1f70
push edi
call esi
cmp eax, ebx
je 0x48f0c5
push eax
call fcn.004870a2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4aa058], eax
call esi
push eax
call fcn.004870a2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4aa05c], eax
call esi
push eax
call fcn.004870a2
mov dword [0x4aa060], eax
lea eax, [ebp - 8]
push eax
call fcn.00488447
test eax, eax
pop ecx
pop ecx
je 0x48f12f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00488b72
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x48f161
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004870a2
cmp eax, ebx
pop ecx
mov dword [0x4aa068], eax
je 0x48f161
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004870a2
pop ecx
mov dword [0x4aa064], eax
mov eax, dword [0x4aa064]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x48f1da
cmp dword [0x4aa068], esi
je 0x48f1da
push eax
call fcn.0048710e
pop ecx
call eax
cmp eax, ebx
je 0x48f1a7
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4aa068]
call fcn.0048710e
pop ecx
call eax
test eax, eax
je 0x48f1a7
test byte [ebp - 0x18], 1
jne 0x48f1da
lea eax, [ebp - 0xc]
push eax
call fcn.0048847e
test eax, eax
pop ecx
je 0x48f1c2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00488b72
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x48f1d1
or dword [ebp + 0x10], 0x200000
jmp 0x48f20b
or dword [ebp + 0x10], 0x40000
jmp 0x48f20b
mov eax, dword [0x4aa05c]
cmp eax, esi
je 0x48f20b
push eax
call fcn.0048710e
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x48f20b
mov eax, dword [0x4aa060]
cmp eax, esi
je 0x48f20b
push dword [ebp - 4]
push eax
call fcn.0048710e
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4aa058]
call fcn.0048710e
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret