Function at 0x10010d10
Capabilities:
Check if file exists
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1d64
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10145188]
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 ebx, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [ebx + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x94]
push edx
call eax
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const]
push str.closebtn
lea ecx, [ebp - 0x94]
call esi
test al, al
je 0x10010d81
mov eax, edi
call fcn.10011310
jmp 0x100110b5
push str.Opt_Send
lea ecx, [ebp - 0x94]
call esi
test al, al
jne 0x10010dd5
push str.Opt_Receive
lea ecx, [ebp - 0x94]
call esi
test al, al
je 0x10010daf
mov eax, edi
call fcn.10011680
jmp 0x100110b5
push str.Btn_History
lea ecx, [ebp - 0x94]
call esi
test al, al
jne 0x10010f66
push str.Btn_BackToMain
lea ecx, [ebp - 0x94]
call esi
test al, al
je 0x10010de1
mov eax, edi
call fcn.10011580
jmp 0x100110b5
push str.delete
lea ecx, [ebp - 0x94]
call esi
test al, al
je 0x10010e04
mov ecx, dword [ebx + 0x108]
mov ebx, edi
call fcn.10012060
jmp 0x100110b5
push str.Btn_AddFile
lea ecx, [ebp - 0x94]
call esi
test al, al
je 0x10010e1f
call fcn.100121e0
jmp 0x100110b5
push str.Btn_Send
lea ecx, [ebp - 0x94]
call esi
test al, al
je 0x10010e3a
call fcn.100123d0
jmp 0x100110b5
push str.Btn_Cancel
lea ecx, [ebp - 0x94]
call esi
test al, al
je 0x10010f0b
cmp byte [edi + 0x60b], 0
jne 0x10010e65
cmp byte [edi + 0x60a], 0
je 0x10010f01
mov esi, dword [sym.imp.DuiLib_u.dll_public:_static_wchar_t_const____cdecl_DuiLib::CPaintManagerUI::GetStringById_wchar_t_const__]
push str.FileSend_9
call esi
add esp, 4
push eax
lea ecx, [ebp - 0x9c]
call dword [0x100ec95c]
mov byte [ebp - 4], 1
cmp dword [edi + 0x668], 0
jbe 0x10010e96
push str.FileSend_105
jmp 0x10010ea9
mov eax, dword [edi + 0x658]
cmp eax, dword [edi + 0x638]
jne 0x10010ebb
push str.FileSend_106
call esi
add esp, 4
push eax
lea ecx, [ebp - 0x9c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov eax, dword [0x101489d4]
call fcn.100c5140
push eax
push ecx
lea edx, [ebp - 0x9c]
mov ecx, esp
mov dword [ebp - 0x98], esp
push edx
call dword [0x100ec964]
call fcn.10011e10
lea ecx, [ebp - 0x9c]
cmp eax, 1
je 0x10010ef7
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
jmp 0x100110b5
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
call fcn.10012570
jmp 0x100110b5
push str.Btn_ClearHistory
lea ecx, [ebp - 0x94]
call esi
test al, al
je 0x10010f72
mov eax, dword [0x101489d4]
call fcn.100c5140
push eax
push str.FileSend_109
call dword [sym.imp.DuiLib_u.dll_public:_static_wchar_t_const____cdecl_DuiLib::CPaintManagerUI::GetStringById_wchar_t_const__]
mov ecx, esp
mov dword [ebp - 0x98], esp
push eax
call dword [0x100ec95c]
call fcn.10011e10
cmp eax, 1
jne 0x100110b5
mov ecx, dword [edi + 0x480]
mov eax, dword [ecx + 0x760]
mov edx, dword [eax + 0x20]
add ecx, 0x760
call edx
mov esi, edi
call fcn.10011710
jmp 0x100110b5
push str.Btn_BeginSubmit
lea ecx, [ebp - 0x94]
call esi
test al, al
je 0x10010f8f
mov ecx, edi
call fcn.10012d00
jmp 0x100110b5
push str.Btn_EndSubmit
lea ecx, [ebp - 0x94]
call esi
test al, al
je 0x1001104f
cmp byte [edi + 0x60b], 0
je 0x10011046
mov esi, dword [sym.imp.DuiLib_u.dll_public:_static_wchar_t_const____cdecl_DuiLib::CPaintManagerUI::GetStringById_wchar_t_const__]
push str.FileSend_9
call esi
add esp, 4
push eax
lea ecx, [ebp - 0x98]
call dword [0x100ec95c]
mov byte [ebp - 4], 2
cmp dword [edi + 0x668], 0
jbe 0x10010fe2
push str.FileSend_105
jmp 0x10010ff5
mov eax, dword [edi + 0x658]
cmp eax, dword [edi + 0x638]
jne 0x10011007
push str.FileSend_106
call esi
add esp, 4
push eax
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov eax, dword [0x101489d4]
call fcn.100c5140
push eax
push ecx
lea eax, [ebp - 0x98]
mov ecx, esp
mov dword [ebp - 0x9c], esp
push eax
call dword [0x100ec964]
call fcn.10011e10
lea ecx, [ebp - 0x98]
cmp eax, 1
jne 0x10010eec
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov ecx, edi
call fcn.10012fd0
jmp 0x100110b5
push str.Btn_Browser
lea ecx, [ebp - 0x94]
call esi
test al, al
je 0x100110b5
lea esi, [edi + 0x6a4]
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x10011074
mov eax, dword [esi]
jmp 0x10011076
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011091
cmp dword [esi + 0x14], ebx
jb 0x10011088
mov esi, dword [esi]
push 5
push 0
push 0
push esi
jmp 0x100110a8
cmp dword [edi + 0x6d4], ebx
lea eax, [edi + 0x6c0]
jb 0x100110a1
mov eax, dword [eax]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
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.100d0962
mov esp, ebp
pop ebp
ret 4