joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445130
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x44515e
mov eax, ebx
call fcn.00445bd4
cmp dword [ebx + 0x3c], 0
je 0x445157
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4451cf
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4451c1
cmp dword [ebx + 8], 0
je 0x445180
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x445192
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4451c1
cmp dword [ebx + 8], 0
je 0x445173
cmp eax, 3
je 0x4451a5
dec eax
jne 0x445173
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x445173
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x445173
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4451ed
cmp dword [ebx + 0x10], 0xcc
je 0x4451ed
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004451f8
pop ebx
ret
Function at 0x456688
Capabilities:
Change the wallpaper
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403e04
xor eax, eax
push ebp
push 0x45682a
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00403c00
mov eax, dword [ebp - 8]
call fcn.00403c50
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
je 0x456703
lea eax, [ebp - 8]
mov edx, 0x456840
call fcn.00403c58
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 4]
call fcn.00407f44
mov ecx, dword [ebp - 0x110]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00403c9c
lea ecx, [ebp - 0x114]
mov edx, 0x45684c
mov eax, dword [ebp - 0xc]
call fcn.00407e7c
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0xc]
call fcn.00403a68
mov dl, 1
mov eax, dword [0x413b28]
call fcn.00419898
mov ebx, eax
mov eax, dword [0x45a85c]
mov esi, dword [eax + 0x2d0]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x128]
call fcn.00417930
mov eax, dword [esi + 0x128]
call fcn.00417d9c
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esi + 0x128]
call fcn.00417db4
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dl, 6
mov eax, ebx
call fcn.0041acc8
mov eax, dword [esi + 0x128]
mov eax, dword [eax + 4]
push eax
mov eax, ebx
call fcn.00419e04
xor ecx, ecx
xor edx, edx
call fcn.004154ac
push 0
mov eax, dword [0x459674]
mov eax, dword [eax]
call fcn.0043ddd0
push eax
mov eax, dword [0x459674]
mov eax, dword [eax]
call fcn.0043dddc
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004562c8
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x4c]
push 3
mov eax, dword [ebp - 0xc]
call fcn.00403e14
push eax
push 0
push 0x14
call sub.user32.dll_SystemParametersInfoA
mov eax, ebx
call fcn.00402d48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456831
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.004039f4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004039f4
ret
Function at 0x402190
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x810
mov eax, dword [0x464738]
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push edi
mov dword [esp + 0x814], eax
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1ff
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x400
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x464880
call fcn.00402060
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0x4020f0
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x814]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00415ae8
mov esp, ebp
pop ebp
ret

Function at 0x402eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4538a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71U.DLL_CWinThread::GetMainWnd]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71U.DLL_CPreviewDC::ComputeDeltas]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x402f50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4538a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71U.DLL_CWinThread::GetMainWnd]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71U.DLL_CDockContext::Stretch]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71U.DLL_CPreviewDC::ComputeDeltas]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4047c0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68c
mov eax, dword [0x464738]
push ebx
push esi
xor eax, ebp
mov esi, ecx
mov dword [esp + 0x690], eax
mov eax, dword [ebp + 8]
push edi
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor ebx, ebx
mov word [esp + 0x488], bx
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x48a]
push esi
rep stosd dword es:[edi], eax
push 0x455ae0
lea edx, [esp + 0x490]
push 0x208
push edx
stosw word es:[edi], ax
call fcn.00404790
add esp, 0x10
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x48c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0xc], edi
jne 0x404861
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x688]
xor ecx, ebp
call fcn.00415ae8
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.MSVCR71.dll_wcscmp]
lea edx, [esp + 0x54]
push 0x455ad8
push edx
call esi
add esp, 8
test eax, eax
je 0x40498b
lea eax, [esp + 0x54]
push 0x455ad4
push eax
call esi
add esp, 8
test eax, eax
je 0x40498b
test byte [esp + 0x28], 0x10
jne 0x40498b
lea ecx, [esp + 0x54]
push 0x5f
push ecx
call dword [sym.imp.MSVCR71.dll_wcsrchr]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x40498b
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4048e2
lea ecx, [esp + 0x54]
mov edx, esi
sub edx, ecx
sar edx, 1
push edx
mov edx, ecx
push edx
push eax
call dword [sym.imp.MSVCR71.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x40498b
mov word [esp + 0x278], bx
mov dword [esp + 0x27a], ebx
mov ax, word [esi + 0x12]
mov word [esp + 0x278], ax
mov cx, word [esi + 0x14]
lea edx, [esp + 0x278]
push edx
mov word [esp + 0x27e], cx
call dword [sym.imp.MSVCR71.dll__wtoi]
add esp, 4
cmp eax, ebx
jl 0x40498b
mov dx, word [esp + 0x1e]
movzx ecx, dx
sub ecx, eax
cmp ecx, ebx
jle 0x404933
cmp ecx, 3
jg 0x40493b
cmp ecx, ebx
jge 0x40498b
cmp dx, 3
jbe 0x40498b
xor eax, eax
mov word [esp + 0x280], bx
mov ecx, 0x81
lea edi, [esp + 0x282]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
stosw word es:[edi], ax
lea eax, [esp + 0x54]
push eax
push ecx
push 0x455a8c
lea edx, [esp + 0x28c]
push 0x208
push edx
call fcn.00404790
add esp, 0x14
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x28]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x404861
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x694]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00415ae8
mov esp, ebp
pop ebp
ret
Function at 0x404d70
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe74
mov eax, dword [0x464738]
push ebx
xor eax, ebp
push esi
push edi
mov dword [esp + 0xe7c], eax
xor eax, eax
xor ebx, ebx
mov word [esp + 0x60], bx
mov ecx, 0x81
lea edi, [esp + 0x62]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0x64]
push eax
push str._APPDATA_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x404dde
push 0x464944
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe70]
xor ecx, ebp
call fcn.00415ae8
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0xc]
push ecx
push 0x104
lea edx, [esp + 0x68]
push edx
call fcn.004030b0
test eax, eax
jl 0x404e11
mov eax, dword [esp + 0xc]
push 0x455a98
mov ecx, 0x104
sub ecx, eax
push ecx
lea edx, [esp + eax*2 + 0x68]
push edx
call fcn.00402ff0
lea eax, [esp + 0xc]
push eax
push 0x104
lea ecx, [esp + 0x68]
push ecx
call fcn.004030b0
test eax, eax
jl 0x404e44
mov eax, dword [esp + 0xc]
push 0x455b5c
mov edx, 0x104
sub edx, eax
push edx
lea eax, [esp + eax*2 + 0x68]
push eax
call fcn.00402ff0
push ebx
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov word [esp + 0x268], bx
mov ecx, 0x103
lea edi, [esp + 0x26a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [esp + 0x678], bx
xor eax, eax
mov ecx, 0x1ff
lea edi, [esp + 0x67a]
rep stosd dword es:[edi], eax
push 0x800
lea edx, [esp + 0x67c]
push edx
push ebx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x404f53
mov edi, dword [sym.imp.MSVCR71.dll_wcsrchr]
lea eax, [esp + 0x678]
push 0x5c
push eax
call edi
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x404f53
add esi, 2
push 0x2e
push esi
call edi
add esp, 8
cmp eax, ebx
je 0x404f53
mov word [eax], bx
mov word [esp + 0x20], bx
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0x22]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx edx, word [esp + 0x16]
movzx eax, word [esp + 0x12]
movzx ecx, word [esp + 0x10]
push edx
push eax
push ecx
push 0x455b34
lea edx, [esp + 0x30]
push 0x40
push edx
call fcn.00404790
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.MSVCR71.dll_wcscat]
push esi
lea ecx, [esp + 0x84]
push ecx
push 0x455a8c
lea edx, [esp + 0x294]
push 0x410
push edx
call fcn.00404790
push esi
lea ecx, [esp + 0x98]
call fcn.004047c0
add esp, 0x38
lea eax, [esp + 0x268]
call fcn.0040c300
push ebx
push ebx
push 4
push ebx
push ebx
push 0x40000000
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esp + 0xe7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415ae8
mov esp, ebp
pop ebp
ret
Function at 0x405020
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [0x464940]
test eax, eax
jne 0x40503f
push 0x464944
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x464940], 1
push esi
push 0x464944
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00404d70
mov esi, eax
cmp esi, 0xffffffff
je 0x405091
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, edi
mov dword [esp + 4], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405071
push 0
lea ecx, [esp + 8]
push ecx
sub eax, edx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x464944
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
pop esi
pop ecx
ret

