joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421a1b
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
mov bl, byte [0x43be78]
push ebp
xor eax, eax
push esi
mov esi, ecx
test bl, bl
sete al
mov dword [esi + 0x30], eax
mov dl, byte [0x43be79]
xor ecx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x404
test dl, dl
mov edx, dword [esi + 4]
sete cl
push edx
mov dword [esi + 0x34], ecx
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 4]
push 0x456
push eax
call edi
mov ecx, dword [esi + 4]
push 0x457
push ecx
mov dword [esi + 0x3c], eax
call edi
mov edx, dword [esi + 4]
push 0x458
push edx
mov dword [esi + 0x40], eax
call edi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
push 0x521
push eax
call edi
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
lea ebp, [esi + 0x4c]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x50], edx
mov edx, dword [esi + 0x44]
mov dword [ebp], ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x48], eax
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], eax
mov al, byte [0x43be78]
test al, al
jne 0x421ade
mov dword [esp + 0x10], 4
mov eax, dword [ebp]
push 0
push eax
call ebx
mov eax, dword [esp + 0x10]
add ebp, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x421ab8
mov ecx, dword [esi + 4]
push 0x425
push ecx
call edi
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 0x521
push edx
call edi
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x424
push eax
call edi
push 0
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x43c622
call ebp
test eax, eax
je 0x421b1f
mov ecx, dword [esi + 4]
push 0x142
push ecx
call edi
push 5
push eax
call ebx
push 0x43c726
call ebp
test eax, eax
je 0x421b3a
mov edx, dword [esi + 4]
push 0x143
push edx
call edi
push 5
push eax
call ebx
mov eax, dword [esi + 4]
push eax
call fcn.00424c00
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push 0x70
push ecx
call fcn.004249d0
mov edx, dword [esi + 4]
mov ebx, dword [eax]
add esp, 0x10
push 0x426
push edx
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [esp + 0x10]
mov edx, dword [0x43734c]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x421b9c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421b9c
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.004292c0
add esp, 4
xor eax, eax
pop ecx
ret 8

Function at 0x421e52
Capabilities:
Create process on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [esi + 4]
push 0x142
push eax
call edi
mov ebx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp ebx, eax
jne 0x421e8c
push 5
push 0
push 0x43babc
push 0x43c622
push str.Open
push 0
call ebp
mov ecx, dword [esi + 4]
push 0x143
push ecx
call edi
cmp ebx, eax
jne 0x421eb2
push 5
push 0
push 0x43babc
push 0x43c726
push str.Open
push 0
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x4231e0
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x9c
lea eax, [esp + 8]
mov dword [esp + 4], 1
push eax
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x18], 2
jne 0x423227
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
push ecx
push edx
call fcn.00423510
add esp, 8
add esp, 0x9c
ret
lea eax, [esp]
push esi
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [esp + 0xa4]
test eax, eax
jne 0x42327a
mov eax, dword [esp + 4]
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0xc]
push esi
push edx
push 0
push str.Programs
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x4232a0
mov edx, dword [esp + 0xa8]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.Start_MenuPrograms
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, 1
pop esi
add esp, 0x9c
ret

Function at 0x4232b0
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x9c
lea eax, [esp + 8]
push esi
push eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1c], 2
jne 0x4232f9
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
push ecx
push edx
call fcn.00423480
add esp, 8
pop esi
add esp, 0x9c
ret
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [esp + 0xa4]
test eax, eax
jne 0x423353
mov eax, dword [esp + 4]
lea ecx, [esp + 0xa8]
push edi
push ecx
lea edx, [esp + 0x10]
push esi
push edx
push 0
push 0x43766c
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 8]
mov edi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
je 0x42337b
mov edx, dword [esp + 0xa8]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.Desktop
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, 1
pop esi
add esp, 0x9c
ret
xor eax, eax
pop esi
add esp, 0x9c
ret
Function at 0x423390
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
mov dword [esp + 0x10], 1
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x42340c
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push eax
push esi
push str.AppData
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 8]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
test eax, eax
setg cl
dec ecx
test esi, ecx
mov esi, dword [esp + 0x120]
je 0x423448
lea edx, [esp + 0x14]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x14]
push str.Application_Data
push eax
call edi
lea ecx, [esp + 0x14]
push str.MicrosoftInternet_ExplorerQuick_Launch
push ecx
call edi
mov eax, dword [esp + 0x11c]
lea edx, [esp + 0x14]
push esi
push edx
push eax
call fcn.0042a8c0
add esp, 0xc
mov eax, 1
pop edi
pop esi
add esp, 0x110
ret

Function at 0x423480
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp + 0x10]
push esi
mov esi, dword [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4234ea
mov edx, dword [esp + 0x10]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push str.Common_Desktop
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
push esi
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.ProfilesAll_UsersDesktop
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x423510
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push esi
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x423570
mov ecx, dword [esp + 0x14]
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push esi
push eax
push 0
push str.Common_Programs
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x14], eax
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x423bf0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x110
test edx, edx
push esi
je 0x423cdc
mov esi, dword [esp + 0x11c]
test esi, esi
je 0x423cdc
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x18]
push str.SOFTWARERising_s
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 1
call fcn.00429590
add esp, 0xc
lea ecx, [esp + 8]
lea edx, [esp + 0x14]
push ecx
push 0x20019
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423cc5
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x128]
push eax
lea ecx, [esp + 0x18]
push esi
push ecx
push 0
push str.datapath
push edx
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x423cb9
push ebp
push 0x437448
push esi
call fcn.0042a385
add esp, 0xc
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
mov eax, ecx
pop esi
add esp, 0x110
ret
xor eax, eax
pop esi
add esp, 0x110
ret
Function at 0x423fe0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x104
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 4]
push ecx
call fcn.0042a6b5
lea edx, [esp + 8]
push str._TRAY
push edx
mov dword [0x43d84c], 1
call fcn.0042a63f
add esp, 0xc
test eax, eax
je 0x424042
mov dword [0x43d84c], 2
lea eax, [esp + 4]
push 0x437988
push eax
call fcn.0042a63f
add esp, 8
test eax, eax
jne 0x42406e
lea ecx, [esp + 4]
push str._SILENCE
push ecx
call fcn.0042a63f
add esp, 8
test eax, eax
je 0x424078
mov dword [0x43d84c], 4
lea edx, [esp + 4]
push str._ONCE
push edx
call fcn.0042a63f
add esp, 8
test eax, eax
je 0x42409a
mov eax, dword [0x43d84c]
or al, 8
mov dword [0x43d84c], eax
lea eax, [esp + 4]
push str._LOOP
push eax
call fcn.0042a63f
add esp, 8
test eax, eax
je 0x4240ed
mov eax, dword [0x43d84c]
lea ecx, [esp + 4]
or al, 0x10
push str._LOOP
push ecx
mov dword [0x43d84c], eax
call fcn.0042a63f
mov edx, eax
mov edi, str._LOOP
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
push edx
call fcn.0042996d
add esp, 0xc
inc eax
mov dword [0x4385b0], eax
lea eax, [esp + 4]
push 0x438614
push eax
call fcn.0042a63f
add esp, 8
test eax, eax
pop edi
je 0x42410e
mov dword [0x43d848], 1
lea ecx, [esp]
push 0x438610
push ecx
call fcn.0042a63f
add esp, 8
test eax, eax
je 0x42412e
mov dword [0x43d848], 2
lea edx, [esp]
push str._FIRST
push edx
call fcn.0042a63f
add esp, 8
test eax, eax
jne 0x42415a
lea eax, [esp]
push 0x438600
push eax
call fcn.0042a63f
add esp, 8
test eax, eax
je 0x424164
mov dword [0x43d848], 3
lea ecx, [esp]
push str._UPDATE
push ecx
call fcn.0042a63f
add esp, 8
test eax, eax
jne 0x424190
lea edx, [esp]
push 0x4385f0
push edx
call fcn.0042a63f
add esp, 8
test eax, eax
je 0x42419a
mov dword [0x43d848], 5
lea eax, [esp]
push str._REPAIR
push eax
call fcn.0042a63f
add esp, 8
test eax, eax
jne 0x4241c6
lea ecx, [esp]
push 0x4385e0
push ecx
call fcn.0042a63f
add esp, 8
test eax, eax
je 0x4241d0
mov dword [0x43d848], 4
lea edx, [esp]
push str._UNINSTALL
push edx
call fcn.0042a63f
add esp, 8
test eax, eax
jne 0x4241fc
lea eax, [esp]
push 0x4385c8
push eax
call fcn.0042a63f
add esp, 8
test eax, eax
je 0x42420d
mov dword [0x43d848], 6
add esp, 0x104
ret
mov eax, dword [0x43d848]
test eax, eax
jne 0x424220
mov dword [0x43d848], 7
add esp, 0x104
ret
Function at 0x424c50
Capabilities:
Read .ini file

Disassembly:
mov al, byte [0x43c082]
sub esp, 0x14
test al, al
push esi
je 0x424cd5
push 0x43c09c
lea eax, [esp + 8]
push str._s.ini
push eax
call fcn.00429590
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0
push str.setupdlg
push str.HWND
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
test esi, esi
je 0x424cb8
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x424cb8
mov edx, dword [esp + 0x20]
mov eax, dword [0x43baf8]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
add esp, 0x14
ret
mov edx, dword [esp + 0x20]
mov eax, dword [0x43baf8]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
add esp, 0x14
ret
mov edx, dword [esp + 0x1c]
push edx
push 0x43bb00
call fcn.004042f0
mov eax, dword [esp + 0x2c]
add esp, 8
pop esi
add esp, 0x14
ret
Function at 0x425440
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x100
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
push pe_nt_image_headers32
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 8]
push 0x5c
push ecx
call fcn.0042aa90
add esp, 8
test eax, eax
je 0x4254f9
lea edx, [esp + 8]
push 0x5c
push edx
call fcn.0042aa90
mov edx, eax
mov edi, str.NetConfig.ini
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10c]
lea ecx, [esp + 8]
push ecx
push pe_nt_image_headers32
push esi
push str.Rav.ini
push 0x437958
push str.SETTING
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x2e
push esi
call fcn.0042aa90
add esp, 8
test eax, eax
je 0x4254f9
push 0x2e
push esi
call fcn.0042aa90
add esp, 8
mov byte [eax], 0
pop edi
pop esi
add esp, 0x100
ret
Function at 0x425b10
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push esi
call edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x80
push esi
mov ebx, eax
call edi
pop edi
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x425b50
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
Function at 0x427220
Capabilities:
Check os version

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi], 0x434794
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
mov edi, str.Global9991E9DB_1D73_41f3_BB60_EA53980BBBB8
je 0x427246
mov edi, str.9991E9DB_1D73_41f3_BB60_EA53980BBBB8
mov ebx, dword [sym.imp.KERNEL32.dll_OpenMutexA]
push edi
push 0
push 0x1f0001
call ebx
test eax, eax
mov dword [esi + 4], eax
je 0x427287
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
push eax
call ebp
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 0
push 0x1f0001
call ebx
test eax, eax
mov dword [esi + 4], eax
jne 0x427264
pop ebp
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebx
ret

Function at 0x427ab0
Capabilities:
Delete file

Disassembly:
mov eax, dword [0x43d854]
sub esp, 0x104
mov eax, dword [eax + 4]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov ebx, ecx
je 0x427ad7
push eax
call esi
test eax, eax
jne 0x427b91
mov edx, dword [ebx + 0x64]
push edx
call esi
test eax, eax
je 0x427ba3
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x64]
push eax
push 0
push 0x1400
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x427ba3
cmp dword [0x43d848], 3
jne 0x427b91
mov al, byte [0x43caf5]
test al, al
je 0x427b91
mov edx, dword [0x43d87c]
mov eax, dword [edx + 0x24]
test eax, eax
jne 0x427b91
push ebp
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push 0x104
push eax
push 0
push 0x43c09c
call fcn.00427bb0
mov edi, str.Language.ini
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop ebp
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
xor eax, eax
pop ebx
add esp, 0x104
ret 0x10
Function at 0x428380
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [0x43d84c]
sub esp, 0x30
test al, 2
push esi
push edi
mov esi, ecx
je 0x4283aa
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4283aa
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [esp + 0x44]
cmp dword [edi + 0x14], 0x1e
jle 0x428534
mov eax, dword [esi + 0x64]
test eax, eax
je 0x428534
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x428534
push ebx
push ebp
mov ebp, dword [esi + 0x64]
mov esi, dword [esi + 0x60]
push 0xfffffffffffffff0
push ebp
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
test esi, esi
jne 0x428407
test ebx, 0x40000000
je 0x4283fc
push ebp
call edi
jmp 0x428405
push 4
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
lea edx, [esp + 0x30]
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
test ebx, 0x40000000
jne 0x42847d
test esi, esi
je 0x428438
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x428436
test eax, 0x20000000
je 0x428438
xor esi, esi
lea eax, [esp + 0x20]
push 0
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test esi, esi
jne 0x42846f
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jmp 0x4284a7
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4284a7
push ebp
call edi
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
mov edi, eax
lea eax, [esp + 0x20]
push eax
push edi
call ebx
lea ecx, [esp + 0x10]
push ecx
push esi
call ebx
lea edx, [esp + 0x10]
push 2
push edx
push edi
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
add eax, ecx
sub ebx, edx
cdq
sub eax, edx
sub edi, esi
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
mov esi, eax
mov eax, ebx
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
mov eax, dword [esp + 0x20]
cmp ecx, eax
jl 0x428504
mov eax, dword [esp + 0x28]
lea edx, [ecx + edi]
cmp edx, eax
jle 0x428506
sub eax, edi
mov ecx, eax
mov eax, dword [esp + 0x24]
cmp esi, eax
jl 0x42851b
mov eax, dword [esp + 0x2c]
lea edx, [esi + ebx]
cmp edx, eax
jle 0x42851d
sub eax, ebx
mov esi, eax
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push ecx
push 0
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [esp + 0x4c]
pop ebp
pop ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [edi]
push edi
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop edi
xor eax, eax
pop esi
add esp, 0x30
ret 0x10