joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42aed0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ed14
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 0x34], esi
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], eax
mov word [esi + 0x18], ax
mov byte [ebp - 4], 1
lea ebx, [esi + 0x30]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], eax
mov word [ebx], ax
mov byte [ebp - 4], 2
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x6c], 7
mov dword [esi + 0x68], eax
mov word [esi + 0x58], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x84], 7
mov dword [esi + 0x80], eax
mov word [esi + 0x70], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x9c], 7
mov dword [esi + 0x98], eax
mov word [esi + 0x88], ax
mov byte [ebp - 4], 5
mov dword [esi + 0xb4], 7
mov dword [esi + 0xb0], eax
mov word [esi + 0xa0], ax
mov byte [ebp - 4], 6
mov dword [esi + 0xcc], 7
mov dword [esi + 0xc8], eax
mov word [esi + 0xb8], ax
mov byte [ebp - 4], 7
mov dword [esi + 0xe4], 7
mov dword [esi + 0xe0], eax
mov word [esi + 0xd0], ax
mov byte [ebp - 4], 8
mov byte [esi + 0xe8], 1
cmp dword [edi + 0x14], 8
jb 0x42affb
mov eax, dword [edi]
jmp 0x42affd
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b082
cmp esi, edi
je 0x42b018
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
call fcn.00406ac0
mov eax, dword [ebp - 0x2c]
cmp ebx, eax
je 0x42b02b
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00406ac0
cmp dword [edi + 0x14], 8
jb 0x42b035
mov eax, dword [edi]
jmp 0x42b037
mov eax, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00425790
add esp, 8
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 0
je 0x42b057
push edi
lea ecx, [esi + 0x48]
call fcn.00433200
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x42b070
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407220
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 8
Function at 0x42b1e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56edee
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5fc150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ebp - 4], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x14], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax], vtable.ListView.0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov byte [ebp - 4], 2
mov dword [ecx + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4307d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f8a8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0040baa0
cmp dword [eax + 0x234d0], 7
jg 0x43080f
xor al, al
jmp 0x430881
cmp dword [edi + 0x64], 8
lea esi, [edi + 0x50]
jb 0x43081c
mov eax, dword [esi]
jmp 0x43081e
mov eax, esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
je 0x43080b
add edi, 0x38
cmp dword [edi + 0x14], 8
jb 0x430838
mov eax, dword [edi]
jmp 0x43083a
mov eax, edi
push eax
call ebx
test eax, eax
je 0x43080b
lea ecx, [ebp - 0x80]
call fcn.00402c40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x80]
push 2
push esi
call fcn.00406d80
test al, al
jne 0x430863
xor bl, bl
jmp 0x430870
push 1
push edi
lea ecx, [ebp - 0x80]
call fcn.00406d80
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.0042c6c0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret

Function at 0x433200
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
cmp dword [esi + 0x10], 0
je 0x4332c6
cmp dword [esi + 0x14], 8
jb 0x433221
mov eax, dword [esi]
jmp 0x433223
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4332c6
cmp dword [esi + 0x14], 8
mov dword [ebp + 8], 0
jb 0x433243
mov eax, dword [esi]
jmp 0x433245
mov eax, esi
lea ecx, [ebp + 8]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4332c6
push edi
push eax
call fcn.0052bd85
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 8
jb 0x43326a
mov esi, dword [esi]
push edi
push dword [ebp - 0xc]
push dword [ebp + 8]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push 0x588408
push edi
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 4], 0
je 0x4332bc
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + 0xa]
mov dword [ebx], eax
movzx eax, word [ecx + 8]
mov dword [ebx + 4], eax
movzx eax, word [ecx + 0xe]
mov dword [ebx + 8], eax
movzx eax, word [ecx + 0xc]
mov dword [ebx + 0xc], eax
push edi
call fcn.0052bd8e
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x434380
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56fee8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5fc150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
call fcn.004307d0
test al, al
je 0x43451b
mov byte [ebp - 0x34], 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.0042ba70
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
lea eax, [ebx + 0x50]
cmp dword [eax + 0x14], 8
jb 0x4343ec
mov eax, dword [eax]
push 0x40
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x43441b
push 0x100
push 0x65
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x43443b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0042be60
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x434414
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
lea ecx, [edi + 1]
push ecx
call fcn.0052bd85
mov dword [ebp - 0x18], eax
push edi
push esi
mov esi, eax
push esi
call fcn.00543aa0
mov byte [esi + edi], 0
mov ecx, esp
mov dword [ebp - 0x18], esp
sub esp, 0x28
mov dword [ebp - 0x20], esp
mov eax, esp
mov dword [ebp - 0x24], eax
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
push esi
push ecx
mov byte [ebp - 4], 2
call fcn.0042a550
add esp, 0x30
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.0042caa0
push esi
call fcn.0052bd8e
lea eax, [ebp - 0x34]
push eax
mov esi, dword [ebp - 0x1c]
lea eax, [esi + 0x98]
push eax
call fcn.004308a0
add esp, 0xc
mov ecx, esi
call fcn.00430f70
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0042be60
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4347a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ff31
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5fc150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], vtable.StaticDialog.0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edi], vtable.DockingCont.0
mov dword [edi + 0x4c], 7
mov dword [edi + 0x48], 0
mov word [edi + 0x38], ax
mov byte [ebp - 4], 1
mov dword [edi + 0x98], 0x12
mov dword [edi + 0x9c], 2
mov dword [edi + 0xa0], 3
mov dword [edi + 0xa4], 3
mov dword [edi + 0xb0], eax
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], eax
mov byte [ebp - 4], 2
mov dword [edi + 0x58], eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x50], eax
mov byte [edi + 0x24], al
mov dword [edi + 0x34], 1
mov dword [edi + 0x70], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x80], eax
mov dword [edi + 0x7c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x8c], eax
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], 2
mov dword [edi + 0x6c], 1
mov eax, dword [edi + 0xb0]
mov dword [edi + 0xb4], eax
call fcn.0040baa0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [eax + 0x10]
push dword [edi + 0x98]
call esi
mov dword [edi + 0x98], eax
call fcn.0040baa0
push 0x60
push dword [eax + 0x10]
push dword [edi + 0x9c]
call esi
mov dword [edi + 0x9c], eax
call fcn.0040baa0
push 0x60
push dword [eax + 0xc]
push dword [edi + 0xa0]
call esi
mov dword [edi + 0xa0], eax
call fcn.0040baa0
push 0x60
push dword [eax + 0x10]
push dword [edi + 0xa4]
call esi
mov dword [edi + 0xa4], eax
call fcn.0040baa0
push 0x60
push dword [eax + 0xc]
push 0xc
call esi
mov dword [edi + 0xa8], eax
call fcn.0040baa0
push 0x60
push dword [eax + 0x10]
push 0xc
call esi
mov dword [edi + 0xac], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x434b60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor esi, esi
mov edi, ecx
push esi
push esi
push 0x1304
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
jle 0x434bf3
xor eax, eax
mov dword [ebp - 0x1c], 0
push esi
mov ecx, edi
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
mov dword [ebp - 4], eax
call fcn.00436bc0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 8
push eax
push esi
push 0x133c
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 4], 0
je 0x434bea
push edi
push 0
push 0x5001
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x434be9
push 1
push dword [ebp - 4]
mov ecx, edi
call fcn.004356b0
jmp 0x434bea
inc esi
sub ebx, 1
jne 0x434b83
test esi, esi
jne 0x434c5f
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x34]
call eax
test al, al
jne 0x434c45
mov eax, dword [edi]
mov ecx, edi
push 1
push 0
push 0x8b
call dword [eax + 0x30]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x40000000
push 0xfffffffffffffff0
push dword [edi + 0xc]
mov byte [edi + 0x24], 0
call esi
push 0
push 0xffffffffffffffec
push dword [edi + 0xc]
call esi
push 5
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [edi + 0x30], eax
push 0
push 0
mov ecx, edi
call fcn.004e92f0
push 0
push 0
push 5
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436f20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 5
jne 0x436f35
push dword [ebp + 8]
call fcn.00437040
pop ebp
ret 8
mov dword [ebp + 0xc], 1
pop ebp
jmp fcn.004356b0

Function at 0x437040
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
push edi
push eax
mov edi, ecx
mov dword [ebp - 0x20], 0
push eax
push 0x1304
mov dword [ebp - 0x1c], eax
push dword [edi + 0x2c]
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
call ebx
mov dword [ebp - 4], eax
test eax, eax
jle 0x4370b7
push 0
push 0
push 0x130b
push dword [edi + 0x2c]
call ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 8
push ecx
push eax
push 0x133c
push dword [edi + 0x2c]
call ebx
mov eax, dword [ebp - 8]
test eax, eax
je 0x437180
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov esi, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.00436b30
mov dword [ebp + 8], eax
mov dword [ebp - 0x20], 8
mov dword [ebp - 8], esi
cmp eax, 0xffffffff
jne 0x4370ea
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x20]
push eax
push esi
push 0x133e
push dword [edi + 0x2c]
call ebx
push esi
jmp 0x4370fc
lea ecx, [ebp - 0x20]
push ecx
push eax
push 0x133d
push dword [edi + 0x2c]
call ebx
push dword [ebp + 8]
mov ecx, edi
call fcn.00436bc0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x2c]
call eax
test al, al
jne 0x437178
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x34]
call eax
test al, al
jne 0x437162
mov eax, dword [edi]
mov ecx, edi
push 1
push 0
push 0x8b
call dword [eax + 0x30]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x40000000
push 0xfffffffffffffff0
push dword [edi + 0xc]
mov byte [edi + 0x24], 0
call esi
push 0
push 0xffffffffffffffec
push dword [edi + 0xc]
call esi
push 5
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [edi + 0x30], eax
push 0
push 1
mov ecx, edi
call fcn.004e92f0
push 0
push 0
push 5
push dword [edi + 8]
call ebx
mov ecx, edi
call fcn.004359c0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4396b0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
cmp edi, 0x200
ja 0x43975d
je 0x4396f3
mov eax, edi
sub eax, 0xa0
je 0x4396f3
sub eax, 2
je 0x43976f
jmp 0x439807
cmp dword [esi + 0x14], 1
jne 0x439807
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test byte [esi + 0x20], 2
mov eax, dword [ebp - 0x108]
je 0x439725
mov ecx, dword [esi + 0x1c]
cmp ecx, eax
je 0x439725
push dword [esi + 0xc]
sub ecx, eax
push ecx
jmp 0x439738
mov edx, dword [esi + 0x18]
mov ecx, dword [ebp - 0x10c]
cmp edx, ecx
je 0x439752
push dword [esi + 0xc]
sub edx, ecx
push edx
push 0x500b
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x108]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
jmp 0x439807
mov eax, edi
sub eax, 0x201
je 0x439798
sub eax, 1
jne 0x439807
mov eax, dword [0x60fc24]
test eax, eax
je 0x43978f
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [0x60fc24], 0
mov dword [esi + 0x14], 0
jmp 0x439807
push 0
push dword [esi + 4]
mov dword [0x60fc20], ebx
push 0x439460
push 0xe
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x60fc24], eax
test eax, eax
jne 0x4397ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x104]
push 0x594514
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x104]
push 0x10
push str.SetWindowsHookEx_MOUSE__failed_on_runProc
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x439807
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetCapture]
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [esi + 0x14], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43b340
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5703c3
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
push 0x104
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x240], 0
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push ebx
call edi
push 0
mov esi, eax
push esi
push 0x149
push ebx
call edi
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052bd85
add esp, 4
mov dword [ebp - 0x234], eax
push eax
push esi
push 0x148
push ebx
call edi
mov edi, dword [ebp - 0x234]
mov esi, edi
cmp word [edi], 0x2e
je 0x43b40d
add esi, 2
cmp word [esi], 0x2e
jne 0x43b404
add esi, 2
mov eax, esi
cmp word [esi], 0x3b
je 0x43b427
cmp word [eax], 0x29
je 0x43b427
add eax, 2
cmp word [eax], 0x3b
jne 0x43b418
xor ecx, ecx
mov word [eax], cx
cmp word [esi], 0x2a
jne 0x43b437
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0x218], cx
je 0x43b4f4
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x234], esp
push esi
call fcn.004029a0
mov dword [ebp - 4], 1
sub esp, 0x18
lea eax, [ebp - 0x218]
mov dword [ebp - 0x248], esp
mov ecx, esp
push eax
call fcn.004029a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x230]
push eax
mov byte [ebp - 4], 0
call fcn.0043b570
add esp, 0x38
mov dword [ebp - 4], 3
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x43b4a8
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x238]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x43b4d7
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov ebx, dword [ebp - 0x23c]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp word [esi], ax
jne 0x43b516
xor ecx, ecx
jmp 0x43b52f
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x43b520
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b520
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.00406c80
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x240], 1
call fcn.0052bd8e
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
Function at 0x43bab0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5704b1
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x26c], esi
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
call fcn.0040baa0
mov edi, eax
lea ecx, [edi + 0x233f8]
cmp dword [ecx + 0x14], 8
jb 0x43bb10
mov ecx, dword [ecx]
mov dword [esi + 0x1080], ecx
or dword [esi + 0x1088], 0x1000
mov al, byte [edi + 0x71d]
test al, al
jne 0x43bb3e
or dword [esi + 0x1088], 0x120
mov dword [esi + 0x1098], 0x43b270
mov dword [ebp - 0x268], 0
mov dword [ebp - 4], 0
lea eax, [esi + 0x1054]
push eax
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
neg eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0x268], eax
cmp dword [edi + 0x2cc], 1
jne 0x43bb91
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call fcn.004ba8d0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret

Function at 0x43bcc0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570501
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x26c], esi
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
call fcn.0040baa0
mov edi, eax
lea ecx, [edi + 0x233f8]
cmp dword [ecx + 0x14], 8
jb 0x43bd20
mov ecx, dword [ecx]
mov dword [esi + 0x1080], ecx
or dword [esi + 0x1088], 0x800006
mov al, byte [edi + 0x71d]
test al, al
jne 0x43bd4e
or dword [esi + 0x1088], 0x120
mov dword [esi + 0x1098], 0x43b270
mov dword [ebp - 0x268], 0
mov dword [ebp - 4], 0
lea eax, [esi + 0x1054]
push eax
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
neg eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0x268], eax
cmp dword [edi + 0x2cc], 1
jne 0x43bda1
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call fcn.004ba8d0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret