joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486820
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4ad66c
mov eax, dword fs:[0]
push eax
sub esp, 0xdf8
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0xdf4], eax
push ebp
push esi
push edi
mov eax, dword [0x4c75d0]
xor eax, esp
push eax
lea eax, [esp + 0xe08]
mov dword fs:[0], eax
lea ecx, [esp + 0x1c]
call fcn.00412120
lea ecx, [esp + 0x81c]
mov dword [esp + 0xe10], 0
call fcn.0041b930
push 0
mov byte [esp + 0xe14], 1
call fcn.0047c550
add esp, 4
test eax, eax
je 0x486a1c
mov eax, dword [0x4ee3d4]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x486a1c
mov ecx, dword [0x4ee004]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x486a1c
mov edx, dword [0x4ee3d4]
push edx
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x486a1c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
mov dword [esp + 0x14], 0
test ebp, ebp
je 0x486907
lea edi, [esp + 0x14]
mov ecx, 0xc800
mov edx, ebp
call fcn.0049ed30
test eax, eax
js 0x486907
mov eax, dword [esp + 0x14]
jmp 0x486909
xor eax, eax
push 0
lea ecx, [esp + 0x20]
push ecx
inc eax
push eax
push ebp
lea ecx, [esp + 0x82c]
call fcn.00417ea0
push 0
push 0
push 1
push 0
push 3
lea ecx, [esp + 0x30]
call fcn.00411150
mov edi, eax
test edi, edi
je 0x486a11
push 0
push edi
lea ecx, [esp + 0x24]
call fcn.004110b0
mov edx, dword [edi]
mov eax, dword [0x4ee0bc]
mov edx, dword [edx + 8]
push eax
mov ecx, edi
call edx
mov ecx, dword [0x4ed560]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push ecx
mov ecx, edi
call edx
call fcn.00487d40
test eax, eax
jne 0x48697f
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
jmp 0x486a11
call fcn.00487a00
mov ecx, dword [0x4ee0bc]
mov esi, eax
test ecx, ecx
jne 0x4869c9
push 0x800
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0xe10], 2
test eax, eax
je 0x4869b7
mov ecx, eax
call fcn.00412120
jmp 0x4869b9
xor eax, eax
mov ecx, eax
mov byte [esp + 0xe10], 1
mov dword [0x4ee0bc], ecx
push 1
push esi
push edi
call fcn.00411b90
mov dword [0x4ed548], 1
call fcn.0047f120
mov eax, dword [0x4ee014]
push 0x4e7e
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 9
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, edi
call fcn.004882c0
mov esi, dword [esp + 0x1c]
add esp, 4
test ebp, ebp
je 0x486a1c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x81c]
mov byte [esp + 0xe10], 0
call fcn.0041b6c0
lea ecx, [esp + 0x1c]
mov dword [esp + 0xe10], 0xffffffff
call fcn.00411d50
mov ecx, dword [esp + 0xe08]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xdf4]
xor ecx, esp
call fcn.0042dbe7
add esp, 0xe04
ret
Function at 0x486be0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
call fcn.0047dc80
mov esi, dword [0x4ede8c]
test esi, esi
jne 0x486c8d
mov eax, dword [0x4edd38]
mov ecx, dword [0x4ee004]
push eax
push ecx
mov esi, 0x4ede88
call fcn.00475c50
mov edx, dword [0x4ede8c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4ee024]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, dword [0x4ede8c]
push 0
push eax
or esi, 0xffffffff
call ebx
test eax, eax
je 0x486c48
push esi
push str.Debug_Output
mov esi, eax
call fcn.004639c0
mov esi, eax
mov ecx, dword [0x4ee024]
push 0
push ecx
call ebx
mov edi, eax
test edi, edi
je 0x486c72
mov edx, dword [edi + 0xc]
push 0
push esi
push 0x130c
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, edi
call fcn.00463e00
mov eax, dword [0x4ee0b4]
test eax, eax
je 0x486ca7
mov dword [eax + 4], 0x4ede88
mov dword [eax + 0x6c], 0x4ede88
pop edi
pop esi
pop ebx
ret
mov eax, dword [0x4ee024]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
je 0x486ca7
push esi
mov edi, eax
call fcn.00464680
pop edi
pop esi
pop ebx
ret

Function at 0x4876a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
push ebx
push esi
push edi
call fcn.0047dc80
mov eax, dword [0x4ee01c]
mov esi, dword [0x4ee024]
push eax
mov edi, eax
call dword [sym.imp.USER32.dll_IsWindow]
push 0
test eax, eax
je 0x4876df
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
je 0x4876d8
push edi
mov edi, eax
call fcn.00464680
pop edi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [0x4ee024]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, dword [0x4edd38]
push eax
mov dword [esp + 0x18], 0
xor esi, esi
call ebx
test eax, eax
je 0x48771f
lea ecx, [esp + 0x10]
push ecx
push edi
push 0x4835a0
mov edx, str.Parameter_Comments
mov ecx, 0xa8
mov esi, eax
call fcn.00463b60
mov esi, eax
mov edx, dword [0x4ee024]
push 0
push edx
mov dword [0x4ee01c], esi
call ebx
mov esi, eax
test esi, esi
je 0x4876d8
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
push 0
push eax
push 0x130c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
mov ecx, esi
pop esi
pop ebx
add esp, 8
jmp fcn.00463e00
Function at 0x48a610
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], 0xff
test esi, esi
je 0x48a802
cmp dword [esi + 0x1c], 5
jne 0x48a802
mov eax, dword [0x4ee0bc]
mov ecx, dword [eax + 0x1dc]
add ecx, dword [esi + 0x178]
cmp ecx, dword [0x4edfb4]
jae 0x48a811
mov eax, dword [esp + 0x34]
mov ecx, dword [0x4ee020]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [esp + 0x1c]
push edx
push eax
push 0x1038
push 0xa52
push ecx
mov dword [esp + 0x34], 4
mov dword [esp + 0x30], 0
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x4ed53c]
push 0
test eax, eax
jne 0x48a6ea
mov edx, dword [0x4edd38]
mov eax, dword [0x4ee020]
push edx
push 0xc
push 0xa52
push eax
call edi
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
push ecx
push 0x50000010
push 0
push str.msctls_trackbar32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4ed53c], eax
jmp 0x48a70b
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
sub edx, ecx
push edx
mov edx, dword [esp + 0x24]
sub edi, edx
push edi
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x4ed53c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x17c]
cmp eax, 0x10
je 0x48a733
cmp eax, 0x20
jne 0x48a73b
mov dword [esp + 0x14], 0xffffffff
jmp 0x48a73b
mov dword [esp + 0x14], 0xffff
mov eax, dword [0x4ee0bc]
mov ecx, dword [esi + 0x178]
mov ebp, dword [eax + 0x7d0]
mov edx, dword [eax + 0x7d4]
mov ebx, dword [eax + 0x1dc]
lea edi, [esi + 0x174]
mov esi, dword [edi + 8]
shr esi, 3
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x48a7c0
cmp dword [edi + 0x10], 0
mov eax, dword [edi + 0xc]
jbe 0x48a7c0
push 0
add ebx, ecx
push 0
mov ecx, edi
call fcn.004707c0
add ebx, eax
lea eax, [esi + ebx - 1]
cmp eax, dword [esp + 0x18]
jae 0x48a7c0
push esi
add ebx, ebp
lea ecx, [esp + 0x14]
push ebx
push ecx
call fcn.0042e036
add esp, 0xc
test byte [edi], 2
jne 0x48a7c0
cmp dword [edi + 8], 8
jbe 0x48a7c0
lea edx, [esp + 0x10]
push esi
push edx
call fcn.00475230
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4ed53c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x408
push ecx
call esi
mov edx, dword [esp + 0x10]
mov eax, dword [0x4ed53c]
push edx
push 1
push 0x405
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0042dbe7
add esp, 0x20
ret
mov ecx, dword [0x4ed53c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042dbe7
add esp, 0x20
ret
Function at 0x48f430
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x48f466
cmp ebx, dword [edi + 0x2c]
jne 0x48f466
mov eax, dword [edi]
push 3
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [edi], 0
je 0x48f645
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x48f645
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x48f51a
cmp dword [edi + 0x30], 0
je 0x48f51a
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x50c
push eax
call esi
mov eax, dword [edi + 0x30]
mov edx, dword [esp + 0xc]
mov dword [eax + 0x8c], edx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x90], ecx
mov edx, dword [esp + 0x14]
mov dword [eax + 0x94], edx
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0x1c]
push eax
push 0x50e
push ecx
call esi
mov eax, dword [edi + 0x30]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x98], edx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x9c], ecx
mov edx, dword [esp + 0x20]
mov dword [eax + 0xa0], edx
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push 0x510
push ecx
call esi
fld dword [esp + 8]
mov edx, dword [edi + 0x30]
mov ecx, dword [ebp + 8]
fstp dword [edx + 0xa4]
mov dword [edi + 0x30], ecx
mov eax, dword [ecx + 0x10]
sub eax, 7
je 0x48f530
dec eax
jne 0x48f536
mov eax, dword [ecx + 0x34]
mov dword [edi + 0x20], eax
jmp 0x48f536
mov ecx, dword [ecx + 0x34]
mov dword [edi + 0x20], ecx
mov eax, dword [edi]
lea edx, [ebx + 0x20]
push edx
push eax
mov dword [edi + 0x2c], ebx
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [ebx + 0x1c], 7
jne 0x48f5fb
mov eax, 1
cmp dword [ebx + 0x680], eax
jbe 0x48f5fb
cmp dword [ebx + 0x2a8], eax
jbe 0x48f5fb
mov ecx, edi
call fcn.0048ee00
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 0x8c]
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 0x90]
push 0
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x18], edx
mov edx, dword [edi + 4]
mov eax, dword [eax + 0x94]
push 0x50b
push edx
mov dword [esp + 0x24], eax
call esi
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 0x98]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0x9c]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x24], edx
mov edx, dword [edi + 4]
mov eax, dword [eax + 0xa0]
push 0x50d
push edx
mov dword [esp + 0x30], eax
call esi
mov eax, dword [edi + 0x30]
mov edx, dword [edi + 4]
fld dword [eax + 0xa4]
push 0
fstp dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
push 0x50f
push edx
call esi
jmp 0x48f602
mov ecx, edi
call fcn.0048f0b0
mov ecx, dword [edi]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
movzx ecx, word [esp + 0x30]
movzx edx, word [esp + 0x2c]
shl ecx, 0x10
or ecx, edx
call fcn.0048c270
mov eax, dword [edi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi]
push 3
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret 4
Function at 0x48fb90
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x174
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x170], eax
push ebp
push esi
xor ebp, ebp
xor esi, esi
mov dword [esp + 0xc], ecx
test ebx, ebx
je 0x48fd20
test ecx, ecx
je 0x48fd20
cmp byte [ebx], 0
push edi
je 0x48fd1b
jmp 0x48fbd0
mov edi, dword [esp + 0x184]
cmp ebp, edi
jae 0x48fd13
cmp esi, 0x400
jae 0x48fd1f
mov al, byte [ebx + ebp]
cmp al, 0x24
jne 0x48fd00
cmp byte [ebx + ebp + 1], 0x28
jne 0x48fd00
push 0x64
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0042e03c
add esp, 0xc
lea ecx, [esp + 0x14]
cmp ebp, edi
jae 0x48fd05
mov al, byte [ebx + ebp]
mov byte [ecx], al
inc ecx
inc ebp
cmp al, 0x29
je 0x48fc34
cmp byte [ebx + ebp], 0
jne 0x48fc16
jmp 0x48fd05
mov edi, dword [sym.imp.MSVCR100.dll__stricmp]
lea ecx, [esp + 0x14]
push str.__CurBinPath_
push ecx
call edi
add esp, 8
test eax, eax
jne 0x48fc8f
lea edi, [esp + 0xc]
mov ecx, 0x104
mov edx, 0x4de594
mov dword [esp + 0xc], eax
call fcn.0049ed30
xor edx, edx
test eax, eax
sets dl
push 0x4de594
lea edi, [edx - 1]
mov ecx, dword [esp + 0x14]
and edi, dword [esp + 0x10]
mov eax, 0x400
sub eax, esi
push eax
add ecx, esi
push ecx
call fcn.00401080
add esi, edi
jmp 0x48fd05
lea edx, [esp + 0x14]
push str.__UserFiles_
push edx
call edi
add esp, 8
test eax, eax
jne 0x48fd05
lea eax, [esp + 0x78]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push str.TunerPro_Files_
lea ecx, [esp + 0x7c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edi, [esp + 0xc]
mov ecx, 0x104
lea edx, [esp + 0x78]
mov dword [esp + 0xc], 0
call fcn.0049ed30
xor ecx, ecx
test eax, eax
sets cl
lea edx, [esp + 0x78]
push edx
lea edi, [ecx - 1]
jmp 0x48fc73
mov byte [ecx + esi], al
inc esi
inc ebp
cmp byte [ebx + ebp], 0
mov ecx, dword [esp + 0x10]
jne 0x48fbd0
cmp esi, 0x400
jae 0x48fd1f
mov byte [ecx + esi], 0
pop edi
mov ecx, dword [esp + 0x178]
pop esi
pop ebp
xor ecx, esp
call fcn.0042dbe7
add esp, 0x174
ret
Function at 0x48fd40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xa30
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0xa2c], eax
mov eax, dword [esp + 0xa34]
push ebx
push esi
cmp eax, 0x19
jle 0x48fd7b
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0xa2c]
xor ecx, esp
call fcn.0042dbe7
add esp, 0xa30
ret
imul eax, eax, 0x56e
cmp byte [eax + 0x4e4ae8], 0
lea esi, [eax + 0x4e4ae8]
je 0x48fd62
lea ebx, [eax + 0x4e4bec]
push 0x400
lea ecx, [esp + 0x12c]
call fcn.0048fb90
add esp, 4
lea eax, [esp + 0x128]
push eax
push esi
push str.__s___s
lea ecx, [esp + 0x534]
push 0x504
push ecx
call fcn.004010b0
add esp, 0x14
push str.__CurBinPath_
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x48fdea
call fcn.004a4c80
test eax, eax
jne 0x48fd62
push 0x40
lea edx, [esp + 0x20]
push 0
push edx
call fcn.0042e03c
add esp, 0xc
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x548]
push edx
push 0
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x48fe99
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
sub ecx, 2
je 0x48fe6a
push eax
push str.Could_not_launch_tool_Error__.4X.
lea eax, [esp + 0x68]
push 0xc8
push eax
call fcn.004010b0
add esp, 0x10
jmp 0x48fe81
push str.Could_not_launch_tool_Invalid_tool_file_path.
lea ecx, [esp + 0x64]
push 0xc8
push ecx
call fcn.004010b0
add esp, 0xc
mov eax, dword [0x4ee004]
push 0x10
push str.Launch_failure
lea edx, [esp + 0x68]
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0xa34]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0042dbe7
add esp, 0xa30
ret

Function at 0x48fec0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
mov dword [0x4dfce4], 2
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x48ff14
mov ecx, dword [0x4ee010]
push 0x30
push str.Error
push str.Could_not_save_Layout
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ecx
ret
push 0
lea edx, [esp + 8]
push edx
push 0x4218
push 0x4dfce4
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ecx
ret
Function at 0x490b30
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push esi
push 0
push 0x80
push 4
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x490b7e
mov ecx, dword [0x4ee010]
push 0x30
push str.Error
push str.Could_not_open_Layout
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
add esp, 8
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x4218
je 0x490bb8
mov edx, dword [0x4ee010]
push 0x30
push str.Layout_could_not_be_opened
push str.Layout_file_invalid_or_incorrect_version
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
add esp, 8
ret
push 0
lea eax, [esp + 0xc]
push eax
push 0x4218
push 0x4dfce4
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4dfce4], 2
jne 0x490bf1
mov ecx, 0x4dfce4
call fcn.004903f0
xor eax, eax
pop esi
add esp, 8
ret
push 0x4218
push 0
push 0x4dfce4
call fcn.0042e03c
mov ecx, dword [0x4ee004]
add esp, 0xc
push 0x30
push str.Bin_Stacker_Splitter_Layout_Error
push str.Incompatible_Layout_version
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x491680
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], ebx
cmp ebp, ebx
je 0x491709
cmp dword [esp + 0x14], ebx
jbe 0x491709
push esi
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4916ff
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esp + 0x28]
push edx
push esi
call edi
push ebx
lea eax, [esp + 0x1c]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
call edi
mov eax, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x1c]
push edx
lea eax, [eax + eax*2]
add eax, eax
push eax
push ebp
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
pop ecx
ret
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x491710
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4917c6
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [esp + 0x18]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push esi
call ebp
push ebx
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x28]
push ecx
push esi
call ebp
mov edi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4917bb
xor ecx, ecx
mov edx, 6
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042dbdc
add esp, 4
mov ebx, eax
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax*2]
add ecx, ecx
push ecx
push ebx
push esi
call ebp
mov edi, eax
test edi, edi
je 0x4917c6
mov eax, dword [esp + 0x10]
lea edx, [eax + eax*2]
add edx, edx
cmp dword [esp + 0x14], edx
jne 0x4917c6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x4917f1
mov esi, 0x80004005
test ebx, ebx
je 0x4917d9
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4917e7
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
test eax, eax
je 0x4917cb
mov dword [eax], ebx
jmp 0x4917d9
Function at 0x4948f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ad0b4
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4c75d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esi], vtable.CTableEditor.0
lea eax, [esi + 0x60]
mov edx, 0xff
push eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x4c], 0xff0000
mov dword [esi + 0x5c], edx
call fcn.004759d0
mov edx, dword [esi + 0x4c]
lea ecx, [esi + 0x50]
push ecx
call fcn.004759d0
fldz
mov edx, dword [esp + 0x2c]
fstp dword [esi + 0x44]
fld dword [0x4bf0b8]
mov eax, dword [esp + 0x28]
fstp dword [esi + 0x48]
add esp, 8
mov dword [esi + 0x38], ebx
mov dword [esi + 0x10], 7
mov dword [esi + 0x28], edx
mov dword [esi + 0x20], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0xc4], edi
mov ecx, dword [ebx + 0x548]
mov dword [esi + 0xa8], ecx
mov edx, dword [ebx + 0x920]
mov dword [esi + 0xac], edx
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov ecx, esi
mov dword [esi + 0xc0], edi
call fcn.00494770
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc
Function at 0x4951b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
push 0xffffffffffffffff
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 0
push 0
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 0
push 0
push 0
push 1
mov ecx, esi
call edx
mov eax, dword [esi + 0x34]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x560
push eax
call edi
cmp dword [esi + 0x30], 0
je 0x4952a5
mov dword [0x4edfa0], 1
call fcn.0047f120
cmp dword [0x4ddb08], 0
je 0x495229
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
push ecx
mov ecx, dword [esi + 0x38]
push edx
call fcn.0047e910
add esp, 8
mov eax, dword [esi + 0x34]
push 1
push 0
push 0x53b
push eax
call edi
push 0
mov eax, esi
call fcn.00494d30
push 0
call fcn.0049c800
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x144]
push 0
push eax
mov dword [esp + 0x10], ecx
call fcn.0040fb40
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
lea eax, [ecx + 0xc]
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
add esp, 8
push eax
mov dword [eax], ecx
mov eax, dword [ecx + 8]
push 0x491e80
lea edx, [esp + 0x10]
push eax
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], 0xd
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], 1
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx + 0x44]
and edx, 1
cmp dl, 1
jne 0x4952bc
cmp dword [0x4dd270], 0
jne 0x4952c5
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
mov ecx, esi
call edx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x497420
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4acaf5
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4c75d0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], eax
mov dword [esp + 0x10], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x34], ecx
mov dword [esi], vtable.CScalarEditor.0
mov dword [esi + 0x10], 5
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov ecx, dword [ecx + 0x1a4]
mov dword [esi + 0x38], ecx
mov ecx, esi
call fcn.00497060
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 8