joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408570
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetPriorityClass]
mov edi, dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
mov ebx, eax
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_GetThreadPriority]
push 0x100
mov dword [ebp - 0xc], eax
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_SetPriorityClass]
push 0xf
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
rdtsc
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
rdtsc
sub eax, dword [ebp - 8]
sub edx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_SetPriorityClass]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
test eax, eax
jne 0x408616
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], ecx
fild qword [ebp - 0x10]
fmul qword [0x431758]
mov esp, ebp
pop ebp
ret
fld qword [0x431750]
mov esp, ebp
pop ebp
ret

Function at 0x408b50
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x42f908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x43c178]
mov dword [esp + 0x14], 0
mov dword [esp], eax
lea ecx, [esp + 0x1c]
push 0x43bfc8
lea edx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x20], 1
call fcn.00423024
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x18], 2
call fcn.00422ec8
lea ecx, [esp + 8]
mov byte [esp + 0x14], 1
call fcn.00422dd3
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.txtfile_shellopencommand
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x408bff
lea ecx, [esp]
mov byte [esp + 0x14], 0
call fcn.00422dd3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00422dd3
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp]
mov eax, dword [ecx - 8]
lea ecx, [esp]
inc eax
push eax
push 0
call fcn.004231bf
mov edx, dword [esp + 8]
push eax
push 1
push 0
push 0x43e758
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp]
mov byte [esp + 0x14], 0
call fcn.00422dd3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00422dd3
mov ecx, dword [esp + 0xc]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x408c70
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x42f938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
lea eax, [esp + 8]
mov dword [esp + 0x18], 2
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408cec
lea ecx, [esp + 0xc]
lea edx, [esp + 4]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push eax
push 0xf003f
push eax
push eax
push eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x408d2b
mov edx, dword [esp + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 1
call fcn.00422dd3
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 0
call fcn.00422dd3
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00422dd3
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x28]
inc eax
push eax
push 0
call fcn.004231bf
mov edx, dword [esp + 8]
push eax
push 1
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 1
call fcn.00422dd3
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 0
call fcn.00422dd3
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00422dd3
mov ecx, dword [esp + 0x10]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x409280
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42f9ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3f4
push ebx
push esi
push edi
lea eax, [esp + 0x20c]
xor ebx, ebx
push 0x1f4
push eax
push ebx
mov dword [esp + 0x414], ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea ecx, [esp + 0x18]
push 0x1f4
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov edi, 0x43b7a4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x414]
call fcn.004231bf
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x414]
call fcn.004231bf
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00422dfd
push ebx
lea ecx, [esp + 0x418]
mov byte [esp + 0x410], 1
call fcn.004231bf
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00422dfd
push ecx
mov byte [esp + 0x414], 2
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x43c000
call fcn.00422dfd
mov byte [esp + 0x414], bl
call fcn.00408c70
add esp, 0xc
lea esi, [esp + 0x18]
lea eax, [esp + 0x20c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4093c4
cmp cl, bl
je 0x4093c0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4093c4
add eax, 2
add esi, 2
cmp cl, bl
jne 0x4093a0
xor eax, eax
jmp 0x4093c9
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4093ec
lea eax, [esp + 0x18]
push 0x43b0d4
push eax
call fcn.004122d1
add esp, 8
cmp eax, ebx
je 0x409420
push eax
call fcn.00412223
add esp, 4
lea ecx, [esp + 0x410]
mov dword [esp + 0x408], 0xffffffff
call fcn.00422dd3
mov eax, 1
mov ecx, dword [esp + 0x400]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x400
ret
lea ecx, [esp + 0x20c]
push 0x43b0d4
push ecx
call fcn.004122d1
lea edx, [esp + 0x20]
push 0x43b0d0
push edx
mov esi, eax
call fcn.004122d1
add esp, 0x10
cmp esi, ebx
mov edi, eax
je 0x409487
cmp edi, ebx
je 0x409487
mov al, byte [esi + 0xc]
mov bl, 0x10
test bl, al
jne 0x409473
push edi
push esi
call fcn.004128f4
add esp, 4
push eax
call fcn.00412930
mov al, byte [esi + 0xc]
add esp, 8
test bl, al
je 0x409459
push esi
call fcn.00412223
push edi
call fcn.00412223
add esp, 8
jmp 0x4093ec
call fcn.0041940f
lea ecx, [esp + 0x410]
mov dword [esp + 0x408], 0xffffffff
call fcn.00422dd3
xor eax, eax
jmp 0x409408
Function at 0x4094b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42f9e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x200
push esi
push edi
mov eax, dword [0x43c178]
mov dword [esp + 0x210], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x14]
push 0x1f4
push eax
push 0
mov byte [esp + 0x21c], 3
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00422f18
lea edx, [esp + 0x14]
push 0x1f4
push edx
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
call fcn.00422f18
push 0x43b7a4
lea ecx, [esp + 0xc]
call fcn.0042316b
lea ecx, [esp + 0x218]
push ecx
lea ecx, [esp + 0xc]
call fcn.004231a7
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
call fcn.00422f18
push str.win.ini
lea ecx, [esp + 0x10]
call fcn.0042316b
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
push 0x43c00c
push str.WINDOWS
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.00412fb5
add esp, 8
test eax, eax
je 0x409677
push 0x43b0d4
push 0
lea ecx, [esp + 0x18]
call fcn.004231bf
push eax
call fcn.004122d1
mov esi, eax
add esp, 8
test esi, esi
je 0x409677
push 0x43b0d0
push 0
lea ecx, [esp + 0x10]
call fcn.004231bf
push eax
call fcn.004122d1
mov edi, eax
add esp, 8
test edi, edi
jne 0x409648
call fcn.0041940f
lea ecx, [esp + 0xc]
mov byte [esp + 0x210], 2
call fcn.00422dd3
lea ecx, [esp + 8]
mov byte [esp + 0x210], 1
call fcn.00422dd3
lea ecx, [esp + 0x10]
mov byte [esp + 0x210], 0
call fcn.00422dd3
lea ecx, [esp + 0x218]
mov dword [esp + 0x210], 0xffffffff
call fcn.00422dd3
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x200]
mov dword fs:[0], ecx
add esp, 0x20c
ret
test byte [esi + 0xc], 0x10
jne 0x409668
push edi
push esi
call fcn.004128f4
add esp, 4
push eax
call fcn.00412930
mov al, byte [esi + 0xc]
add esp, 8
test al, 0x10
je 0x40964e
push esi
call fcn.00412223
push edi
call fcn.00412223
add esp, 8
lea ecx, [esp + 0xc]
mov byte [esp + 0x210], 2
call fcn.00422dd3
lea ecx, [esp + 8]
mov byte [esp + 0x210], 1
call fcn.00422dd3
lea ecx, [esp + 0x10]
mov byte [esp + 0x210], 0
call fcn.00422dd3
lea ecx, [esp + 0x218]
mov dword [esp + 0x210], 0xffffffff
call fcn.00422dd3
mov ecx, dword [esp + 0x208]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x20c
ret
Function at 0x418530
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x418550
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.00414e07
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x418573
test byte [esp + 8], 2
je 0x418573
call fcn.00414e7a
mov dword [eax], 0xd
call fcn.00414e83
mov dword [eax], 5
jmp 0x41854c
xor eax, eax
ret

Function at 0x41aad8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x43d988
cmp edx, dword [eax]
je 0x41aafa
add eax, 8
inc ecx
cmp eax, 0x43da18
jl 0x41aaeb
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x43d988]
jne 0x41ac28
mov eax, dword [0x4408ac]
cmp eax, 1
je 0x41ac02
test eax, eax
jne 0x41ab2b
cmp dword [0x43d234], 1
je 0x41ac02
cmp edx, 0xfc
je 0x41ac28
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x41ab62
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00417be0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00419250
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41aba5
lea eax, [ebp - 0x1a4]
push eax
call fcn.00419250
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x43409c
push edi
call fcn.0041cf20
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00417be0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00417bf0
lea eax, [ebp - 0xa0]
push 0x43407c
push eax
call fcn.00417bf0
push dword [esi + 0x43d98c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00417bf0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041ce8f
add esp, 0x2c
pop edi
jmp 0x41ac28
lea eax, [ebp + 8]
lea esi, [esi + 0x43d98c]
push 0
push eax
push dword [esi]
call fcn.00419250
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret
Function at 0x4216e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00412e10
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4217ab
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4217ab
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42175e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x421769
or bh, 8
and edi, 0x8000000
je 0x421784
mov eax, dword [0x441ffc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4217ab
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421b80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
test edi, edi
jne 0x421bab
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
jne 0x421bcf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x421bea
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x42511b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x425153
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00423236
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0042320e
jmp 0x42515f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x42671f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x426761
call fcn.0042b6b0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x426761
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x426758
xor eax, eax
jmp 0x426769
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0042676f
pop edi
pop esi
pop ebx
ret 4

Function at 0x4287a6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4307a4
call fcn.00414224
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0042b6b0
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4287e5
call fcn.0042b6b0
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x4287f3
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x428801
or eax, 0xffffffff
jmp 0x4288e9
mov ecx, esi
call fcn.0042871c
mov dword [ebp - 0x14], eax
call fcn.00424c6a
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x428838
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x428838
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00424c1e
push dword [ebp - 0x14]
call fcn.0042476c
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004284a9
cmp eax, edi
je 0x4288ab
test byte [esi + 0x24], 0x10
je 0x428879
push 4
mov ecx, esi
pop ebx
call fcn.00427c71
test ah, 1
je 0x428871
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.00426871
cmp dword [esi + 0x1c], edi
je 0x4288ab
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00427d57
jmp 0x4288ab
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4288bf
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4288d8
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4288d8
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00428756
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x42e745
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_recv
ret 0xc
Function at 0x42e7c3
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_send
ret 0xc

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409b38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x409b47
pop dword [ebp - 0x40]
mov eax, 0x6e12251f
add eax, 0x922e7628
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xa254e973
add dword [ebp - 0x50], 0xabfd5bd8
mov dword [ebp - 0x4c], 0xf26e8bc5
add dword [ebp - 0x4c], 0x3fc4c080
mov dword [ebp - 0x48], 0x64fe8f17
sub dword [ebp - 0x48], 0x18b24ae9
mov dword [ebp - 0x44], 0xa540a999
add dword [ebp - 0x44], 0x5abf5667
lea eax, [ebp - 0x50]
push eax
mov eax, 0xe7afa5cb
add eax, 0x18912a89
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x805590c6
add dword [ebp - 0x50], 0xf41cd890
mov dword [ebp - 0x4c], 0xd4a7bf2d
add dword [ebp - 0x4c], 0x6cc4a248
mov dword [ebp - 0x48], 0x4e89cd00
add dword [ebp - 0x48], 0x14e59f6c
mov dword [ebp - 0x44], 0xfb570494
add dword [ebp - 0x44], 0x4a8fb6c
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xeb97f5b7
add eax, 0x14a8da95
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3d4da
push 0
call eax
mov ecx, 0xa7185a36
sub ecx, 0xa718032b
xor edi, edi
add edi, eax
mov ebx, 0x41b000
add ebx, dword [ebp - 0x40]
mov edx, 0x9a6de6b5
sub edx, 0x1ece55db
xor dword [ebp - 8], esi
mov esi, dword [ebx]
sub dword [ebp - 4], 0x454b4cbb
add esi, edx
sub dword [ebp - 0x30], 0xd871adaf
mov dword [edi], esi
add dword [ebp - 0x30], 0x71c72aa9
add edi, 0xd101a464
add edi, 0x2efe5ba0
add ebx, 0x93b3ac5
add ebx, 0xf6c4c53f
loop 0x409c65
add eax, 0x6cf8e123
add eax, 0x93086ddc
mov ebx, eax
add eax, 5
mov ecx, 0x8bcfee34
sub ecx, 0x8b8fee34
add ecx, dword [ebp - 0x40]
call ebx
leave
ret