joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409af0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x5e8
push ebx
push ebp
mov ebp, dword [esp + 0x5f4]
push esi
push edi
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x618]
mov ecx, dword [esp + 0x610]
mov edx, dword [esp + 0x60c]
push eax
mov eax, dword [esp + 0x60c]
push 0
push ecx
mov ecx, dword [esp + 0x610]
push edx
mov edx, dword [esp + 0x610]
push eax
push ecx
push edx
push ebp
call fcn.00409ef0
add esp, 0x20
test ax, ax
je 0x409c7f
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
lea eax, [esp + 0x18]
push 0x5dc
lea ecx, [esp + 0x20]
push eax
push ecx
push ebp
call fcn.00415a70
add esp, 0x10
test al, al
jbe 0x409c28
mov ecx, 3
lea edi, [ebp + 0x19c]
lea esi, [esp + 0x22]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x409c67
mov edi, dword [esp + 0x600]
mov ecx, 3
lea esi, [esp + 0x22]
xor eax, eax
repe cmpsw word [esi], word es:[edi]
je 0x409c10
lea ecx, [esp + 0x1c]
push 0x5dc
push ecx
call fcn.0040a0e0
mov eax, dword [esp + 0x608]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.0040a020
add esp, 0x10
test ax, ax
jle 0x409c67
lea ecx, [esp + 0x2a]
push ecx
call fcn.00409990
add esp, 4
test al, al
je 0x409c67
mov edx, dword [esp + 0x2c]
push edx
call sub.WSOCK32.dll_htons
cmp ax, word [esp + 0x608]
je 0x409ca1
jmp 0x409c67
lea eax, [esp + 0x2a]
push eax
call fcn.00409990
add esp, 4
test al, al
je 0x409c67
mov ecx, dword [esp + 0x2c]
push ecx
jmp 0x409bfb
mov eax, dword [esp + 0x600]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.0040a020
add esp, 8
test ax, ax
jle 0x409c67
lea ecx, [esp + 0x2a]
push ecx
call fcn.00409990
add esp, 4
test al, al
je 0x409c67
mov edx, dword [esp + 0x2c]
push edx
call sub.WSOCK32.dll_htons
cmp ax, word [esp + 0x608]
je 0x409ca1
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, dword [esp + 0x14]
cmp ebx, 0x4b0
jl 0x409b5f
mov eax, dword [esp + 0x10]
mov ecx, eax
inc eax
cmp ecx, 3
mov dword [esp + 0x10], eax
jl 0x409b09
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x5e8
ret
mov ecx, dword [esp + 0x618]
mov edi, dword [esp + 0x614]
mov edx, ecx
lea esi, [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x30]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call sub.WSOCK32.dll_ntohs
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5e8
ret
Function at 0x409ce0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x5e8
push ebx
push ebp
mov ebp, dword [esp + 0x5f4]
push esi
push edi
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x618]
mov ecx, dword [esp + 0x614]
mov edx, dword [esp + 0x610]
push eax
mov eax, dword [esp + 0x610]
push ecx
mov ecx, dword [esp + 0x610]
push edx
mov edx, dword [esp + 0x610]
push eax
mov eax, dword [esp + 0x610]
push ecx
push edx
push eax
push ebp
call fcn.00409ef0
add esp, 0x20
test ax, ax
je 0x409e8c
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0x18]
push 0x5dc
lea edx, [esp + 0x20]
push ecx
push edx
push ebp
mov ebx, eax
call fcn.00415a70
add esp, 0x10
test al, al
jbe 0x409e35
mov ecx, 3
lea edi, [ebp + 0x19c]
lea esi, [esp + 0x22]
xor eax, eax
repe cmpsw word [esi], word es:[edi]
je 0x409e74
mov edi, dword [esp + 0x600]
mov ecx, 3
lea esi, [esp + 0x22]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x409e0a
lea eax, [esp + 0x1c]
push 0x5dc
push eax
call fcn.0040a0e0
mov edx, dword [esp + 0x608]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0040a020
add esp, 0x10
test ax, ax
jle 0x409e74
lea eax, [esp + 0x2a]
push eax
call fcn.00409990
add esp, 4
test al, al
je 0x409e74
mov ecx, dword [esp + 0x2c]
push ecx
call sub.WSOCK32.dll_htons
cmp ax, word [esp + 0x608]
je 0x409eae
jmp 0x409e74
lea edx, [esp + 0x2a]
push edx
call fcn.00409990
add esp, 4
test al, al
je 0x409e74
mov eax, dword [esp + 0x2c]
push eax
call sub.WSOCK32.dll_htons
cmp ax, word [esp + 0x608]
je 0x409ec3
jmp 0x409e74
mov edx, dword [esp + 0x600]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.0040a020
add esp, 8
test ax, ax
jle 0x409e74
lea eax, [esp + 0x2a]
push eax
call fcn.00409990
add esp, 4
test al, al
je 0x409e74
mov ecx, dword [esp + 0x2c]
push ecx
call sub.WSOCK32.dll_htons
cmp ax, word [esp + 0x608]
je 0x409ed8
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, dword [esp + 0x14]
cmp ebx, 0xbb8
jl 0x409d55
mov eax, dword [esp + 0x10]
mov edx, eax
inc eax
cmp edx, 3
mov dword [esp + 0x10], eax
jl 0x409cf9
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x5e8
ret
mov eax, dword [esp + 0x30]
push eax
call sub.WSOCK32.dll_ntohs
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5e8
ret
mov ecx, dword [esp + 0x30]
push ecx
call sub.WSOCK32.dll_ntohs
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5e8
ret
mov edx, dword [esp + 0x30]
push edx
call sub.WSOCK32.dll_ntohs
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5e8
ret
Function at 0x40e7d0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x418418
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, dword [esp + 0x58]
push edi
mov edi, dword [esp + 0x64]
test edi, edi
jne 0x40e809
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov edi, eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CDC::CDC
test edi, edi
mov dword [esp + 0x54], 0
jne 0x40e822
xor eax, eax
jmp 0x40e825
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CDC::Attach
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41af68
mov eax, dword [esp + 0x60]
mov byte [esp + 0x54], 1
and eax, 0xffff
push eax
push 2
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x34]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push 3
mov ecx, edi
call sub.MFC42.DLL_CDC::SetStretchBltMode
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x2c]
sub ecx, ebx
sub edx, eax
sub ecx, eax
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
sub esi, eax
lea eax, [esp + 0x14]
push 0xcc0020
push edx
mov edx, dword [esp + 0x40]
neg eax
sbb eax, eax
push edx
and eax, ebx
push 0
push 0
push eax
mov eax, dword [edi + 4]
push ecx
push esi
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CDC::DeleteDC
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0xc], 0x41ad1c
lea ecx, [esp + 0xc]
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0x41a51c
mov dword [esp + 0x54], 0xffffffff
call fcn.00416602
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x10
Function at 0x40e960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x418443
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov eax, dword [esp + 0x98]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push eax
xor ebp, ebp
xor edi, edi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x88]
push ecx
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xb0]
push esi
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [esp + 0xa8], 0x3e8
jne 0x40ea05
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebp, dword [esi + 8]
mov ecx, dword [esi]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov edx, dword [esi + 4]
sub ebp, ecx
mov ecx, dword [esp + 0x30]
sub ebp, eax
mov eax, dword [esp + 0x28]
add ebp, edi
mov edi, dword [esi + 0xc]
sub edi, edx
sub edi, ecx
add edi, eax
push esi
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ScreenToClient
push ebx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CPaintDC::CPaintDC
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0
call sub.MFC42.DLL_CDC::CDC
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x34]
neg eax
sbb eax, eax
mov byte [esp + 0xa0], 1
and eax, ebx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CDC::Attach
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov edx, dword [esi]
mov ebx, dword [esi + 4]
sub ecx, edi
sub eax, edx
mov edx, dword [esp + 0x38]
sub ecx, ebx
sub eax, ebp
push ecx
push eax
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [esp + 0xac]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::Attach
test ebx, ebx
je 0x40ea88
mov ebx, dword [ebx + 4]
mov eax, dword [esp + 0x18]
push ebx
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
mov esi, dword [esi + 8]
mov dword [esp + 0x10], eax
sub esi, eax
mov eax, edi
sub ecx, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add ebx, eax
add edx, eax
lea eax, [esp + 0x34]
sub ecx, edi
sub esi, ebp
mov ebp, dword [esp + 0x38]
neg eax
push 0xcc0020
push ecx
sbb eax, eax
push esi
and eax, ebp
push ebx
push edx
push eax
mov eax, dword [esp + 0x30]
push ecx
push esi
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CDC::DeleteDC
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 0
call fcn.00416602
lea ecx, [esp + 0x34]
mov dword [esp + 0xa0], 0xffffffff
call fcn.004165fc
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret 0xc
Function at 0x410e00
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x418870
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x410f61
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push __CxxFrameHandler
push 0
push str.http_shellopencommand
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410ebb
lea edx, [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
push eax
push eax
push eax
mov dword [esp + 0x20], eax
push eax
mov eax, dword [esp + 0x20]
push eax
call ebx
test eax, eax
jne 0x410eaf
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x410eaf
push eax
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
test edi, edi
je 0x410eaf
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edi
push 0
push 0
push 0
push edx
call ebx
test eax, eax
jne 0x410ea6
push edi
mov ecx, esi
call fcn.0041625a
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x410f61
push 0x22
mov ecx, esi
call sub.MFC42.DLL_CString::Find
push 0x22
mov ecx, esi
mov edi, eax
call sub.MFC42.DLL_CString::ReverseFind
test edi, edi
jl 0x410f18
test eax, eax
jl 0x410f18
cmp edi, eax
je 0x410f61
sub eax, edi
lea edx, [esp + 0xc]
dec eax
inc edi
push eax
push edi
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::Mid
push eax
mov ecx, esi
mov dword [esp + 0x20], 0
call fcn.00416488
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0xc]
jmp 0x410f5c
push 0x5c
mov ecx, esi
call sub.MFC42.DLL_CString::ReverseFind
test eax, eax
jle 0x410f61
push eax
push 0x20
mov ecx, esi
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jle 0x410f61
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, esi
mov dword [esp + 0x20], 1
call fcn.00416488
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x415740
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
cmp byte [esi], 1
jne 0x415761
push esi
call fcn.00415860
push esi
call fcn.00415720
add esp, 8
mov byte [0x42a170], 0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.W32N50.dll_W32N_OpenAdapterA]
add esp, 4
cmp eax, 0xffffffff
mov dword [esi + 8], eax
je 0x41585a
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
call edi
test eax, eax
mov dword [esi + 0x204], eax
jne 0x4157ac
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.W32N50.dll_W32N_CloseAdapter]
add esp, 4
mov dword [esi + 8], 0xffffffff
pop edi
pop esi
ret
push esi
call fcn.00415c70
push esi
call fcn.00415d10
mov eax, dword [esi + 8]
lea edx, [esi + 0x19c]
push edx
push 6
push 6
push eax
call dword [sym.imp.W32N50.dll_W32N_DisableLoopback]
push 0x100
push esi
call fcn.00415d90
add esp, 0x20
mov byte [esi], 1
push 0x421e98
push 0
push 0
push 0
call edi
mov dword [0x43a918], eax
mov ecx, dword [esi + 8]
push 0x20
push 0x421d48
push ecx
call dword [sym.imp.W32N50.dll_W32N_SetBPFProgram]
push 9
push esi
call fcn.00415c10
add esp, 0x14
mov eax, 0x43a910
mov dword [0x43a914], eax
mov dword [0x43a910], eax
push 0x43a920
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x43a5c0
push 0
push esi
push 0x415ed0
push 0x4710
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [0x43a91c], eax
test eax, eax
jne 0x41585a
push str.Could_Not_Start_Receive_Thread_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
pop edi
pop esi
ret
Function at 0x100042d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, dword [ebx + 0x3c]
push ebp
push esi
mov esi, dword [eax + ebx + 0x78]
mov eax, dword [esi + ebx + 0x24]
mov ecx, dword [esi + ebx + 0x18]
add esi, ebx
push edi
mov edi, dword [esi + 0x20]
add eax, ebx
add edi, ebx
xor ebp, ebp
sub ecx, 1
mov dword [esp + 0xc], eax
je 0x10004331
mov edx, dword [edi]
add edx, ebx
push edx
push 0x10112c60
call fcn.10096ab9
add esp, 8
test eax, eax
je 0x10004325
mov eax, dword [esi + 0x18]
add dword [esp + 0xc], 2
inc ebp
dec eax
add edi, 4
cmp ebp, eax
jb 0x100042f7
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
mov ecx, dword [esp + 0xc]
movzx eax, word [ecx]
cmp eax, 0xffffffff
jne 0x10004338
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
cmp eax, dword [esi + 0x14]
ja 0x10004331
mov edx, dword [esi + 0x1c]
lea eax, [edx + eax*4]
mov eax, dword [eax + ebx]
pop edi
pop esi
add eax, ebx
pop ebp
pop ecx
ret
Function at 0x10005420
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ecx
push ebx
push esi
push edi
push 0
push 0
push 0
push 1
push str.Patch_ServerLoad
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0
push 3
push 0
push 0
push 0x50
mov edi, eax
push str.infinity.btntt.net
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
push 0x4040300
push 0
push 0
mov ebx, eax
mov eax, dword [esp + 0x24]
push str.HTTP_1.1
push eax
push 0x10111a50
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0
push 0
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
push edx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [0x102119fc], ecx
call esi
push ebx
call esi
push edi
call esi
pop edi
pop esi
pop ebx
pop ecx
ret 0xc

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

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [0x10227cec]
lea eax, [esp + 8]
push eax
push 0x40
push 4
push edi
mov dword [0x10133e64], 0
call esi
test eax, eax
je 0x10006440
mov eax, dword [esp + 8]
mov ecx, dword [str.norm]
lea edx, [esp + 8]
push edx
push eax
push 4
push edi
mov dword [edi], ecx
call esi
mov edi, dword [0x10227bf8]
lea ecx, [esp + 8]
push ecx
push 0x40
push 4
push edi
call esi
test eax, eax
je 0x1000646d
mov ecx, dword [esp + 8]
mov edx, dword [0x10111cc4]
lea eax, [esp + 8]
push eax
push ecx
push 4
push edi
mov dword [edi], edx
call esi
pop edi
pop esi
pop ecx
ret

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

Disassembly:
push ecx
mov ecx, dword [0x102279f0]
push esi
push edi
push str.Use_All_chance____
mov dword [0x10133e64], 1
call fcn.10007e90
mov edi, dword [0x10227cec]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 4
push edi
call esi
test eax, eax
je 0x100064d0
mov eax, dword [esp + 8]
mov ecx, dword [str.1orm]
lea edx, [esp + 8]
push edx
push eax
push 4
push edi
mov dword [edi], ecx
call esi
mov edi, dword [0x10227bf8]
lea ecx, [esp + 8]
push ecx
push 0x40
push 4
push edi
call esi
test eax, eax
je 0x100064fd
mov ecx, dword [esp + 8]
mov edx, dword [0x10111ce8]
lea eax, [esp + 8]
push eax
push ecx
push 4
push edi
mov dword [edi], edx
call esi
pop edi
pop esi
pop ecx
ret
Function at 0x10006530
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
mov eax, dword [0x10227cc8]
mov eax, dword [eax]
xor ecx, ecx
cmp eax, 0x1d0d0
setne cl
xor edx, edx
cmp eax, 0x1cdcd
setne dl
and ecx, edx
xor edx, edx
cmp eax, 0x1cccc
setne dl
and ecx, edx
xor edx, edx
cmp eax, 0x1cbcb
setne dl
and ecx, edx
xor edx, edx
cmp eax, 0x1caca
setne dl
and ecx, edx
xor edx, edx
cmp eax, 0x1c9c9
setne dl
and ecx, edx
xor edx, edx
cmp eax, 0x1c8c8
setne dl
and ecx, edx
xor edx, edx
cmp eax, 0x14375
setne dl
and ecx, edx
xor edx, edx
cmp eax, 0x14274
setne dl
and ecx, edx
xor edx, edx
cmp eax, 0x14173
setne dl
and ecx, edx
xor edx, edx
cmp eax, 0x1adad
setne dl
and ecx, edx
xor edx, edx
cmp eax, 0x19e9e
setne dl
and ecx, edx
xor edx, edx
cmp eax, 0x19d9d
setne dl
and ecx, edx
xor edx, edx
cmp eax, 0x19999
setne dl
and ecx, edx
xor edx, edx
cmp eax, 0x19797
setne dl
test edx, ecx
je 0x1000664e
mov eax, dword [0x10227cbc]
cmp dword [eax], 3
jne 0x1000664e
push 0x2e
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
jne 0x1000664e
cmp byte [esp + 3], 0
je 0x1000664e
mov eax, dword [0x10133e64]
cmp eax, 1
jne 0x10006622
xor eax, eax
jmp 0x10006623
inc eax
mov dword [0x10133e64], eax
sub eax, 0
je 0x10006641
sub eax, 1
jne 0x10006646
call fcn.10006480
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
pop ecx
ret
call fcn.10006400
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
pop ecx
ret

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

Disassembly:
push ecx
push esi
mov esi, dword [0x10227d54]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 6
push esi
mov dword [0x1020ea74], 0
call edi
test eax, eax
je 0x1000669b
mov ecx, dword [str.normal]
mov dword [esi], ecx
mov ecx, dword [esp + 8]
mov dx, word [0x10111cf4]
lea eax, [esp + 8]
push eax
push ecx
push 6
push esi
mov word [esi + 4], dx
call edi
pop edi
pop esi
pop ecx
ret

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

Disassembly:
push ecx
mov ecx, dword [0x102279f0]
push esi
push edi
push str.Use_All_chance____
mov dword [0x1020ea74], 1
call fcn.10007e90
mov esi, dword [0x10227d54]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 6
push esi
call edi
test eax, eax
je 0x100066fb
mov ecx, dword [str.1ormal]
mov dword [esi], ecx
mov ecx, dword [esp + 8]
mov dx, word [0x10111cfc]
lea eax, [esp + 8]
push eax
push ecx
push 6
push esi
mov word [esi + 4], dx
call edi
pop edi
pop esi
pop ecx
ret
Function at 0x10006720
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
mov eax, dword [0x10227cc8]
mov eax, dword [eax]
cmp eax, 0x1c8c8
je 0x10006767
cmp eax, 0x1c9c9
je 0x10006767
cmp eax, 0x1caca
je 0x10006767
cmp eax, 0x1cbcb
je 0x10006767
cmp eax, 0x1cccc
je 0x10006767
cmp eax, 0x1cdcd
je 0x10006767
cmp eax, 0xd9d9
je 0x10006767
cmp eax, 0xd1d1
je 0x10006767
cmp eax, 0x1d0d0
jne 0x100067ca
mov ecx, dword [0x10227cbc]
cmp dword [ecx], 3
jne 0x100067ca
push 0x2e
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edx, 0x8000
and ax, dx
mov ecx, edx
cmp ax, cx
jne 0x100067ca
cmp byte [esp + 3], 0
je 0x100067ca
mov eax, dword [0x1020ea74]
cmp eax, 1
jne 0x1000679e
xor eax, eax
jmp 0x1000679f
inc eax
mov dword [0x1020ea74], eax
sub eax, 0
je 0x100067bd
sub eax, 1
jne 0x100067c2
call fcn.100066a0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
pop ecx
ret
call fcn.10006650
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
pop ecx
ret
Function at 0x10007a50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
sub eax, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub eax, 5
mov ebp, eax
lea eax, [esp + 0x10]
push eax
push 0x40
push 1
push esi
mov bl, 0xe8
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 1
push esi
mov byte [esi], bl
call edi
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
inc esi
push esi
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 4
push esi
mov dword [esi], ebp
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

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

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push esi
push edi
call ebx
mov ecx, dword [esp + 0x10]
push esi
push ecx
push edi
call fcn.1009b070
mov eax, dword [esp + 0x10]
add esp, 0xc
lea edx, [esp + 8]
push edx
push eax
push esi
push edi
call ebx
pop ebx
add esp, 8
ret 4

Function at 0x10007ed0
Capabilities:
Delete file

Disassembly:
push esi
push edi
push 0x101118c8
push ebx
call fcn.10098d1e
push 2
mov esi, eax
push 0
push esi
call fcn.10099fe0
push esi
call fcn.10099e9a
push 0
push 0
push esi
mov edi, eax
call fcn.10099fe0
push esi
call fcn.1009a1b8
add esp, 0x28
cmp edi, 0x1388
pop edi
pop esi
jge 0x10007f15
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
ret