Function at 0x402e60
Capabilities:
Check if file exists
Create thread
Get file attributes
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x9c54
push dword [0x41f368]
call esi
push 0x9c65
push dword [0x41f368]
mov ebx, eax
call esi
mov edi, eax
test ebx, ebx
je 0x4030cc
test edi, edi
je 0x4030cc
push 0x104
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x402eec
push 0x30
push str.Error
push str.No_DLL_selected
push dword [0x41f368]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403e69
mov esp, ebp
pop ebp
ret
cmp dword [0x6a2d7c], 0
jne 0x402f20
push 0x30
push str.Error
push str.No_target_process_selected
push dword [0x41f368]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403e69
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea eax, [ebp - 0x10c]
push eax
push dword [0x6a2370]
push 0
push 0x400
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x10c], 0x103
je 0x402f7a
push 0x30
push str.Error
push str.Target_process_is_not_running
push dword [0x41f368]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403e69
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402fb7
push 0x30
push str.Error
push str.Selected_DLL_does_not_exist
push dword [0x41f368]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403e69
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402fc0
sub ecx, edx
lea eax, [ebp - 0x108]
add ecx, eax
cmp ecx, eax
jbe 0x402fed
mov al, byte [ecx]
cmp al, 0x5c
je 0x402fec
cmp al, 0x2f
je 0x402fec
dec ecx
lea eax, [ebp - 0x108]
cmp ecx, eax
ja 0x402fd5
jmp 0x402fed
inc ecx
mov edx, dword [0x6a2370]
lea eax, [ebp - 0x10c]
push eax
call fcn.00402130
add esp, 4
test eax, eax
jne 0x403010
push str.DLL_not_currently_loaded_in_process
jmp 0x4030c5
push dword [0x6a2370]
mov esi, dword [0x41e8cc]
push 0
push 0x1fffff
mov dword [ebp - 0x10c], 0
call ebx
mov ebx, eax
test ebx, ebx
je 0x403095
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x40308e
push 0x41bb2c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40308e
push 0
push 0
push esi
push eax
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
je 0x40308e
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x403087
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10c], 0
je 0x4030c0
push str.Successfully_ejected
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403e69
mov esp, ebp
pop ebp
ret
push str.Failed_to_eject
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403e69
mov esp, ebp
pop ebp
ret