Function at 0x4050b0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x464940]
test eax, eax
jne 0x4050cf
push 0x464944
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x464940], 1
mov eax, dword [0x46493c]
test eax, eax
jne 0x4050f4
lea eax, [esp]
push eax
push 0
push 0
push 0x404f90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x46493c], eax
mov eax, dword [0x464938]
test eax, eax
jne 0x405114
push 0xa00000
call sub.MFC71U.DLL_SerializeElements
add esp, 4
mov dword [0x464938], eax
mov dword [0x464934], eax
push 0x464944
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x464934]
mov ecx, esi
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x405127
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405136
mov ecx, dword [0x464934]
sub eax, edx
add ecx, eax
push 0x464944
mov dword [0x464934], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
pop ecx
ret
Function at 0x405160
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2818
call fcn.00415b80
mov eax, dword [0x464738]
push esi
push edi
xor eax, ebp
mov dword [esp + 0x281c], eax
xor eax, eax
mov word [esp + 0x1818], 0
mov ecx, 0x3ff
lea edi, [esp + 0x181a]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
stosw word es:[edi], ax
lea eax, [ebp + 0x10]
push eax
push ecx
push 0x800
lea edx, [esp + 0x1824]
push edx
call fcn.00403050
xor eax, eax
mov word [esp + 0x818], 0
mov ecx, 0x3ff
lea edi, [esp + 0x81a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x14]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x1818]
push ecx
movzx ecx, word [esp + 0x16]
push edx
movzx edx, word [esp + 0x18]
push eax
movzx eax, word [esp + 0x1a]
push ecx
movzx ecx, word [esp + 0x1a]
push edx
movzx edx, word [esp + 0x1c]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x455b98
lea eax, [esp + 0x848]
push 0x1000
push eax
call fcn.00404790
add esp, 0x38
lea ecx, [esp + 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x1ff
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
push 0
stosw word es:[edi], ax
push 0
push 0x800
lea edx, [esp + 0x24]
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x828]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
push eax
lea ecx, [esp + 0x82c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [0x464930]
test eax, eax
je 0x4052b7
lea esi, [esp + 0x18]
call fcn.004050b0
pop edi
pop esi
mov ecx, dword [esp + 0x2814]
xor ecx, ebp
call fcn.00415ae8
mov esp, ebp
pop ebp
ret
lea edi, [esp + 0x18]
call fcn.00405020
mov ecx, dword [esp + 0x281c]
pop edi
xor ecx, ebp
pop esi
call fcn.00415ae8
mov esp, ebp
pop ebp
ret
Function at 0x4058b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x464738]
xor eax, ebp
push edi
mov dword [esp + 0x10c], eax
xor eax, eax
mov word [esp + 8], 0
mov ecx, 0x3f
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push eax
push 0x464cb0
call fcn.004027e0
mov ecx, dword [0x464d30]
push ecx
lea edx, [esp + 0x14]
push edx
push str.WriteBackTimesDaysInfo_epass__before_change_theApp.m_epassInfo.timectl.info.Key:_s_nlen:_d
push str.CAuth
call fcn.00405160
mov eax, dword [0x465cac]
push eax
push str.WriteBackEPass__MagicNum:_d
push str.CAuth
call fcn.00405160
mov eax, dword [0x465cb0]
add esp, 0x24
cmp eax, 1
jne 0x405a07
push 0
call dword [sym.imp.MSVCR71.dll__time64]
mov dword [0x465c98], eax
mov eax, dword [0x467d20]
mov dword [0x465c9c], edx
lea ecx, [eax + eax*2]
mov edi, dword [ecx*8 + 0x464da0]
or edx, 0xffffffff
add esp, 4
cmp edi, edx
je 0x40596c
mov eax, edi
dec eax
mov dword [ecx*8 + 0x464da0], eax
mov eax, dword [0x467d20]
lea eax, [eax + eax*2]
cmp dword [eax*8 + 0x464da0], edx
jne 0x405983
mov dword [eax*8 + 0x464da0], 0
lea ecx, [esp + 8]
push ecx
push 0x464cb0
call fcn.004027e0
mov edx, dword [0x464d30]
push edx
lea eax, [esp + 0x14]
push eax
push str.WriteBackTimesDaysInfo_epass__after_change_theApp.m_epassInfo.timectl.info.Key:_s_nlen:_d
push str.CAuth
call fcn.00405160
mov ecx, dword [0x465cac]
push ecx
push str.WriteBackEPass__MagicNum:_d
push str.CAuth
call fcn.00405160
add esp, 0x24
lea edx, [esp + 4]
push edx
push 0
push 0
push 0x405880
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x467d30], eax
je 0x405a07
mov eax, 1
pop edi
mov ecx, dword [esp + 0x108]
xor ecx, ebp
call fcn.00415ae8
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10c]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.00415ae8
mov esp, ebp
pop ebp
ret
Function at 0x408d60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x464738]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
push 0
push 0
push 0
xor eax, ebp
push ebx
mov dword [esp + 0xa4], eax
call esi
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push 0xc
lea ecx, [esp + 0x1c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x408dc4
cmp dword [esp + 0xc], 0xc
je 0x408de4
push 0
push 0
push 0
push ebx
call esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.00415ae8
mov esp, ebp
pop ebp
ret
xor edx, edx
push edx
push edx
mov ecx, 3
mov edi, 0x4566d4
lea esi, [esp + 0x18]
repe cmpsd dword [esi], dword es:[edi]
push edx
push ebx
je 0x408e19
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.00415ae8
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00415ae8
mov esp, ebp
pop ebp
ret

Function at 0x4090a0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x453cd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x464738]
xor eax, esp
mov dword [esp + 4], eax
push 0x467cc0
mov dword [esp + 4], 0x467cc0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x464cb0
mov dword [esp + 0x14], 0
call fcn.004054a0
add esp, 4
neg eax
sbb eax, eax
neg eax
push 0x467cc0
mov dword [0x465cb0], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
mov ecx, dword [esp + 4]
xor ecx, esp
add esp, 0x14
jmp fcn.00415ae8
Function at 0x4091c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x81c
mov eax, dword [0x464738]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea edx, [esp + 0x14]
push edx
xor eax, ebp
push 1
xor ebx, ebx
mov dword [esp + 0x82c], eax
mov eax, dword [ebp + 8]
push ebx
push eax
push 0x80000000
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
call esi
test eax, eax
jne 0x4092b9
mov word [esp + 0x20], bx
mov ecx, 0x1ff
lea edi, [esp + 0x22]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push 0x45597c
push eax
mov dword [esp + 0x28], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4092b9
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
lea edx, [esp + 0x20]
push str._shellopencommand
push edx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
lea eax, [esp + 0xc]
push eax
push 1
push ebx
lea ecx, [esp + 0x2c]
push ecx
push 0x80000000
call esi
test eax, eax
jne 0x4092b9
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x1c]
push 0x45597c
push edx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4092d2
mov word [esi], 0x30
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, ebp
call fcn.00415ae8
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0xc]
push eax
call edi
mov ecx, dword [esp + 0x824]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00415ae8
mov esp, ebp
pop ebp
ret 0xc