joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402990
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
push esi
mov esi, ecx
mov eax, dword [esp + 0xc]
lea ecx, [esi + 0x40]
mov dword [esi + 0x24], eax
mov dword [ecx], edx
mov edx, dword [esp + 0x14]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0xc], edx
mov cl, byte [esi + 0x30]
test cl, cl
je 0x402a89
cmp dword [esi + 0x28], 1
jbe 0x402a89
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x402a89
push edi
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 4]
mov dword [esi + 0x38], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push ecx
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x402a12
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], 0
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x402a2f
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x3c], eax
push eax
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x24]
push edi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea edx, [esp + 8]
push edx
push 4
push esi
push 0x402bd0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x14], eax
test eax, eax
pop edi
je 0x402a89
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
pop esi
pop ecx
ret 0x14
xor al, al
pop esi
pop ecx
ret 0x14

Function at 0x403ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40ca97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CStringArray::CStringArray
mov eax, dword [esp + 0x18]
push str.dama3.yzmbuy.com
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 1
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
call dword [sym.imp.MSVCRT.dll_rand]
cdq
idiv esi
lea ecx, [esp + 0x10]
push edx
lea edx, [esp + 8]
push edx
call fcn.00403bb0
mov esi, dword [esp + 0x34]
lea eax, [esp + 4]
push eax
mov ecx, esi
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.0040bef8
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x403c20
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x40cad5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
lea eax, [esp + 4]
push esi
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x80
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [esp + 4]
call fcn.0040bdc0
lea edx, [esp + 0x10]
lea eax, [esp + 4]
push edx
push 0x412384
push eax
mov dword [esp + 0xa4], 1
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0xac]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x98], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x90]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x98
ret 4
Function at 0x408750
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x40d789
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push esi
xor esi, esi
mov dword [esp + 0x18], esi
lea eax, [esp + 0x1c]
push 0xc8
push eax
push esi
mov dword [esp + 0x1c0], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 8]
call fcn.0040bdc0
lea ecx, [esp + 0x1c]
lea edx, [esp + 8]
push ecx
push 0x412384
push edx
mov byte [esp + 0x1c0], 2
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0040bdc0
mov bl, 3
push str.Release
lea ecx, [esp + 0xc]
mov byte [esp + 0x1b8], bl
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x408836
push str.Debug
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x408836
push esi
push 0x41239c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x408808
lea esi, [eax + 1]
jmp 0x4087ef
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1b8], 5
call fcn.0040bdfc
mov byte [esp + 0x1b4], bl
lea ecx, [esp + 0x10]
jmp 0x408862
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1b8], 4
call fcn.0040bdfc
mov byte [esp + 0x1b4], bl
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
push 0x41239c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
push 0x412390
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xe4]
push eax
push 0xc8
push edx
push eax
mov eax, dword [esp + 0x1d0]
push eax
push str.section
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
call fcn.0040bdc0
lea ecx, [esp + 0xe4]
lea edx, [esp + 0x14]
push ecx
push 0x412384
push edx
mov byte [esp + 0x1c0], 6
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x1c8]
add esp, 0xc
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1b4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x1b4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x1b4], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1ac]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b0
ret 8
Function at 0x408dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40d868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.0040bdc0
mov bl, 1
push 0x4129c8
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::Find
push str.____
lea ecx, [esp + 0x28]
mov esi, eax
call sub.MFC42.DLL_CString::Find
mov edi, eax
sub eax, esi
dec eax
inc esi
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x20], 2
call fcn.0040bdfc
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
push edi
push 0x4129c8
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Find_1
mov esi, eax
lea ecx, [esp + 0x24]
push esi
push str.____
call sub.MFC42.DLL_CString::Find_1
mov edi, eax
lea eax, [esp + 0x28]
mov edx, edi
lea ecx, [esp + 0x24]
sub edx, esi
dec edx
inc esi
push edx
push esi
push eax
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [esp + 0x2c]
push eax
mov byte [esp + 0x20], 3
call fcn.0040bdfc
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
push edi
push 0x4129c8
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Find_1
mov edi, eax
lea ecx, [esp + 0x24]
push edi
push str.____
call sub.MFC42.DLL_CString::Find_1
mov esi, eax
lea edx, [esp + 0x28]
mov ecx, esi
sub ecx, edi
dec ecx
inc edi
push ecx
push edi
push edx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [esp + 0x30]
push eax
mov byte [esp + 0x20], 4
call fcn.0040bdfc
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esi + 4]
lea ecx, [esp + 0x24]
push eax
push 0x4129c8
call sub.MFC42.DLL_CString::Find_1
mov edi, eax
lea edx, [esp + 0x28]
mov ecx, edi
sub ecx, esi
dec ecx
inc esi
push ecx
push esi
push edx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 5
call fcn.0040bdfc
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
add edi, 4
lea ecx, [esp + 0x24]
push edi
push 0x4129c8
call sub.MFC42.DLL_CString::Find_1
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x28]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Right
mov ecx, dword [esp + 0x38]
push eax
mov byte [esp + 0x20], 6
call fcn.0040bdfc
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x18
Function at 0x409960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40d9b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0
call fcn.0040bdc0
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [esp + 0x30]
push 0
push 0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CFile::Open
lea ecx, [esp + 0xc]
call fcn.0040bdc0
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CFile::GetLength
mov edi, eax
lea ecx, [edi + 1]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
lea ecx, [esp + 0x10]
push edi
push esi
call sub.MFC42.DLL_CFile::Read
push esi
lea edx, [esp + 0xc]
push 0x412384
push edx
mov byte [esi + edi], 0
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFile::GetLength
lea ecx, [esp + 0x10]
mov edi, eax
call sub.MFC42.DLL_CFile::Close
push str.html
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
je 0x409a22
xor edi, edi
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.0040c05a
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x40b8d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40de2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, dword [edi + 8]
sub esp, 0x18
mov esi, esp
lea eax, [esp + 0x38]
mov dword [esp + 0x24], esp
push eax
mov ecx, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 1
push ecx
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x40]
lea ecx, [esi + 8]
push edx
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x4c]
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x10], ecx
push edx
lea ecx, [esi + 0x14]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::CString_1
push ebp
mov ecx, edi
mov byte [esp + 0x34], 0
call fcn.0040b9c0
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
mov eax, ebp
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x10
ret 0x18
Function at 0x414234
Capabilities:
Acquire debug privileges
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1114
call fcn.004216d0
push 1
push str.SeDebugPrivilege
mov byte [ebp - 1], 0
call fcn.0041388a
test eax, eax
pop ecx
pop ecx
je 0x414271
lea eax, [ebp - 0xc]
push eax
push 0x1000
lea eax, [ebp - 0x1114]
push eax
call dword [0x458c04]
test eax, eax
jne 0x414275
xor eax, eax
leave
ret
mov eax, dword [ebp - 0xc]
shr eax, 2
je 0x41432a
push esi
push edi
lea esi, [ebp - 0x1114]
mov dword [ebp - 8], eax
push str.unknown
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esi]
push 0
push 0x411
call dword [0x458b44]
mov edi, eax
test edi, edi
je 0x41430b
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push edi
call dword [0x458c5c]
test eax, eax
je 0x414302
push 0x104
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x10]
push edi
call dword [0x458adc]
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x414302
push eax
push edi
call dword [0x458b84]
test eax, eax
je 0x414302
mov byte [ebp - 1], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41431c
cmp dword [esi], 0
jbe 0x41431c
push esi
push 0x405d42
call dword [sym.imp.USER32.dll_EnumWindows]
add esi, 4
dec dword [ebp - 8]
jne 0x41428c
pop edi
pop esi
movzx eax, byte [ebp - 1]
leave
ret
Function at 0x41ba0a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push edi
push 0x41
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x210], bl
lea edi, [ebp - 0x20f]
rep stosd dword es:[edi], eax
push 0x41
pop ecx
mov byte [ebp - 0x108], bl
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x210]
push eax
call fcn.0041b936
test eax, eax
pop ecx
jne 0x41ba50
xor al, al
jmp 0x41ba8f
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.0041452b
pop ecx
pop ecx
push 1
lea eax, [ebp - 0x108]
push eax
push ebx
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov al, 1
pop edi
pop ebx
leave
ret
Function at 0x41e18a
Capabilities:
Get geographical location

Disassembly:
push edi
mov edi, dword [esp + 8]
push 0x42a450
push edi
call fcn.00421840
test eax, eax
pop ecx
pop ecx
je 0x41e33b
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push str.PSTN_BALANCE
push edi
mov byte [eax], 0
lea ebx, [eax + 1]
call esi
test eax, eax
je 0x41e333
push str.FULLNAME
push edi
call esi
test eax, eax
jne 0x41e1df
push ebx
push 0x45b14c
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x41e333
push str.BIRTHDAY
push edi
call esi
test eax, eax
je 0x41e333
push 0x42b238
push edi
call esi
test eax, eax
jne 0x41e223
mov bl, byte [ebx]
cmp bl, 0x4d
jne 0x41e20e
mov byte [0x45b255], 1
jmp 0x41e333
cmp bl, 0x46
jne 0x41e333
mov byte [0x45b255], 2
jmp 0x41e333
push str.COUNTRY
push edi
call esi
test eax, eax
jne 0x41e23c
push 3
push ebx
push 0x45b259
jmp 0x41e313
push str.IPCOUNTRY
push edi
call esi
test eax, eax
jne 0x41e26f
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 3
push ebx
mov esi, 0x45b25c
push esi
call edi
push esi
call fcn.0041eef4
pop ecx
push 2
push esi
push 0x459461
call edi
jmp 0x41e333
push str.CITY
push edi
call esi
test eax, eax
jne 0x41e288
push 0x20
push ebx
push 0x45b27f
jmp 0x41e313
push str.PHONE_HOME
push edi
call esi
test eax, eax
jne 0x41e29e
push 0x10
push ebx
push 0x45b29f
jmp 0x41e313
push str.PHONE_OFFICE
push edi
call esi
test eax, eax
jne 0x41e2b4
push 0x10
push ebx
push 0x45b2af
jmp 0x41e313
push str.PHONE_MOBILE
push edi
call esi
test eax, eax
jne 0x41e2ca
push 0x10
push ebx
push 0x45b2bf
jmp 0x41e313
push str.HOMEPAGE
push edi
call esi
test eax, eax
jne 0x41e2e3
push 0x100
push ebx
push 0x45b2cf
jmp 0x41e313
push str.ABOUT
push edi
call esi
test eax, eax
jne 0x41e2fc
push 0x100
push ebx
push 0x45b3cf
jmp 0x41e313
push str.MOOD_TEXT
push edi
call esi
test eax, eax
jne 0x41e31b
push 0x100
push ebx
push 0x45b4cf
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x41e333
push str.TIMEZONE
push edi
call esi
test eax, eax
jne 0x41e339
push ebx
call fcn.0042191e
pop ecx
mov dword [0x45b5d0], eax
inc dword [0x45b854]
pop esi
pop ebx
pop edi
ret
Function at 0x41ec88
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push edi
push 0x3f
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x100], bl
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.SkypeControlAPIAttach
mov byte [0x449310], 1
mov byte [0x45af80], 1
stosb byte es:[edi], al
call esi
push str.SkypeControlAPIDiscover
mov dword [0x45b02c], eax
call esi
mov dword [0x45b030], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x40
call dword [0x458b44]
cmp dword [0x45b02c], ebx
mov dword [0x45afa0], eax
je 0x41edcd
cmp dword [0x45b030], ebx
je 0x41edcd
push ebx
push ebx
push ebx
push 0x41eb04
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41ed21
push 0xa
call esi
cmp dword [0x45af9c], ebx
je 0x41ed1d
push ebx
push 0x3e8
push ebx
push ebx
push dword [0x45af9c]
push dword [0x45b030]
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
xor edi, edi
jmp 0x41ed56
cmp edi, 0x64
jge 0x41ed8e
push 0xa
inc edi
call esi
cmp dword [0x45b034], ebx
je 0x41ed4c
jmp 0x41ed8e
lea eax, [ebp - 0x100]
push eax
push dword [0x45a338]
call fcn.00413d23
test eax, eax
pop ecx
pop ecx
jne 0x41ed7f
push ebx
call fcn.0040c3e6
pop ecx
push ebx
call fcn.00414223
mov dword [esp], 0x2710
call esi
cmp byte [0x463860], bl
jne 0x41ed60
push dword [0x45afa0]
push 0x45afa8
call dword [sym.imp.USER32.dll_UnregisterClassA]
push dword [0x45afa0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x45af9c]
cmp eax, ebx
mov dword [0x45afa0], ebx
je 0x41edcd
push ebx
push ebx
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [ebp - 0x100]
push eax
push dword [0x45a338]
call fcn.00413d23
test eax, eax
pop ecx
pop ecx
jne 0x41edec
push ebx
call fcn.0040c3e6
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40186d
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00403a30
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00403a30
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
jne 0x401903
mov dword [ebp - 0x18], esp
mov eax, 0
call fcn.00403a54
cmp dword [ebp - 0x18], esp
je 0x401900
push 6
call fcn.00403a4e
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 3
call fcn.00403a54
cmp dword [ebp - 0x18], esp
je 0x40192f
push 6
call fcn.00403a4e
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 4
call fcn.00403a54
cmp dword [ebp - 0x18], esp
je 0x40195d
push 6
call fcn.00403a4e
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push 0x47525d
push 0
mov eax, 5
call fcn.00403a54
cmp dword [ebp - 0x18], esp
je 0x401989
push 6
call fcn.00403a4e
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 6
call fcn.00403a54
cmp dword [ebp - 0x18], esp
je 0x401a18
push 6
call fcn.00403a4e
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 7
call fcn.00403a54
cmp dword [ebp - 0x18], esp
je 0x401a3d
push 6
call fcn.00403a4e
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x401a45
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00403a2a
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00403a2a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x40a7a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e89b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004635c6
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a822
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00460f57
mov eax, dword [eax]
push 0x4861e4
push eax
call fcn.00453e64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00463851
test bl, bl
je 0x40a822
push 0x4861e4
lea ecx, [esp + 0xc]
call fcn.00463be1
push 0x489d48
lea ecx, [esp + 0xc]
call fcn.00463be1
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40a85e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00463851
jmp 0x40a929
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40a8e2
lea edx, [esp + 0x7c]
push 0x489d44
push edx
call fcn.00453e64
add esp, 8
test eax, eax
je 0x40a8e2
lea eax, [esp + 0x7c]
push 0x489d40
push eax
call fcn.00453e64
add esp, 8
test eax, eax
je 0x40a8e2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40a872
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00463851
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40b120
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40b182
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc