joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Set console window title
Terminate process

Disassembly:
call dword [sym.imp.kernel32.dll_AllocConsole]
test eax, eax
je 0x4010f1
push 0x4020aa
call dword [sym.imp.kernel32.dll_SetConsoleTitleW]
push 0
push 1
push 0
push 2
push 0xc0000000
call dword [sym.imp.kernel32.dll_CreateConsoleScreenBuffer]
cmp eax, 0xffffffff
je 0x401107
mov dword [section..rdata], eax
push eax
call dword [sym.imp.kernel32.dll_SetConsoleActiveScreenBuffer]
push 0
push 0
push 0x64
push 0x4020d6
push dword [section..rdata]
call dword [sym.imp.kernel32.dll_WriteConsoleW]
push 0xfffffffffffffff6
call dword [sym.imp.kernel32.dll_GetStdHandle]
push 0
push 0x403008
push 0xa
push 0x403008
push eax
call dword [sym.imp.kernel32.dll_ReadConsoleW]
mov ebx, eax
push 0
push 0
push 0x64
push 0x402134
push dword [section..rdata]
call dword [sym.imp.kernel32.dll_WriteConsoleW]
cmp ebx, 0x3e8
jmp 0x4010a6
push 0
push 0
push 0x64
push 0x4021b4
push dword [section..rdata]
call dword [sym.imp.kernel32.dll_WriteConsoleW]
jmp 0x40111b
push 0x10
push 0x40209c
push section..data
push 0
call dword [sym.imp.user32.dll_MessageBoxW]
jmp 0x40111b
push 0x10
push 0x40209c
push 0x402048
push 0
call dword [sym.imp.user32.dll_MessageBoxW]
push 0x61a8
call dword [sym.imp.kernel32.dll_Sleep]
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x40a0c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40a0d7
pop dword [ebp - 8]
mov eax, 0x40a0d7
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x3d097
push 0
mov eax, 0x47a1039c
sub eax, 0x475eb184
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x451b
mov edi, eax
mov edx, 0x435400
add edx, dword [ebp - 8]
mov esi, 0x3fbea6bd
sub esi, 0x443ba44
xor dword [ebp - 4], ecx
mov ebx, dword [edx]
xor dword [ebp - 4], 0xc9dbaf93
add ebx, esi
mov dword [edi], ebx
xor dword [ebp - 4], esi
add edi, 0xb10edf05
sub edi, 0xb10edf01
add edx, 0xf1bab55d
sub edx, 0xf1bab559
loop 0x40a125
add eax, 0xd175ac9c
add eax, 0x2e8b5aa3
xor ebx, ebx
add ebx, eax
add eax, 0x9c43bd84
add eax, 0x63bc4281
mov ecx, 0x400000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x40102f
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push edi
jmp 0x401040
and byte [ebp - 4], 0
push 0
push 2
mov byte [ebp - 0xc], 0x73
mov byte [ebp - 5], 0x65
mov byte [ebp - 9], 0x6c
mov byte [ebp - 0xa], 0x75
mov byte [ebp - 8], 0x2e
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x78
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x134]
push eax
push edi
mov dword [ebp - 0x134], 0x128
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x4010e4
push esi
lea eax, [ebp - 0x110]
push eax
call section..text
push eax
call dword [sym.imp.MSVCRT.dll__strlwr]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 0x10
test eax, eax
jne 0x4010c8
push dword [ebp - 0x12c]
push 1
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
lea eax, [ebp - 0x134]
push eax
push edi
call sub.KERNEL32.DLL_Process32Next
push 0x32
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
test esi, esi
jne 0x40108b
pop esi
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
leave
ret

Function at 0x401160
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
jmp 0x401171
and dword [ebp - 4], 0
and byte [ebp - 0x1c], 0
and byte [ebp - 0xc], 0
mov byte [ebp - 0x28], 0x75
mov byte [ebp - 0x29], 0x51
mov byte [ebp - 0x1e], 0x78
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x1f], 0x45
mov byte [ebp - 0x26], 0x72
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x1d], 0x41
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x24], 0x56
mov byte [ebp - 0x25], 0x79
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x2c], 0x52
mov byte [ebp - 0x2a], 0x67
mov byte [ebp - 0x21], 0x75
mov byte [ebp - 0x12], 0x33
mov byte [ebp - 0x18], 0x41
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0x11], 0x32
mov byte [ebp - 0x16], 0x76
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0x14], 0x70
mov byte [ebp - 0x17], 0x64
jmp 0x4011f4
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 8], eax
jmp 0x401213
test eax, eax
je 0x40123d
jmp 0x40121e
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x40123d
jmp 0x401244
mov eax, dword [ebp - 4]
leave
ret
Function at 0x401504
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
jmp 0x401511
movzx eax, word [ebp + 0x10]
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
mov dword [ebp + 0x14], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x401581
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, ebx
je 0x401581
lea eax, [ebp - 4]
push ebx
push eax
push esi
push dword [ebp + 0x14]
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 1
pop ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x40b180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40b18f
pop dword [ebp - 0x3c]
mov eax, 0x61699391
add eax, 0x9ed71dfe
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x89bf8e3b
add dword [ebp - 0x4c], 0xc492b710
mov dword [ebp - 0x48], 0xfe676fc1
add dword [ebp - 0x48], 0x33cbdc84
mov dword [ebp - 0x44], 0xfcfa1374
add dword [ebp - 0x44], 0x4f5230ba
mov dword [ebp - 0x40], 0xc6dfe00f
add dword [ebp - 0x40], 0x39201ff1
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xf35aeb8b
sub eax, 0xf3115b37
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xa2899b3d
add dword [ebp - 0x4c], 0xd1e8ce19
mov dword [ebp - 0x48], 0x5ac6efab
sub dword [ebp - 0x48], 0x195a8e36
mov dword [ebp - 0x44], 0xc7197ba1
add dword [ebp - 0x44], 0x9c55f0cb
mov dword [ebp - 0x40], 0x9a429acf
sub dword [ebp - 0x40], 0x9a429acf
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x6f259
push 0
call eax
mov ecx, 0x4e1e
xor edi, edi
add edi, eax
mov ebx, 0x1146ad78
sub ebx, 0x10fa4f78
add ebx, dword [ebp - 0x3c]
mov edx, 0x359e3ae0
sub dword [ebp - 0xc], 0xfb561339
mov esi, dword [ebx]
add dword [ebp - 0x34], 0x7044e9ea
add esi, edx
xor dword [ebp - 0x1c], 0xd2f228f6
mov dword [edi], esi
add dword [ebp - 0x1c], ecx
add edi, 4
add ebx, 0xc79aaaec
add ebx, 0x38655518
loop 0x40b2a2
add eax, 0x8393d422
add eax, 0x7c6d5729
xor ebx, ebx
add ebx, eax
add eax, 0xd07e105a
sub eax, 0xd07e1055
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x40df10
Capabilities:
Check if file exists
Create directory

Disassembly:
push esi
mov esi, ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40df1d
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x40df40
cmp ecx, 8
jb 0x40df32
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
pop esi
setne al
ret
cmp ecx, 8
jb 0x40df47
mov esi, dword [esi]
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
test esi, esi
je 0x40dfb0
mov eax, dword [0x4be6ac]
test eax, eax
je 0x40df89
push esi
push 0x4b0948
push 0x4aeee0
push 0x4aeee0
push str.FileUtils
push str.OOBEUtils
push 0x32
call eax
add esp, 0x1c
test esi, esi
sete al
pop esi
ret
mov ecx, dword [0x4be6b0]
test ecx, ecx
je 0x40dfae
mov eax, dword [ecx]
push esi
push 0x4b0948
push str.FileUtils
push 0x4aeee0
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
test esi, esi
sete al
pop esi
ret
Function at 0x414a21
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x46005c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0xc]
push eax
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004367f3
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.0043a2b0
mov eax, dword [ebx + 0x14]
add esp, 0x18
mov dword [ebp - 0x44], esi
mov ecx, ebx
mov dword [ebp - 0x40], 0x440
cmp eax, 8
jb 0x414a72
mov ecx, dword [ebx]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x34], ecx
mov ecx, edi
jb 0x414a7f
mov ecx, dword [edi]
cmp dword [ebp - 8], 6
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], 1
jl 0x414abd
cmp byte [ebp + 0x10], 0
je 0x414abd
mov esi, dword [0x46003c]
mov ecx, esi
push 0x401678
call fcn.00414e34
push 0x4010cc
mov ecx, esi
call fcn.00414e34
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x38], 0x4016bc
cmp dword [edi + 0x14], 8
jb 0x414ac5
mov edi, dword [edi]
cmp eax, 8
jb 0x414acc
mov ebx, dword [ebx]
push edi
push ebx
push 0x4016c8
push dword [0x46003c]
call fcn.00413c6e
add esp, 0x10
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x414b0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0x401720
push dword [0x46003c]
call fcn.00413c6e
add esp, 0xc
mov eax, esi
jmp 0x414b2b
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x414b22
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438c2b
leave
ret 0x10

Function at 0x414e34
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x46005c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ecx]
push esi
mov esi, dword [ebp + 8]
cmp edx, 0xffffffff
je 0x414e7c
mov ecx, esi
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x414e5a
sub ecx, edi
lea eax, [ebp - 8]
push ebx
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00438c2b
leave
ret 4
Function at 0x41ea1c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x46005c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x41ea73
cmp byte [esi + 0x3d], bl
je 0x41ea73
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x41eaac
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, ebx
je 0x41ea84
sub eax, 1
je 0x41ea87
dec eax
sub eax, 1
jne 0x41eaac
mov byte [esi + 0x3d], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438c2b
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x41eaa4
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0043f802
add esp, 0x10
cmp edi, eax
jne 0x41eaac
cmp byte [esi + 0x3d], bl
sete al
jmp 0x41ea75
xor al, al
jmp 0x41ea75

Function at 0x41eab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x46005c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x41eb0b
cmp byte [esi + 0x3e], bl
je 0x41eb0b
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
cmp di, ax
je 0x41eb44
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, ebx
je 0x41eb1c
sub eax, 1
je 0x41eb1f
dec eax
sub eax, 1
jne 0x41eb44
mov byte [esi + 0x3e], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438c2b
leave
ret
mov byte [esi + 0x3e], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x41eb3c
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0043f802
add esp, 0x10
cmp edi, eax
jne 0x41eb44
cmp byte [esi + 0x3e], bl
sete al
jmp 0x41eb0d
xor al, al
jmp 0x41eb0d
Function at 0x424570
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x8a8
mov eax, 0x459bec
call fcn.00438c9e
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x854], edi
push 0x40108c
mov dword [ebp - 4], esi
mov dword [ebp - 0x850], esi
call fcn.00413941
mov dword [ebp - 4], esi
mov dword [ebp - 0x850], 1
mov dword [ebp - 0x84c], esi
call fcn.004366f0
test al, al
je 0x42477e
lea eax, [ebp - 0x84c]
push eax
push 1
push esi
push 0x403fe0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42477e
lea eax, [ebp - 0x818]
mov dword [ebp - 0x814], esi
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x818], 0x800
push eax
lea eax, [ebp - 0x814]
push eax
push esi
push 0x40402c
push dword [ebp - 0x84c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42477e
inc esi
cmp dword [ebp - 0x814], esi
jne 0x42477e
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x830]
call fcn.00413941
push ebx
lea ecx, [ebp - 0x848]
mov dword [ebp - 4], esi
call fcn.00413941
lea eax, [ebp - 0x830]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x884]
push eax
call fcn.004358ff
mov esi, eax
lea eax, [ebp - 0x830]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x86c]
push eax
call fcn.00435380
add esp, 0x10
push 0x40404c
push 0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00424794
push eax
lea ecx, [ebp - 0x89c]
call fcn.0041ca25
mov dword [ebp - 0x850], 3
push esi
lea eax, [ebp - 0x89c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x8b4]
push eax
call fcn.004348b0
add esp, 0xc
mov ecx, edi
push eax
call fcn.00415cc3
lea ecx, [ebp - 0x8b4]
call fcn.00414f1b
lea ecx, [ebp - 0x89c]
call fcn.00414f1b
lea ecx, [ebp - 0x86c]
call fcn.00414f1b
lea ecx, [ebp - 0x884]
mov byte [ebp - 4], 2
call fcn.00414f1b
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x86c]
push eax
call fcn.004358ff
push eax
lea eax, [ebp - 0x884]
mov byte [ebp - 4], 6
push edi
push eax
call fcn.00423e47
add esp, 0x14
mov ecx, edi
push eax
call fcn.00415cc3
lea ecx, [ebp - 0x884]
call fcn.00414f1b
lea ecx, [ebp - 0x86c]
mov byte [ebp - 4], 2
call fcn.00414f1b
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x424753
mov eax, dword [edi]
push ebx
push eax
push 0x404060
push dword [0x46003c]
call fcn.00413c6e
add esp, 0x10
lea ecx, [ebp - 0x848]
call fcn.00414f1b
lea ecx, [ebp - 0x830]
call fcn.00414f1b
push dword [ebp - 0x84c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.00438c4d
ret 8
Function at 0x42c4fc
Capabilities:
Shutdown system

Disassembly:
push 0x24
mov eax, 0x4593c4
call fcn.00438c9e
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x28]
xor eax, eax
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ecx
push ecx
mov ecx, esi
call fcn.00433f6b
xor edi, edi
mov ecx, esi
inc edi
push edi
call fcn.00433e54
push edi
push edi
mov ecx, esi
call fcn.00433e18
push edi
push edi
mov ecx, esi
call fcn.004331db
call fcn.00434790
test al, al
lea eax, [ebp - 0x28]
je 0x42c613
push 0x3f0
push eax
call fcn.00435b36
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
pop ecx
jb 0x42c577
mov eax, dword [ebp - 0x28]
push eax
mov ecx, esi
call fcn.00433791
lea eax, [ebp - 0x28]
push 0x3ee
push eax
call fcn.00435b36
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
pop ecx
jb 0x42c59b
mov eax, dword [ebp - 0x28]
push eax
push edi
mov ecx, esi
call fcn.00433765
push edi
push edi
mov ecx, esi
call fcn.00432819
lea eax, [ebp - 0x28]
push 0x3ed
push eax
call fcn.00435b36
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
pop ecx
jb 0x42c5c9
mov eax, dword [ebp - 0x28]
push eax
push 2
pop ebx
push ebx
mov ecx, esi
call fcn.00433765
push edi
push ebx
mov ecx, esi
call fcn.00433e18
push edi
push ebx
mov ecx, esi
call fcn.00432819
mov ecx, esi
call fcn.00434108
cmp eax, ebx
jne 0x42c669
mov edi, dword [0x46003c]
cmp dword [edi], 0xffffffff
je 0x42c605
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [edi], 0xffffffff
push 0
push ebx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x42c669
push 0x3f1
push eax
call fcn.00435b36
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
pop ecx
jb 0x42c62c
mov eax, dword [ebp - 0x28]
push eax
mov ecx, esi
call fcn.00433791
lea eax, [ebp - 0x28]
push 0x3ea
push eax
call fcn.00435b36
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
pop ecx
jb 0x42c650
mov eax, dword [ebp - 0x28]
push eax
push edi
mov ecx, esi
call fcn.00433765
push edi
push edi
mov ecx, esi
call fcn.00432819
mov ecx, esi
call fcn.00434108
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.004331db
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42c6b1
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
cmp eax, 0x1000
jb 0x42c6a8
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00414eaa
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30]
push eax
push ecx
call fcn.00438c1d
pop ecx
pop ecx
call fcn.00438c4d
ret
Function at 0x4325bc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x46005c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 2
push ebx
mov ebx, ecx
jne 0x4326e8
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x42f
push dword [ebx + 8]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 0
push 0x430
push dword [ebx + 8]
call edi
push eax
call esi
push 0
push 0x42c
push dword [ebx + 8]
call edi
push eax
call esi
push 0
push 0x431
push dword [ebx + 8]
call edi
push eax
call esi
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
push 0x42f
push dword [ebx + 8]
call edi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
push eax
call esi
lea eax, [ebp - 0x24]
push eax
push 0x432
push dword [ebx + 8]
call edi
push eax
call esi
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 8]
call esi
mov edi, dword [ebp - 0x20]
mov ecx, ebx
sub edi, dword [ebp - 0x30]
mov esi, edi
neg esi
push esi
push 0
push 0x432
call fcn.004331f4
push esi
push 0
push 0x433
mov ecx, ebx
call fcn.004331f4
push esi
push 0
push 0x42a
mov ecx, ebx
call fcn.004331f4
push esi
push 0
push 0x42b
mov ecx, ebx
call fcn.004331f4
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cdq
xor eax, edx
push 1
sub eax, edx
sub eax, edi
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00438c2b
leave
ret 4

Function at 0x43299b
Capabilities:
Get graphical window text

Disassembly:
push 0x18
mov eax, 0x45afa6
call fcn.00438c9e
mov eax, dword [ebp + 8]
push 0x40b
push dword [ecx + 8]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
xor esi, esi
mov ebx, eax
push esi
push esi
push 0xe
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
lea esi, [eax + 1]
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.00415001
push dword [ebp - 0x1c]
and dword [ebp - 4], 0
push esi
push 0xd
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
push ebx
call fcn.00414f74
test ebx, ebx
je 0x432a18
mov eax, dword [ebp - 0x14]
sub eax, ebx
and eax, 0xfffffffe
push eax
push ebx
call fcn.00413839
pop ecx
pop ecx
call fcn.00438c4d
ret 4
Function at 0x432e3d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x46005c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, ecx
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push ecx
lea ecx, [edi + 0xc0]
mov dword [edi + 0x84], eax
call fcn.00413b30
push ebx
lea ecx, [edi + 0xd8]
call fcn.00413b30
push esi
push edi
push 0x43286d
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp - 8]
call fcn.00432b99
test al, al
je 0x432fcd
cmp dword [edi + 8], 0
je 0x432fcd
cmp dword [ebx + 0x14], 8
jb 0x432eb0
mov ebx, dword [ebx]
push ebx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebx, dword [ebp - 8]
xor esi, esi
push 0x8000
push esi
push esi
push 1
push 0x6b
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
test eax, eax
je 0x432ee1
push eax
push 0xffffffffffffffde
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetClassLongW]
push 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x42b
push eax
push esi
push dword [edi + 0x14]
mov dword [ebp - 0x28], 0x42a
push dword [edi + 8]
mov dword [ebp - 0x24], 0x42c
mov dword [ebp - 0x20], 0x42d
mov dword [ebp - 0x1c], 0x42f
mov dword [ebp - 0x18], 0x430
mov dword [ebp - 0x14], 0x431
mov dword [ebp - 0x10], 0x433
call fcn.00433bc2
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x42e
push eax
push esi
push dword [edi + 0x18]
mov dword [ebp - 8], 0x432
push dword [edi + 8]
call fcn.00433bc2
add esp, 0x28
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0x434
push dword [edi + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push 0
push eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
push eax
push 1
push 0x6c
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0xf7
push 0x42c
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push 0x434
push dword [edi + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.00433305
push 2
mov ecx, edi
call fcn.00433675
mov al, 1
jmp 0x432fcf
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438c2b
leave
ret 0x18