joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d1538a0
Capabilities:
Hide graphical window

Disassembly:
push 0x2c
mov eax, 0x6d160f43
call fcn.6d15fd21
mov ebx, ecx
mov edi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.6d155d86
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
push 4
push 0xffffffffffffffec
push eax
mov dword [ebp + 0xc], eax
call esi
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x2000000
push eax
push 0xfffffffffffffff0
push dword [ebp + 8]
call esi
mov eax, dword [0x6d16b86c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x44]
and dword [ebp - 4], 0
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebx + 0x134]
mov ecx, dword [esi]
push eax
push esi
call dword [ecx + 0x64]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.6d154141
mov dword [ebp - 0x38], vtable.SmartJObjectRefImpl_class_SmartJLocalRef_.0
push dword [ebp + 0xc]
lea eax, [ebp - 0x38]
push str._I_Lsun_plugin_viewer_frame_IExplorerEmbeddedFrame_
push str.createFrame
push eax
mov byte [ebp - 4], 1
call fcn.6d1556fc
add esp, 0x10
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.6d154141
mov dword [ebp - 0x2c], vtable.SmartJObjectRefImpl_class_SmartJLocalRef_.0
mov eax, dword [edi + 8]
sub eax, dword [edi]
push 0x14
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x6d153992
push dword [ebp - 0x28]
mov ecx, eax
push esi
call fcn.6d155f24
mov ecx, eax
jmp 0x6d153994
xor ecx, ecx
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
mov dword [ebx + 0x130], ecx
call fcn.6d15613a
mov ecx, dword [ebx + 0x130]
push 1
call fcn.6d1560c8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp + 8], eax
je 0x6d1539d6
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetParent]
push 5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.6d15455f
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.6d15455f
mov eax, dword [ebp + 0xc]
call fcn.6d15fdc6
ret 8
Function at 0x6d154141
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x6d154150
pop dword [ebp - 0x30]
mov eax, 0x6d154150
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x36706
push 0
mov eax, 0x7f2f7402
add eax, 0xede6acbe
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x42ab
xor edi, edi
add edi, eax
mov ebx, 0x854578a5
sub ebx, 0x182e54a5
add ebx, dword [ebp - 0x30]
mov edx, 0xeff3bd35
add edx, 0xdf5b0110
sub dword [ebp - 4], 0x21c6e2b6
mov esi, dword [ebx]
sub dword [ebp - 0x2c], esi
add esi, edx
xor dword [ebp - 0x24], 0x364d1be2
mov dword [edi], esi
add dword [ebp - 0x10], esi
add edi, 0xa639f5ce
sub edi, 0xa639f5ca
add ebx, 0x60184d99
sub ebx, 0x60184d95
loop 0x6d1541a6
add eax, 0xfd7f
mov ebx, eax
add eax, 5
mov ecx, 0xfe0b8028
add ecx, 0x6f097fd8
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x6d156e23
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d156e71
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d156e82
push 0xd
pop eax
jmp 0x6d156eac
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d156e85
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x6d157366
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d16b7ac]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d154141
mov ebx, eax
cmp ebx, esi
je 0x6d1573d9
lea ecx, [ebp - 0x74]
call fcn.6d15142d
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d15fbc0
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d1573f1
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d157366
cmp eax, esi
jne 0x6d157423
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x6d1573e1
lea ecx, [ebp - 0x74]
call fcn.6d15142d
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d156d4c
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d15142d
mov eax, esi
jmp 0x6d1573bf
Function at 0x6d15a0f4
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x6d15a101
lea esi, [ecx - 0x84]
jmp 0x6d15a103
xor esi, esi
lea eax, [esi + 0x94]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x54]
test esi, esi
je 0x6d15a11f
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x6d15addf
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x6d15adf3
add eax, 0xffffff78
jmp 0x6d15adf5
xor eax, eax
and dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x6d162c78
lea ecx, [eax + 8]
call fcn.6d159f44
test eax, eax
js 0x6d15ae5e
cmp dword [ebp + 8], 0
je 0x6d15ae5b
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call esi
test ax, ax
jns 0x6d15ae33
inc edi
push 0x11
call esi
test ax, ax
jns 0x6d15ae3f
add edi, 2
push 0x12
call esi
test ax, ax
jns 0x6d15ae4b
add edi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x6d15ae5e
xor eax, eax
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov esi, ecx
test eax, eax
je 0x6d15ae74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 8

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

Disassembly:
cmp dword [0x6d16c840], 0
push esi
push edi
jne 0x6d15f7e0
call fcn.6d15f74c
test eax, eax
je 0x6d15f825
mov eax, dword [0x6d16c840]
cmp eax, 1
jne 0x6d15f801
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6d15f825
jmp 0x6d15f867
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6d15f867
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x6d15f829
xor eax, eax
jmp 0x6d15f867
mov eax, dword [esi]
push dword [0x6d16c840]
call edi
mov edi, eax
test edi, edi
je 0x6d15f84b
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6d15f867
lea edi, [esi + 0xff0]
push esi
push dword [0x6d16c840]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6d15f851
mov eax, esi
pop edi
pop esi
ret
jmp 0x6d15f7cc

Function at 0x6d15fbc0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d16b7ac]
jne 0x6d15fbca
repz ret
jmp fcn.6d1603b8
Function at 0x425e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x425ed0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x425ec7
mov edx, dword [0x494a28]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x425ebb
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x425ea0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x425ec9
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x42c830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
jmp 0x42c89c
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x18]
jae 0x42c8e3
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00456ee8
add esp, 8
test eax, eax
jne 0x42c8e1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x42c8e5
jmp 0x42c893
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43a0e0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0x4862f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.004355f0
add esp, 4
movzx edx, al
test edx, edx
je 0x43a171
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.0044bc80
add esp, 0xc
mov dword [ebp - 0x2d8], 0x10001
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x43a16f
mov edx, dword [ebp - 0x220]
cmp edx, dword [ebp + 0xc]
jne 0x43a16f
jmp 0x43a171
jmp 0x43a0f3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c3d5
mov esp, ebp
pop ebp
ret
Function at 0x43d020
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461067
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4862f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0043b740
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.0043b740
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.0043b740
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0043ca20
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.0043ca20
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.0043ca20
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x43d260
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461117
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4862f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0043b600
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.0043b600
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.0043b600
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0043ca40
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.0043ca40
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.0043ca40
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x44720e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x447293
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.0044bd00
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x447256
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x447278
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x4472ee
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.00446fdc
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0x4472da
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x4472ee
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x447217
pop esi
pop ebx
leave
ret
Function at 0x44c3d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4862f0]
jne 0x44c3df
repz ret
jmp fcn.00452b14

Function at 0x453428
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4865f0]
je 0x453443
inc edi
cmp edi, 0x17
jb 0x453434
cmp edi, 0x17
jae 0x4535c3
push ebp
push 3
call fcn.00459824
cmp eax, 1
pop ecx
je 0x45358f
push 3
call fcn.00459824
test eax, eax
pop ecx
jne 0x453477
cmp dword [0x486430], 1
je 0x45358f
cmp ebx, 0xfc
je 0x4535c2
push 0x48d1d4
mov ebx, 0x314
push ebx
mov ebp, 0x4960a8
push ebp
call fcn.004532bc
add esp, 0xc
test eax, eax
je 0x4534ad
push esi
push esi
push esi
push esi
push esi
call fcn.0044e5fb
add esp, 0x14
push 0x104
mov esi, 0x4960c1
push esi
push 0
mov byte [0x4961c5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4534f1
push 0x48d1bc
push 0x2fb
push esi
call fcn.004532bc
add esp, 0xc
test eax, eax
je 0x4534f1
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0044e5fb
add esp, 0x14
push esi
call fcn.0044e0d0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x453536
push esi
call fcn.0044e0d0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4963bc
push 0x48d1b8
sub ecx, eax
push ecx
push eax
call fcn.0045836b
add esp, 0x14
test eax, eax
je 0x453536
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0044e5fb
add esp, 0x14
jmp 0x453538
xor esi, esi
push 0x487a88
push ebx
push ebp
call fcn.004582fa
add esp, 0xc
test eax, eax
je 0x453558
push esi
push esi
push esi
push esi
push esi
call fcn.0044e5fb
add esp, 0x14
push dword [edi*8 + 0x4865f4]
push ebx
push ebp
call fcn.004582fa
add esp, 0xc
test eax, eax
je 0x45357a
push esi
push esi
push esi
push esi
push esi
call fcn.0044e5fb
add esp, 0x14
push 0x12010
push 0x48d190
push ebp
call fcn.00459667
add esp, 0xc
jmp 0x4535c2
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4535c2
cmp ebp, 0xffffffff
je 0x4535c2
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4865f4]
push dword [esi]
call fcn.0044e0d0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x459667
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00452cf2
xor ebx, ebx
cmp dword [0x496788], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x45973d
push 0x48e2e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x45981d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x48e2d8
push edi
call esi
cmp eax, ebx
je 0x45981d
push eax
call fcn.00452c84
mov dword [esp], 0x48e2c8
push edi
mov dword [0x496788], eax
call esi
push eax
call fcn.00452c84
mov dword [esp], 0x48e2b4
push edi
mov dword [0x49678c], eax
call esi
push eax
call fcn.00452c84
mov dword [0x496790], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044e930
test eax, eax
pop ecx
pop ecx
je 0x45970b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044e5fb
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x45973d
push 0x48e298
push edi
call esi
push eax
call fcn.00452c84
cmp eax, ebx
pop ecx
mov dword [0x496798], eax
je 0x45973d
push 0x48e280
push edi
call esi
push eax
call fcn.00452c84
pop ecx
mov dword [0x496794], eax
mov eax, dword [0x496794]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4597c2
cmp dword [0x496798], ecx
je 0x4597c2
push eax
call fcn.00452cfb
push dword [0x496798]
mov esi, eax
call fcn.00452cfb
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4597c2
cmp edi, ebx
je 0x4597c2
call esi
cmp eax, ebx
je 0x45978f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45978f
test byte [ebp - 0x18], 1
jne 0x4597c2
lea eax, [ebp - 0x10]
push eax
call fcn.0044e967
test eax, eax
pop ecx
je 0x4597aa
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044e5fb
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4597b9
or dword [ebp + 0x10], 0x200000
jmp 0x4597fd
or dword [ebp + 0x10], 0x40000
jmp 0x4597fd
mov eax, dword [0x49678c]
cmp eax, dword [ebp - 8]
je 0x4597fd
push eax
call fcn.00452cfb
cmp eax, ebx
pop ecx
je 0x4597fd
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4597fd
mov eax, dword [0x496790]
cmp eax, dword [ebp - 8]
je 0x4597fd
push eax
call fcn.00452cfb
cmp eax, ebx
pop ecx
je 0x4597fd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x496788]
call fcn.00452cfb
cmp eax, ebx
pop ecx
je 0x45981d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45981f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret