joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e9a0
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push str.360se_iecompat_filter
push ebx
mov esi, ecx
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebp, eax
mov dword [esp + 0x10], ebx
cmp ebp, ebx
jne 0x40ea3b
cmp word [esi], bx
je 0x40ead4
push ebx
push 0x80
push 4
push ebx
push ebx
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40ead4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0x14
jb 0x40ea18
push str.360se_iecompat_filter
push ebx
push 0
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x208], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esi + 0x208]
mov dword [esi + 0x20c], ebx
test ebp, ebp
mov dword [esp + 0x10], 1
je 0x40ead4
push 0
push 0
push 0
push 0xf001f
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x40eac5
push edi
mov ecx, esi
call fcn.0040efd0
test eax, eax
je 0x40eabe
test ebx, ebx
jne 0x40ea78
mov eax, dword [edi + 4]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea ebx, [ecx*8 + 0x14]
cmp ebx, dword [esi + 0x214]
jbe 0x40ea9c
mov ecx, esi
call fcn.0040e970
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esi + 0x210], eax
mov dword [esi + 0x214], ebx
mov eax, dword [esi + 0x210]
test eax, eax
je 0x40eabe
mov ecx, ebx
mov esi, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40ead4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x40ebe0
Capabilities:
Parse url

Disassembly:
sub esp, 0x144
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
test esi, esi
push edi
mov ebx, ecx
je 0x40ee01
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x54]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0x100
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x40ee01
mov ebp, dword [esp + 0x15c]
mov eax, dword [ebx + 0x210]
neg ebp
sbb ebp, ebp
and ebp, 0xfffffffe
add ebp, 2
test eax, eax
je 0x40ecdf
mov ecx, dword [eax + 4]
xor esi, esi
test ecx, ecx
lea edi, [eax + 0x14]
jbe 0x40ed3a
lea edx, [edi + 8]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x40ecc1
mov edx, dword [esp + 0x10]
add edi, 0x108
add edx, 0x108
inc esi
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x210]
cmp esi, dword [edx + 4]
jb 0x40ec88
jmp 0x40ed3a
cmp dword [edi], ebp
je 0x40ee01
mov ecx, ebx
mov dword [edi], ebp
call fcn.0040eae0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret 8
push 0x6734
mov dword [ebx + 0x214], 0x6734
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0x214]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x210], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x210]
mov dword [eax], 0x133
mov ecx, dword [ebx + 0x210]
mov dword [ecx + 0x10], 0x233
mov edx, dword [ebx + 0x210]
mov dword [edx + 8], 0x14
mov ecx, dword [ebx + 0x210]
mov eax, dword [ebx + 0x214]
mov ecx, dword [ecx + 4]
mov edx, ecx
shl edx, 5
add edx, ecx
lea ecx, [edx*8 + 0x11c]
cmp eax, ecx
jae 0x40eda8
add eax, 0x6720
push eax
mov dword [esp + 0x18], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0x214]
mov esi, dword [ebx + 0x210]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.0040e970
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x210], eax
mov dword [ebx + 0x214], ecx
mov eax, dword [ebx + 0x210]
lea esi, [esp + 0x54]
mov ecx, dword [eax + 4]
mov edx, ecx
shl edx, 5
add edx, ecx
lea eax, [eax + edx*8 + 0x14]
mov edx, 0x100
mov dword [eax], ebp
add eax, 8
sub esi, eax
lea ecx, [edx + 0x7ffffefe]
test ecx, ecx
je 0x40ede5
mov cl, byte [esi + eax]
test cl, cl
je 0x40ede5
mov byte [eax], cl
inc eax
dec edx
jne 0x40edcc
jmp 0x40ede9
test edx, edx
jne 0x40edea
dec eax
mov byte [eax], 0
mov eax, dword [ebx + 0x210]
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
mov ecx, ebx
call fcn.0040eae0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret 8
Function at 0x40ee60
Capabilities:
Parse url

Disassembly:
sub esp, 0x140
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
mov esi, 0x100
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
xor edi, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x158]
cmp eax, edi
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x24], esi
je 0x40ef6d
mov edx, dword [esp + 0x150]
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x4c]
sub edx, ecx
lea ecx, [esi + 0x7ffffefe]
test ecx, ecx
je 0x40eee1
mov cl, byte [edx + eax]
test cl, cl
je 0x40eee1
mov byte [eax], cl
inc eax
dec esi
jne 0x40eec8
jmp 0x40eee5
cmp esi, edi
jne 0x40eee6
dec eax
mov byte [eax], 0
mov al, byte [esp + 0x4c]
push ebx
test al, al
mov dword [esp + 0x10], edi
je 0x40efbb
mov eax, dword [ebp + 0x210]
cmp eax, edi
je 0x40efbb
mov ecx, dword [eax + 4]
lea ebx, [eax + 0x14]
test ecx, ecx
jbe 0x40efbb
lea esi, [ebx + 8]
cmp esi, 8
je 0x40ef44
cmp byte [esi], 0
je 0x40ef44
lea eax, [esp + 0x50]
mov ecx, ebp
push eax
push esi
call fcn.0040ee10
test eax, eax
jne 0x40efa1
lea ecx, [esp + 0x50]
push esi
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
test eax, eax
jne 0x40efa1
mov edx, dword [ebp + 0x210]
add ebx, 0x108
add esi, 0x108
inc edi
cmp edi, dword [edx + 4]
jb 0x40ef19
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x140
ret 0xc
mov esi, dword [esp + 0x150]
lea edx, [esp + 0x10]
push edx
push 0x10000000
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x40eee9
pop edi
pop esi
pop ebp
add esp, 0x140
ret 0xc
mov ecx, dword [ebx]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x158]
mov dword [esp + 0x10], 1
sete al
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x140
ret 0xc
Function at 0x40f000
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x50d42b
push eax
mov eax, 0x229f4
mov dword fs:[0], esp
call fcn.0050c9c0
mov eax, dword [esp + 0x22a04]
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push ebp
push esi
push edi
lea esi, [eax + 8]
push str.often
push esi
call ebx
test eax, eax
je 0x40f0de
push str.mostvisit
push esi
call ebx
test eax, eax
je 0x40f0de
push str.oftenUrls
push esi
call ebx
test eax, eax
je 0x40f0de
push str.preset
push esi
call ebx
test eax, eax
jne 0x40f0da
xor ebp, ebp
mov ecx, 0x82
lea edi, [esp + 0x16]
mov word [esp + 0x14], bp
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x222]
mov word [esp + 0x220], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push ebp
push ebp
push 0x1a
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [esp + 0x14]
push str.360SE
push edx
push str._s_sdatapreset.dat
lea eax, [esp + 0x22c]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x234]
push ecx
call fcn.0040fe10
add esp, 0x18
jmp 0x40f15b
xor eax, eax
jmp 0x40f15b
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov ecx, 0x8976
xor eax, eax
lea edi, [esp + 0x42c]
push str.oftenUrls
rep stosd dword es:[edi], eax
push esi
mov dword [esp + 0x22a14], ebp
mov edi, 1
call ebx
test eax, eax
jne 0x40f10e
xor edi, edi
push edi
lea edx, [esp + 0x430]
push 0x1e
push edx
call fcn.004b0df0
push esi
push eax
lea eax, [esp + 0x440]
push eax
call fcn.004e6930
mov esi, eax
add esp, 0x18
cmp esi, ebp
je 0x40f14a
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push edx
push esi
call dword [ecx + 0x88]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [esp + 0x10]
push ebp
mov dword [esp + 0x14], ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
mov ecx, dword [esp + 0x22a04]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x22a00
ret

Function at 0x40f930
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
push 1
push str.snapcache_
mov ecx, 0x559928
call fcn.0040a550
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push 0x528430
push 0x104
push 0x60f104
call esi
add esp, 0x10
mov ecx, 0x559928
push 0
push str.Blankdata.ini
call fcn.0040a550
push eax
push 0x104
push 0x60ece4
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push 0x60ece4
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, 0xffffffff
je 0x40f9a2
and al, 0xfe
push eax
push 0x60ece4
call ebx
push 0
push str.Exinclude.dat
mov ecx, 0x559928
call fcn.0040a550
push eax
push 0x104
push 0x60eef4
call esi
add esp, 0xc
push 0x60eef4
call edi
cmp eax, 0xffffffff
je 0x40f9d9
and al, 0xfe
push eax
push 0x60eef4
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0x60ece0
call esi
push 0x60eef0
call esi
push 0x60f100
call esi
pop edi
pop esi
pop ebx
ret
Function at 0x40fa00
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x20c
push esi
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, dword [esp + 0x21c]
mov esi, dword [esp + 0x218]
lea ecx, [esp + 8]
push str.360SE
push ecx
dec edx
push str._s_sdataurls.dat
push edx
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop esi
add esp, 0x20c
ret

Function at 0x40fe10
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x50d4b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x559900
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40fe70
push esi
call fcn.004e66a0
mov esi, eax
add esp, 4
test esi, esi
je 0x40fe70
mov eax, dword [esi]
lea ecx, [esp + 4]
push ecx
push esi
call dword [eax + 0x88]
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov esi, dword [esp + 4]
push 0
mov dword [esp + 8], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x410d90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50d4f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004ff160
xor edi, edi
lea ecx, [esi + 0x74]
mov dword [esp + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
call fcn.004bd270
mov al, byte [esp + 0xb]
lea edx, [esi + 0x3c]
mov byte [esi + 0x36e8], al
mov dword [esi + 0x36ec], edi
mov dword [esi + 0x36f0], edi
mov dword [esi + 0x36f4], edi
xor ecx, ecx
mov dword [esi], 0x513db0
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], 2
mov dword [edx], ecx
mov eax, esi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x36e4], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x4c], edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x410ef0
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esi + 0x3c]
push edi
push edx
mov dword [esi + 0x36e4], eax
mov dword [esi + 0x24], ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [0x559970]
cmp eax, 0xffffffff
je 0x410f26
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
mov ebx, dword [esi + 0x6c]
test ebx, ebx
mov ecx, 0x4600004c
mov edx, 0x80
mov eax, 0xfffffffd
pop ebx
je 0x410f4a
xor eax, eax
mov ecx, 0x84000000
mov edx, 0x8000080
push 6
push 8
push 0
push eax
mov eax, dword [esp + 0x28]
push edi
push ecx
push eax
push str.Container
push edx
mov ecx, esi
call fcn.004ff270
mov eax, dword [esi + 4]
test eax, eax
je 0x410f9a
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jne 0x410f9a
mov ecx, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x410f9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x410f9a
push 1
push 0
push 9
mov ecx, esi
call fcn.00412140
mov eax, dword [esi + 4]
pop edi
pop esi
ret 0x14

Function at 0x410fb0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret
Function at 0x412410
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx]
call dword [eax + 0x28]
test eax, eax
je 0x41249b
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x50]
test eax, eax
je 0x41249b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
jne 0x412445
push 0
push eax
push 0x12d
call fcn.004cd440
add esp, 0xc
mov eax, dword [ebx + 0x2c]
push ebp
push esi
lea ecx, [esp + 0xc]
push edi
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, eax
push 1
push esi
push edi
call ebp
test eax, eax
je 0x41247f
push 0
push esi
push edi
call ebp
mov edx, dword [ebx + 4]
mov ecx, ebx
push edx
call fcn.00412560
pop edi
pop esi
test eax, eax
pop ebp
jne 0x41249b
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop ebx
pop ecx
ret

Function at 0x416980
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0
call fcn.00416010
cmp dword [esi + 0x569c], 2
jne 0x4169a5
mov eax, dword [esi + 0x5630]
push 0
push eax
jmp 0x416a2e
mov eax, dword [esi + 0x5638]
mov bl, byte [esp + 0x14]
test eax, eax
je 0x4169fa
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x4169fa
mov ecx, dword [esi + 0x562c]
mov edx, dword [esi + 0x5628]
push 0
push ecx
push 0x5c24
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x50], 2
jbe 0x4169f1
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4169fe
test bl, bl
je 0x416a34
cmp dword [esi + 0x569c], 1
jne 0x416a21
mov eax, dword [esi + 0x5634]
mov ecx, dword [esi + 0x5690]
push eax
push ecx
call fcn.004a27f0
mov ecx, eax
call fcn.004a2c30
test bl, bl
je 0x416a34
mov edx, dword [esi + 0x5630]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.004165b0
pop edi
pop esi
pop ebx
ret 8
Function at 0x419460
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x5680]
test eax, eax
je 0x419572
push ebx
push ebp
push edi
mov edi, dword [esi + 0x562c]
xor ebx, ebx
test edi, edi
jne 0x419493
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x419491
call fcn.00419580
mov edi, eax
test edi, edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x4194a5
mov ebx, 1
jmp 0x41952d
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4194b7
mov ebx, 2
jmp 0x41952d
push edi
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
je 0x419526
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x419513
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x561c]
mov edx, dword [esi + 0x5614]
mov eax, dword [esp + 0x18]
sub ecx, edx
cmp eax, ecx
jne 0x41950c
mov edx, dword [esi + 0x5620]
mov ecx, dword [esi + 0x5618]
mov eax, dword [esp + 0x1c]
sub edx, ecx
cmp eax, edx
jne 0x41950c
mov ebx, 3
jmp 0x419518
mov ebx, 4
jmp 0x419518
mov ebx, 5
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x41952d
call ebp
mov dword [esi + 0x44], eax
jmp 0x41952d
mov dword [esi + 0x44], 0
cmp dword [esi + 0x50], ebx
je 0x419560
call ebp
sub eax, dword [esi + 0x44]
cmp eax, 0x3a98
jbe 0x419560
mov eax, dword [esi + 0x5640]
mov dword [esi + 0x50], ebx
test eax, eax
jne 0x419560
mov eax, dword [esi + 0x5628]
push esi
push 0x2c
push 0x3401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x50]
pop edi
pop ebp
cmp eax, 2
pop ebx
ja 0x419572
mov dword [esi + 0x40], 0
pop esi
add esp, 0x10
ret

Function at 0x41a990
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x55dbc0
call fcn.0041acd0
push 0x40
push 0x513e40
push 0x55dbc0
push 0x55dbc0
call fcn.0041abf0
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x41aa1b
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x5294d4]
mov ecx, 8
mov esi, eax
mov edi, 0x55dba0
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0041ab30
mov ecx, dword [0x5294d0]
mov edx, dword [0x5294d4]
push 0x20
push ecx
push edx
call fcn.0041ac40
mov edi, dword [0x5294d0]
add esp, 0x14
mov ecx, 8
mov esi, 0x55dba0
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x41a9cf
jmp 0x41aa74
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x5294d0]
mov ecx, 8
mov esi, eax
mov edi, 0x55dba0
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0041ab30
mov ecx, dword [0x5294d4]
mov edx, dword [0x5294d0]
push 0x20
push ecx
push edx
call fcn.0041ac40
mov edi, dword [0x5294d4]
add esp, 0x14
mov ecx, 8
mov esi, 0x55dba0
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x41aa2a
push 0x40
push 0x513e80
push 0x55dbc0
push 0x55dbc0
call fcn.0041abf0
mov eax, dword [esp + 0x24]
push 0x40
push 0x55dbc0
push eax
call fcn.0041ad10
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x41aab0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x55db60
call fcn.0041acd0
push 0x38
push str.91__
push 0x55db60
push 0x55db60
call fcn.0041abf0
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x513f78]
mov edx, dword [0x5294d8]
push ecx
push 0x1c
push edx
call fcn.0041ac70
movsx eax, byte [esi + 0x513f78]
mov ecx, dword [0x5294dc]
push eax
push 0x1c
push ecx
call fcn.0041ac70
push 0x30
push 0x513f48
push 0x55db60
push edi
call fcn.0041abf0
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x41aae2
pop edi
pop esi
ret

Function at 0x41ab30
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x513ec0
push esi
push 0x55db30
call fcn.0041abf0
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x55db30
call fcn.0041ac40
push 0x55db30
push esi
call fcn.0041ab80
push 0x20
push 0x513ef0
push esi
push esi
call fcn.0041abf0
add esp, 0x34
pop esi
ret

Function at 0x41ac40
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x41ac62
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x41ac54
pop ebx
pop esi
ret
Function at 0x41d070
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x50d7cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 0x18]
call fcn.0048d850
xor ebx, ebx
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x258]
mov dword [esi], 0x5141a8
mov dword [esi + 0x87c], 4
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x254], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esi + 0x460]
push SysReAllocString
push 0x529620
rep stosd dword es:[edi], eax
lea eax, [esi + 0x668]
push ebx
push 0x104
push eax
mov dword [esp + 0x30], ebx
mov dword [esi + 0x24c], ebx
mov dword [esi + 0x250], 0xffffffff
call fcn.004b61f0
push 0xc
mov dword [esi + 0x870], 0xc
mov dword [esi + 0x874], ebx
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebx
je 0x41d16d
lea eax, [esp + 0xc]
mov dword [edi + 8], 6
push eax
push 0xff000000
mov dword [edi], 0x5141a0
mov dword [esp + 0x14], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0xc]
mov dword [edi + 8], eax
mov dword [edi + 4], ecx
mov dword [esi + 0x878], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x878], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x41dbf0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x48
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
fild qword [esp + 4]
fmul qword [0x5141d8]
call sub.MSVCRT.dll__ftol
mov dword [esp + 4], eax
mov dword [esp + 8], 0
fild qword [esp + 4]
fmul qword [0x5141d8]
call sub.MSVCRT.dll__ftol
mov dword [esp + 4], eax
mov dword [esp + 8], 0
fild qword [esp + 4]
fadd qword [0x5141d0]
call sub.MSVCRT.dll__ftol
cmp eax, 0x400
pop edi
ja 0x41dc7a
mov eax, 1
add esp, 0x48
ret
cmp eax, 0x800
ja 0x41dc8a
mov eax, 2
add esp, 0x48
ret
mov edx, 0x1000
cmp edx, eax
sbb eax, eax
neg eax
add eax, 3
add esp, 0x48
ret