joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403c60
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x61243e
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x6eff0c]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push esi
push edi
mov eax, dword [0x6eff0c]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
call fcn.004149c0
cmp byte [0x8d6a0c], 0
je 0x403ced
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call fcn.005dfbfb
add eax, 0x20
push eax
push 0x6c015c
push 0x6c0474
call fcn.005dfbd5
call fcn.005dfbfb
push eax
push 0x6c047c
push str.CONIN_
call fcn.005dfbd5
add esp, 0x18
mov dword [0x831948], 1
jmp 0x403e74
mov eax, 0x8d7588
call fcn.004021c0
mov eax, dword [0x8318cc]
push 5
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [0x8318d0]
push eax
push 0
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x8318d0]
push 0x800000
push 0
push edx
call fcn.005b7e10
mov eax, dword [0x8318d0]
push 0xc00000
push 0
push eax
call fcn.005b7e10
mov ecx, dword [0x8318d0]
add esp, 0x18
push 0x403ad0
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.005c2ab0
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateICA]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 8
push esi
call edi
push 0xa
push esi
mov ebx, eax
call edi
mov esi, eax
lea eax, [ebx - 0x311]
cdq
sub eax, edx
mov ecx, eax
push 0
lea eax, [esi - 0x28a]
cdq
push 0x28a
sub eax, edx
mov edx, dword [0x8318d0]
push 0x311
sar eax, 1
push eax
sar ecx, 1
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x102660
call fcn.005bac30
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x220], 0
test eax, eax
je 0x403de0
mov ecx, eax
call fcn.005c0400
jmp 0x403de2
xor eax, eax
mov dword [esp + 0x220], 0xffffffff
mov ecx, dword [0x8318d0]
push 0
push ecx
mov ecx, eax
mov dword [0x831934], eax
call fcn.005bbdb0
call fcn.00403140
push str.Aug__9_2024_02:15:06
push str.0.2.6
lea edx, [esp + 0x1c]
push str.Launcher__s___s_
push edx
call fcn.00406ca0
mov ecx, dword [0x8318d0]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.004034e0
mov edx, dword [0x8318d0]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x5b7ac0
call fcn.005b7600
add esp, 4
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
mov ecx, dword [0x83193c]
call fcn.005c6340
mov ecx, dword [0x831938]
call fcn.005c6580
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.005de867
add esp, 0x214
ret
Function at 0x407dd0
Capabilities:
Extract resource via kernel32 functions
Set file attributes
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x611328
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x6eff0c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call fcn.0045d180
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.0045d310
push 0x6c0858
push 0xc8
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x407edf
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407edf
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.0045d4d0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0x6c06e0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.005b9a20
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.0045d340
push eax
lea ecx, [esp + 0x18]
call fcn.0045d370
push eax
call fcn.005b96d0
add esp, 8
cmp dword [esp + 0xc], eax
je 0x407f1a
push 0x80
push 0x6c06e0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x6c015c
push 0x6c06e0
call fcn.005df430
mov esi, eax
add esp, 8
test esi, esi
jne 0x407ef5
push 0x10
push str.Warning
push str.Can_not_update_steam_api.dll
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x407f1a
push 0x10
push str.Warning
push str.No_steam_api.dll_resource
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x407f1a
push esi
lea ecx, [esp + 0x18]
call fcn.0045d340
push eax
push 1
lea ecx, [esp + 0x20]
call fcn.0045d370
push eax
call fcn.005dff24
push esi
call fcn.005decf0
add esp, 0x14
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0045d230
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x4080c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x6114d8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push edi
mov eax, dword [0x6eff0c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
fldz
lea ecx, [esp + 0x14]
fst dword [esi]
mov dword [esi + 8], 0
fstp dword [esi + 4]
call fcn.0045d180
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], 0
call fcn.0045d310
movzx eax, word [esp + 0x5c]
push 0x6c097c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4081fd
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4081fd
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.0045d4d0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.0045d340
push eax
lea ecx, [esp + 0x1c]
call fcn.0045d370
mov ecx, dword [0x831934]
push eax
add ecx, 0x50
call fcn.005bb850
push eax
call sub.d3dx9_43.dll_D3DXCreateTextureFromFileInMemory
test eax, eax
jne 0x4081fd
mov ecx, dword [0x831934]
call fcn.005cb0d0
push 1
push 1
push 0x16
push 4
push 4
mov ecx, eax
mov dword [esi + 8], eax
call fcn.005ccce0
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 8]
push edx
call fcn.005ccb10
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push 0
push eax
mov eax, dword [ecx + 0x44]
call eax
fild dword [esp + 0x60]
mov ecx, dword [esp + 0x40]
fild dword [esp + 0x40]
test ecx, ecx
jge 0x4081de
fadd dword [0x6c2e70]
fdivp st(1)
mov edx, dword [esp + 0x44]
fstp dword [esi]
fild dword [esp + 0x64]
fild dword [esp + 0x44]
test edx, edx
jge 0x4081f8
fadd dword [0x6c2e70]
fdivp st(1)
fstp dword [esi + 4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], 0xffffffff
call fcn.0045d230
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x4c
ret 0xc
Function at 0x409830
Capabilities:
Delete file
Write file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x6eff0c]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push ebp
lea eax, [esp + 0x14]
mov ebx, ecx
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.005b9a20
add esp, 0xc
test al, al
je 0x40986f
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x112]
je 0x409955
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0x6c015c
push esi
call fcn.005df430
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4098b0
push esi
lea eax, [esp + 0x1c]
push str.Cant_replace_file__s_nPlease_delete_this_file_manually
push eax
call fcn.00401ac0
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov eax, edi
call fcn.00408cf0
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.0045d340
push eax
mov ecx, ebx
call fcn.0045d370
push eax
push esi
lea ecx, [edi + 0x4e0]
call fcn.005c7340
mov ecx, dword [esi + 0x10a]
cmp ecx, dword [esp + 8]
je 0x4098fb
push 0
push 0x19f
push str..Updater.cpp
push str.fe__size__out_size
call fcn.005b9050
add esp, 0x10
lea ebx, [edi + 0x20dd4]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push ebp
push 1
push edx
push eax
call fcn.005dff24
push ebp
call fcn.005decf0
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.ExEWarZ.exe
push esi
call fcn.005e21fc
add esp, 8
test eax, eax
jne 0x409948
mov byte [edi + 0x21690], 1
call fcn.00409bc0
mov ecx, dword [esp + 0xc]
push ecx
call fcn.005bac50
add esp, 4
mov ecx, dword [esp + 0x41c]
pop ebp
pop ebx
xor ecx, esp
call fcn.005de867
add esp, 0x41c
ret
Function at 0x409a40
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x612408
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6eff0c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
xor esi, esi
mov dword [esp + 0x18], ebx
call fcn.0040c000
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], esi
call fcn.0040c180
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
sar ecx, 2
test ecx, ecx
jbe 0x409aef
mov ebp, 0x100000
mov edx, dword [edi + 0x5f8]
sub edx, dword [edi + 0x5f4]
sar edx, 2
cmp esi, edx
jb 0x409ab8
call fcn.005dfaec
mov eax, dword [edi + 0x5f4]
mov eax, dword [eax + esi*4]
test dword [eax + 0x116], ebp
jne 0x409ad5
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040c290
inc ebx
mov edx, dword [edi + 0x5f8]
sub edx, dword [edi + 0x5f4]
inc esi
sar edx, 2
cmp esi, edx
jb 0x409aa0
mov dword [esp + 0x14], ebx
xor esi, esi
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x409b68
xor ebp, ebp
lea ebx, [edi + 0x5e4]
cmp esi, eax
jb 0x409b1d
call fcn.005dfaec
mov eax, dword [esp + 0x24]
lea edi, [eax + ebp]
push edi
mov ecx, ebx
call fcn.005c8db0
test byte [edi + 0x116], 1
je 0x409b3c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebp, 0x128
cmp esi, eax
jb 0x409b1d
mov ebx, dword [esp + 0x14]
xor esi, esi
push ebx
push str.removed__d_files_n
call fcn.005b8d40
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, esi
je 0x409b87
push eax
call fcn.005bac50
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.005bac50
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

Function at 0x409bc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x61c
mov eax, dword [0x6eff0c]
xor eax, esp
mov dword [esp + 0x614], eax
lea eax, [esp + 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.ExEWarZ.exe
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 8]
push 0x6c10b0
push edx
call fcn.00401aa0
push str.TheHulkZ
lea eax, [esp + 0x224]
push str.Allow_network_traffic_for__s
push eax
call fcn.00401ac0
lea ecx, [esp + 0x22c]
add esp, 0x1c
push ecx
lea ecx, [esp + 4]
call fcn.00401710
mov ecx, dword [esp + 0x618]
add esp, 4
xor ecx, esp
call fcn.005de867
add esp, 0x61c
ret
Function at 0x5c7d30
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x610d6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
push edi
mov esi, ecx
push 0x8b9ea4
lea ecx, [esp + 0xc]
call fcn.005bbab0
mov edi, dword [esp + 0x128]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x12c], 0
call fcn.005c74e0
mov edx, dword [esp + 0x12c]
push edi
push edx
lea eax, [esp + 0x1c]
push 0x6c2198
push eax
call fcn.00401aa0
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
lea edx, [esp + 0x14]
push 0x6c015c
push edx
call fcn.005df430
mov esi, eax
add esp, 8
test esi, esi
jne 0x5c7df3
mov eax, dword [esp + 0xc]
push eax
call fcn.005bac50
lea ecx, [esp + 0x18]
push ecx
push str.r3dFS:_unable_to_open__s_for_writing_n
call fcn.005b8d40
add esp, 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x120], 0xffffffff
call fcn.005bbb20
xor al, al
jmp 0x5c7e2a
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push esi
push edx
push 1
push edi
call fcn.005dff24
push esi
call fcn.005decf0
push edi
call fcn.005bac50
add esp, 0x18
lea ecx, [esp + 8]
mov dword [esp + 0x120], 0xffffffff
call fcn.005bbb20
mov al, 1
mov ecx, dword [esp + 0x118]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret 8

Function at 0x5ca0f0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x610ceb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
mov ebx, ecx
push 0x8b9ea4
lea ecx, [esp + 0xc]
call fcn.005bbab0
push 0
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
mov dword [esp + 0x120], 0
call fcn.005c6e30
lea ecx, [esp + 0xc]
push 0x6c2624
push ecx
call fcn.005df430
mov esi, eax
add esp, 8
test esi, esi
jne 0x5ca18d
lea edx, [esp + 0xc]
push edx
push str.r3dFS:_there_is_no_volume_file__s_n
call fcn.005b8d40
add esp, 8
lea ecx, [esp + 8]
mov dword [esp + 0x118], 0xffffffff
call fcn.005bbb20
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
add esp, 0x114
ret
push ebp
push edi
push 2
push 0
push esi
call fcn.005e4587
push esi
call fcn.005e47c1
push 0
push 0
push esi
mov edi, eax
call fcn.005e4587
lea eax, [edi + 1]
push 1
push eax
call fcn.005babf0
push esi
push 1
mov ebp, eax
push edi
push ebp
call fcn.005e4b37
push esi
call fcn.005decf0
add esp, 0x38
lea ecx, [esp + 0x14]
push ecx
push edi
push ebp
lea ecx, [ebx + 0x104]
call fcn.005c9df0
push ebp
mov bl, al
call fcn.005bac50
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0xffffffff
call fcn.005bbb20
mov ecx, dword [esp + 0x118]
pop edi
pop ebp
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x5de867
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6eff0c]
jne 0x5de871
repz ret
jmp fcn.005e83ef

Function at 0x5dea8e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x5deabf
call fcn.005e5bda
mov dword [eax], esi
call fcn.005e5bc7
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.005dfac6
add esp, 0x14
push 0x16
pop eax
jmp 0x5deb14
test dword [ebp + 0xc], 0xfffffff9
jne 0x5dea9b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x5deaec
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005e5bed
pop ecx
call fcn.005e5bc7
mov eax, dword [eax]
jmp 0x5deb14
test al, 0x10
jne 0x5deb12
test al, 1
je 0x5deb12
test byte [ebp + 0xc], 2
je 0x5deb12
call fcn.005e5bda
mov dword [eax], 5
call fcn.005e5bc7
mov dword [eax], 0xd
jmp 0x5deae3
xor eax, eax
pop esi
pop ebp
ret

Function at 0x5f3834
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.005e8567
and dword [ebp - 4], 0
cmp dword [0x8d5aa0], 0
mov ebx, eax
jne 0x5f38e5
push 0x6aa870
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5f3996
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6aa864
push edi
call esi
test eax, eax
je 0x5f3996
push eax
call fcn.005e84f5
mov dword [esp], 0x6aa854
push edi
mov dword [0x8d5aa0], eax
call esi
push eax
call fcn.005e84f5
mov dword [esp], 0x6aa840
push edi
mov dword [0x8d5aa4], eax
call esi
push eax
call fcn.005e84f5
mov dword [esp], 0x6aa824
push edi
mov dword [0x8d5aa8], eax
call esi
push eax
call fcn.005e84f5
pop ecx
mov dword [0x8d5ab0], eax
test eax, eax
je 0x5f38e5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005e84f5
pop ecx
mov dword [0x8d5aac], eax
mov eax, dword [0x8d5aac]
cmp eax, ebx
je 0x5f393d
cmp dword [0x8d5ab0], ebx
je 0x5f393d
push eax
call fcn.005e8570
push dword [0x8d5ab0]
mov esi, eax
call fcn.005e8570
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5f393d
test edi, edi
je 0x5f393d
call esi
test eax, eax
je 0x5f3934
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5f3934
test byte [ebp - 0xc], 1
jne 0x5f393d
or dword [ebp + 0x10], 0x200000
jmp 0x5f3976
mov eax, dword [0x8d5aa4]
cmp eax, ebx
je 0x5f3976
push eax
call fcn.005e8570
pop ecx
test eax, eax
je 0x5f3976
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5f3976
mov eax, dword [0x8d5aa8]
cmp eax, ebx
je 0x5f3976
push eax
call fcn.005e8570
pop ecx
test eax, eax
je 0x5f3976
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x8d5aa0]
call fcn.005e8570
pop ecx
test eax, eax
je 0x5f3996
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5f3998
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ff00
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, 1
mov dword [esp + 0xc], eax
mov eax, dword [0x4914f8]
mov edx, dword [0x495bcc]
and edx, eax
mov dword [0x495bcc], edx
mov eax, dword [0x497f48]
mov edx, esp
mov dword [edx], eax
mov dword [esp + 8], ecx
call fcn.004489c0
mov dword [0x491ed0], 0x7e7e7fd7
mov dword [esp], 1
mov byte [esp + 7], al
call fcn.004563b1
int3
Function at 0x42e910
Capabilities:
Hash data with md5

Disassembly:
push esi
push eax
mov dword [esp], ecx
mov eax, dword [0x495010]
mov edx, dword [0x4932a0]
xor edx, eax
mov dword [0x4932a0], edx
mov dword [ecx], 0
mov eax, dword [0x496a2c]
and eax, 0x93dae672
mov dword [0x496a2c], eax
mov dword [ecx + 4], 0
mov si, word [0x48f100]
mov ax, si
add eax, 0x82811801
mov si, ax
mov word [0x48f100], si
mov dword [ecx + 8], 0x67452301
mov eax, dword [0x495218]
inc eax
mov dword [0x495218], eax
xor eax, 0x259572bd
mov edx, dword [0x492bfc]
or edx, eax
mov dword [0x492bfc], edx
mov dword [ecx + 0xc], 0xefcdab89
mov eax, dword [0x496f68]
imul eax, eax, 0x5bd14cae
mov dword [0x496f68], eax
mov dword [ecx + 0x10], 0x98badcfe
mov si, word [0x48fab6]
mov ax, si
add eax, 0x5c0d3a39
mov si, ax
mov word [0x48fab6], si
mov dword [ecx + 0x14], 0x10325476
mov eax, dword [0x493e8c]
and eax, 0x4d0be375
mov dword [0x493e8c], eax
add esp, 4
pop esi
ret
Function at 0x46723d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0045bfcb
mov dword [ebp - 0x14], eax
cmp dword [0x49929c], esi
jne 0x467330
push 0x800
push esi
push 0x47d750
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4672bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x467410
push esi
push esi
push 0x47d750
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x467410
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x467410
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x49929c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4992a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4992a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4992ac], eax
test eax, eax
je 0x46732d
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4992a8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x467355
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x467348
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x46736a
push 4
pop eax
jmp 0x467412
cmp dword [ebp - 0x14], esi
je 0x46736a
push dword [0x49929c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x46734f
mov eax, dword [0x4992a8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4673c8
cmp dword [0x4992ac], edi
je 0x4673c8
push eax
call ebx
push dword [0x4992ac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4673c8
test eax, eax
je 0x4673c8
call ecx
test eax, eax
je 0x4673bd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4673bd
test byte [ebp - 8], 1
jne 0x4673c8
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4673f8
mov eax, dword [0x4992a0]
cmp eax, edi
je 0x4673f5
push eax
call ebx
test eax, eax
je 0x4673f5
call eax
mov esi, eax
test esi, esi
je 0x4673f5
mov eax, dword [0x4992a4]
cmp eax, edi
je 0x4673f5
push eax
call ebx
test eax, eax
je 0x4673f5
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x49929c]
call ebx
test eax, eax
je 0x467410
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x467412
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045f680
mov esp, ebp
pop ebp
ret
Function at 0x412565
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004123e4

Function at 0x41695c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004162ca

Function at 0x416967
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416505

Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4fa7c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x4fa7ec
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4fa814
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x4fa81a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x4fa882
jg 0x4fa831
test esi, esi
je 0x4fa882
test ecx, ecx
jl 0x4fa87d
jg 0x4fa83b
test eax, eax
je 0x4fa87d
cmp edi, ecx
jg 0x4fa84f
jl 0x4fa845
cmp esi, eax
jae 0x4fa84f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x4fa885
mov ecx, dword [ebp + 8]
jmp 0x4fa88f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x4fa8a9
jg 0x4fa88f
test esi, esi
je 0x4fa8a9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x4fa8a9
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc