joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010cd
Capabilities:
Get common file path
Print debug messages
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5178
call fcn.00401ba0
push edi
lea eax, [ebp + 0x10]
mov dword [ebp - 0x5178], eax
mov ecx, dword [ebp - 0x5178]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x2800
lea eax, [ebp - 0x2974]
push eax
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
mov dword [ebp - 0x5178], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x164], 0
mov ecx, 0x13
xor eax, eax
lea edi, [ebp - 0x163]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x5174], 0
mov ecx, 0x9ff
xor eax, eax
lea edi, [ebp - 0x5173]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x108], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x164]
push edx
call dword [sym.imp.MSVCRT.dll__strtime]
add esp, 4
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x164]
push ecx
push str.__s_____s_r_n
lea edx, [ebp - 0x5174]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.httpcom.log
lea ecx, [ebp - 0x108]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4011e9
jmp 0x40128d
push 2
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x5174]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
lea eax, [ebp - 0x5174]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [ebp - 0x174]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov word [ebp - 0x174], 0x7d6
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x174]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea edx, [ebp - 0x2974]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x405eef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d908]
jne 0x405ef9
repz ret
jmp fcn.0040e3e8

Function at 0x4156c0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d908]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404f87
and dword [ebp - 0x14], 0
cmp dword [0x440ae8], 0
mov dword [ebp - 0x18], eax
jne 0x415773
push 0x403370
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41581b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403364
push ebx
call edi
test eax, eax
je 0x41581b
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403354
push ebx
mov dword [0x440ae8], eax
call edi
push eax
call esi
push 0x403340
push ebx
mov dword [0x440aec], eax
call edi
push eax
call esi
push 0x403324
push ebx
mov dword [0x440af0], eax
call edi
push eax
call esi
mov dword [0x440af8], eax
test eax, eax
je 0x415773
push 0x40330c
push ebx
call edi
push eax
call esi
mov dword [0x440af4], eax
mov eax, dword [0x440af4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4157cc
cmp dword [0x440af8], ecx
je 0x4157cc
push eax
call esi
push dword [0x440af8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4157cc
test ebx, ebx
je 0x4157cc
call edi
test eax, eax
je 0x4157c3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4157c3
test byte [ebp - 8], 1
jne 0x4157cc
or dword [ebp + 0x10], 0x200000
jmp 0x4157ff
mov eax, dword [0x440aec]
cmp eax, dword [ebp - 0x18]
je 0x4157ff
push eax
call esi
test eax, eax
je 0x4157ff
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4157ff
mov eax, dword [0x440af0]
cmp eax, dword [ebp - 0x18]
je 0x4157ff
push eax
call esi
test eax, eax
je 0x4157ff
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x440ae8]
call esi
test eax, eax
je 0x41581b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41581d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405eef
leave
ret
Function at 0x41a6d0
Capabilities:
Connect pipe
Delete directory
Delete file
Get common file path
Manipulate console buffer
Read pipe
Write pipe

Disassembly:
mov eax, 0x1808
call fcn.00417ed0
cmp dword [0x7f029c], 0x37
jne 0x41a784
push 0x403468
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0
lea ecx, [esp + 4]
push ecx
push 0
lea edx, [esp + 0xc14]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x40c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EraseTape]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
call dword [sym.imp.KERNEL32.dll_LocalFlags]
push 0
lea edx, [esp + 0x100c]
push edx
push 0x403474
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x7f06b0]
mov edx, dword [0x7efd80]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1808
ret
Function at 0x41ae10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x7f029c]
sub esp, 0x484
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetDateFormatA]
mov ebp, 0x2443831
cmp eax, 0x47
jne 0x41ae96
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x4036e0
mov dword [esp + 0x6c], 0
call esi
xor eax, eax
push eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov word [esp + 0x62], ax
lea eax, [esp + 0x94]
push eax
push 0x40370c
xor edx, edx
lea ecx, [esp + 0x5c]
push ecx
push edx
push edx
mov word [esp + 0x68], dx
call edi
dec ebp
mov eax, dword [0x43fe68]
mov dword [0x7f029c], eax
jne 0x41ae35
mov dword [esp + 0x20], 0x764d11c7
mov dword [esp + 0x4c], 0x26b44f20
mov dword [esp + 0x24], 0x1f33c7de
mov dword [esp + 0x10], 0x2e56cff9
mov dword [esp + 0x28], 0x6cde8df8
mov dword [esp + 0x14], 0x796abd53
mov dword [esp + 0x34], 0x3ce56ad4
mov dword [esp + 0x1c], 0x581868fc
mov dword [esp + 0x18], 0xc596c70
mov dword [esp + 0x3c], 0x6d5e9115
mov dword [esp + 0x30], 0x22f372d9
mov dword [esp + 0x40], 0x2ad541d0
mov dword [esp + 0x38], 0x7a5f7c43
mov dword [esp + 0x2c], 0x28d520e
mov dword [esp + 0x48], 0x73f3bc07
mov dword [esp + 0x44], 0x51f578e1
add dword [esp + 0x4c], 0x73e38130
mov eax, 0x3a9c3a87
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], 0x6b053f58
add dword [esp + 0x20], 0x2818faf9
add dword [esp + 0x4c], 0x3ab2fc3
sub dword [esp + 0x20], 0x30ad2d47
sub dword [esp + 0x20], 0x4442fc9b
sub dword [esp + 0x28], 0x2285667
add dword [esp + 0x4c], 0x262c99c6
sub dword [esp + 0x14], 0x4dc74448
mov eax, 0x53cf4e1b
mul dword [esp + 0x24]
mov eax, dword [esp + 0x24]
add dword [esp + 0x24], 0x1b067f32
mov eax, 0x67698c83
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x28], 0x7674af1e
mov eax, 0x173863dd
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, 0x3d786fdd
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov eax, 0x38471b91
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, 0x45f07edf
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x18], 0x6fea1ecd
sub dword [esp + 0x34], 0x32f1f16e
add dword [esp + 0x34], 0x6e380599
sub dword [esp + 0x18], 0x3ca08c1e
add dword [esp + 0x30], 0x154e8e1
add dword [esp + 0x14], 0x53bb032d
sub dword [esp + 0x14], 0x11166d6c
sub dword [esp + 0x18], 0x2a6a1594
add dword [esp + 0x14], 0x4fb1fe05
mov eax, 0x4b3ce8e6
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
add dword [esp + 0x3c], 0x1bc84bb6
sub dword [esp + 0x30], 0x687c0c2b
add dword [esp + 0x48], 0x36e578c2
sub dword [esp + 0x10], 0x7b5e58ec
mov eax, 0x38d0a1fb
mul dword [esp + 0x48]
mov eax, dword [esp + 0x48]
sub dword [esp + 0x40], 0x15793cf4
mov edx, dword [0x43fe5c]
mov dword [0x7f06b0], edx
call fcn.0041a9e0
pop edi
xor eax, eax
pop esi
pop ebp
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40a6bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40f910
cmp edx, dword [eax]
je 0x40a6df
add eax, 8
inc ecx
cmp eax, 0x40f9a0
jl 0x40a6d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40f910]
jne 0x40a80d
mov eax, dword [0xf0e83c]
cmp eax, 1
je 0x40a7e7
test eax, eax
jne 0x40a710
cmp dword [0x40f238], 1
je 0x40a7e7
cmp edx, 0xfc
je 0x40a80d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40a747
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407a00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407af0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40a78a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407af0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40e48c
push edi
call fcn.00408150
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407a00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407a10
lea eax, [ebp - 0xa0]
push 0x40e46c
push eax
call fcn.00407a10
push dword [esi + 0x40f914]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407a10
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040c88c
add esp, 0x2c
pop edi
jmp 0x40a80d
lea eax, [ebp + 8]
lea esi, [esi + 0x40f914]
push 0
push eax
push dword [esi]
call fcn.00407af0
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 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x403770
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, dword [0x4b2b8c]
mov ecx, dword [0x4afa94]
sub esp, 0xc2c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40387d
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov ebp, dword [sym.imp.KERNEL32.dll_SearchPathA]
mov esi, dword [sym.imp.KERNEL32.dll_GetCommState]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x4b2b8c], 0x959
jne 0x403863
push 0
push 0
call edi
push 0
push 0
call ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x43c]
push ecx
push 0
push 0
push 0
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
lea edx, [esp + 0x1c]
push edx
push 0
call esi
push 0
push 0
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea ecx, [esp + 0x83c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call esi
push 0
push 0x402e28
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0x402e68
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov edx, dword [esp + 0x10]
push edx
call fcn.004035d0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x4037b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc2c
ret
Function at 0x4074ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445248]
jne 0x4074f4
repz ret
jmp fcn.0040cc78

Function at 0x40d76f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409c85
and dword [ebp - 4], 0
cmp dword [0x448918], 0
mov ebx, eax
jne 0x40d820
push 0x4024ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d8d1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4024e0
push edi
call esi
test eax, eax
je 0x40d8d1
push eax
call fcn.00409c13
mov dword [esp], 0x4024d0
push edi
mov dword [0x448918], eax
call esi
push eax
call fcn.00409c13
mov dword [esp], 0x4024bc
push edi
mov dword [0x44891c], eax
call esi
push eax
call fcn.00409c13
mov dword [esp], 0x4024a0
push edi
mov dword [0x448920], eax
call esi
push eax
call fcn.00409c13
pop ecx
mov dword [0x448928], eax
test eax, eax
je 0x40d820
push 0x402488
push edi
call esi
push eax
call fcn.00409c13
pop ecx
mov dword [0x448924], eax
mov eax, dword [0x448924]
cmp eax, ebx
je 0x40d878
cmp dword [0x448928], ebx
je 0x40d878
push eax
call fcn.00409c8e
push dword [0x448928]
mov esi, eax
call fcn.00409c8e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d878
test edi, edi
je 0x40d878
call esi
test eax, eax
je 0x40d86f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d86f
test byte [ebp - 0xc], 1
jne 0x40d878
or dword [ebp + 0x10], 0x200000
jmp 0x40d8b1
mov eax, dword [0x44891c]
cmp eax, ebx
je 0x40d8b1
push eax
call fcn.00409c8e
pop ecx
test eax, eax
je 0x40d8b1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d8b1
mov eax, dword [0x448920]
cmp eax, ebx
je 0x40d8b1
push eax
call fcn.00409c8e
pop ecx
test eax, eax
je 0x40d8b1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x448918]
call fcn.00409c8e
pop ecx
test eax, eax
je 0x40d8d1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d8d3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402e40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40d029], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Marmimo
push str.Mimoclass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402e88
xor eax, eax
jmp 0x402ea3
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x405453
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404345
and dword [ebp - 4], 0
cmp dword [0x40ea48], 0
mov ebx, eax
jne 0x405504
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4055b5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4055b5
push eax
call fcn.004042d3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40ea48], eax
call esi
push eax
call fcn.004042d3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40ea4c], eax
call esi
push eax
call fcn.004042d3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40ea50], eax
call esi
push eax
call fcn.004042d3
pop ecx
mov dword [0x40ea58], eax
test eax, eax
je 0x405504
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004042d3
pop ecx
mov dword [0x40ea54], eax
mov eax, dword [0x40ea54]
cmp eax, ebx
je 0x40555c
cmp dword [0x40ea58], ebx
je 0x40555c
push eax
call fcn.0040434e
push dword [0x40ea58]
mov esi, eax
call fcn.0040434e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40555c
test edi, edi
je 0x40555c
call esi
test eax, eax
je 0x405553
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405553
test byte [ebp - 0xc], 1
jne 0x40555c
or dword [ebp + 0x10], 0x200000
jmp 0x405595
mov eax, dword [0x40ea4c]
cmp eax, ebx
je 0x405595
push eax
call fcn.0040434e
pop ecx
test eax, eax
je 0x405595
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405595
mov eax, dword [0x40ea50]
cmp eax, ebx
je 0x405595
push eax
call fcn.0040434e
pop ecx
test eax, eax
je 0x405595
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40ea48]
call fcn.0040434e
pop ecx
test eax, eax
je 0x4055b5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4055b7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4072be
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40dac8]
jne 0x4072c8
repz ret
jmp fcn.004089e5
Function at 0x440a6b
Capabilities:
Parse pe header
Terminate process

Disassembly:
out 0x12, al
add byte [eax], al
jmp 0x440a74
push 0x14
push 0x44b280
call fcn.0044226f
call fcn.00441f38
movzx esi, ax
push 2
call fcn.00441d08
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x440aa2
xor ebx, ebx
jmp 0x440ad5
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x440a9e
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x440a9e
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x440ad5
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.00440d05
test eax, eax
jne 0x440ae9
push 0x1c
call fcn.00440bc4
pop ecx
call fcn.004411af
test eax, eax
jne 0x440afa
push 0x10
call fcn.00440bc4
pop ecx
call fcn.00441def
and dword [ebp - 4], 0
call fcn.0044174c
test eax, eax
jns 0x440b14
push 0x1b
call fcn.00440bc4
pop ecx
call dword [0x44701c]
mov dword [0x46ec90], eax
call fcn.00441e2f
mov dword [0x46c7b8], eax
call fcn.004419fa
test eax, eax
jns 0x440b3a
push 8
call fcn.0044128a
pop ecx
call fcn.00441c27
test eax, eax
jns 0x440b4b
push 9
call fcn.0044128a
pop ecx
push 1
call fcn.004412c4
pop ecx
test eax, eax
je 0x440b5e
push eax
call fcn.0044128a
pop ecx
call fcn.0044220f
push esi
push eax
push 0
push 0x400000
call fcn.0040322f
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x440b80
push esi
call fcn.00441520
call fcn.004412b5
jmp 0x440bb5
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.004422b4
ret
Function at 0x1005179
Capabilities:
Check for software breakpoints

Disassembly:
out dx, eax
pushfd
pushfd
js 0x10051b4
add byte [edi - 0x39], dl
pop ebp
mov ch, 0xea
mov fs, word [ecx + 0x5a]
dec ebp
dec ebp
and byte [eax], ah
jb 0x10051cf
push ds
and byte fs:[ebp - 0x3b], al
mov ebx, 0x740437ff
imul ebp, dword [edi + 0x6e], 0x3220a920
xor byte [eax], dh
xor al, 0x2c
or esi, dword [0x50695020]
xor eax, 0x50695020
xor eax, 0x50695020
neg dword [ebx + 0x7b]
jnp 0x10051f5
and byte gs:[esp + eax + 0x52], ch
imul esp, dword [ebx + 0x68], 0x72222f0a
outsd dx, dword [esi]
jae 0x1005207
push edx
clc
jg 0x100514f
dec ebp
pop esi
and byte [ebx + 0x16], dl
je 0x1005216
popal
inc eax
inc esp
jbe 0x100520a
insb byte es:[edi], dx
outsd dx, dword [esi]
jo 0x1005216
invalid
ret
or al, 0xb7
inc eax
lcall 0x4d38, 0x100c10a6
sal dword [edi + 0x5610440a], cl
adc al, 0x18
adc al, 0x18
lodsd eax, dword [esi]
xor eax, 0x28df2bed
fild qword [eax + 8]
add al, 0x10
sbb byte [eax], dh
and byte cs:[ebp - 0x4f], ch
salc
mov cl, 0xd6
in al, dx
fistp qword [edx + 0x18]
add al, 0x1c
jp 0x1005227
cmp bh, byte [edi]
inc esp
and ah, ch
pushal
int 0x34
sub byte [edx], ah
jp 0x1005256
dec ebx
nop
inc edi
into
xor al, 0x4d
dec ebx
dec esp
sub byte [eax], dh
xor byte [edx + 0x4d], dl
dec ebp
shr dword [esi], cl
rcr dword [edi + 0x38305c56], 1
cmp byte [ebx + ecx*2 - 0x489dcc4b], dh
pop esi
cmp byte fs:[edi], ch
ror dword [ebx + edx*8 + 0x40], 0x40
imul ecx, esi, 0xffffff83
insd dword es:[edi], dx
mov ebx, 0xce9ffe2
add eax, ecx
add edx, ecx
neg ecx
jns 0x1005253
fistp qword [edx + 0x2e016cdf]
jl 0x1005259
push es
cmp al, 0xcc
insb byte es:[edi], dx
invalid
in eax, dx
and al, 0x14
mov eax, dword [edx + ebp - 0x77]
inc esp
pop edi
mov cl, 0xfd
mov dword [edi + ebx*2 - 0x4f], eax
std
mov ebp, 0x4a3504c8
or byte [eax - 0xb], bh
mov esp, dword [ecx + ecx*4]
add al, 0xdb
xchg edi, ebp
push eax
or dl, byte [eax - 0x2ec6ef01]
mov dword [ecx], edx
mov byte [0x811e0274], al
jmp 0xfcd25f
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x54846e
Capabilities:
Encode data using xor

Disassembly:
call fcn.00549414
call fcn.00542c4a
stosd dword es:[edi], eax
xor al, byte [ecx + 0x37]
daa
ror byte [edx + edi*2], 1
cmp al, 0xd5
invalid