Function at 0x10e324d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x111121c]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push edi
mov edi, dword [0x1113524]
mov ebx, ecx
push 0x9d93
push dword [ebx]
mov dword [ebp - 4], eax
call esi
test eax, eax
je 0x10e3283
or edi, 2
jmp 0x10e3286
and edi, 0xfffffffd
push 0x9d9f
push dword [ebx]
call esi
test eax, eax
je 0x10e3298
and edi, 0xfffffffb
jmp 0x10e329b
or edi, 4
push 0x9db0
push dword [ebx]
call esi
test eax, eax
je 0x10e32b0
or edi, 0x100
jmp 0x10e32b6
and edi, 0xfffffeff
push 0x9d99
push dword [ebx]
call esi
test eax, eax
je 0x10e32cb
or edi, 0x200
jmp 0x10e32d1
and edi, 0xfffffdff
push 0x9e13
push dword [ebx]
call esi
test eax, eax
je 0x10e32e3
and edi, 0xfffffff7
jmp 0x10e32e6
or edi, 8
push 0xf003f
push 0
push reloc.WSOCK32.dll_accept
push 0x1024250
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x41c], edi
call fcn.01064063
push 0
mov edi, 0x1024408
push edi
lea ecx, [ebp - 0x43c]
call fcn.01063ebe
push 0x9e6f
push dword [ebx]
mov dword [ebp - 0x420], eax
call esi
cmp dword [ebp - 0x420], eax
jne 0x10e334c
xor eax, eax
cmp dword [ebp - 0x420], eax
push 4
sete al
lea ecx, [ebp - 0x43c]
push eax
push edi
call fcn.01063d70
lea ecx, [ebp - 0x43c]
call fcn.0106409d
mov ecx, dword [0x1112f40]
and dword [ebp - 0x418], 0
lea eax, [ebp - 0x418]
push eax
call fcn.0103ef31
test eax, eax
jl 0x10e341a
push 0x9dc6
push dword [ebx]
mov word [ebp - 0x430], 0xb
call esi
neg eax
sbb eax, eax
xor ecx, ecx
cmp ax, 0xffff
sete cl
mov word [ebp - 0x428], ax
cmp dword [ebx + 8], ecx
je 0x10e33c6
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x430]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xb
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x58]
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0
push 0
push 0x9dc8
push dword [ebx]
mov word [ebp - 0x430], 3
call dword [sym.imp.USER32.dll_GetDlgItemInt]
cmp dword [ebx + 4], eax
mov dword [ebp - 0x428], eax
je 0x10e340e
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x430]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xc
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x58]
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, 0xa1ca
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x10e350e
and word [ebp - 0x20c], 0
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
test eax, eax
jbe 0x10e350e
push 0x104
lea eax, [ebp - 0x414]
push eax
call fcn.010e2c60
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10e350e
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10e34f1
test al, 0x10
je 0x10e34f1
push 0xf003f
push 1
push reloc.WSOCK32.dll_accept
push 0x1024250
lea ecx, [ebp - 0x43c]
call fcn.01064063
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x1024468
lea ecx, [ebp - 0x43c]
call fcn.01063dab
lea ecx, [ebp - 0x43c]
call fcn.0106409d
jmp 0x10e350e
xor edi, edi
push edi
push edi
push 0x30
push 0x9ee9
push dword [ebx]
call fcn.01062b69
push 1
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.01083f22
mov ecx, eax
call fcn.010831b4
test al, al
je 0x10e3539
push 0x9e15
push dword [ebx]
call esi
test eax, eax
setne al
push eax
call fcn.01083f22
mov ecx, eax
call fcn.01083951
push dword [ebp - 0x41c]
mov ecx, dword [0x1113528]
call fcn.01050670
mov ecx, dword [0x1113528]
call fcn.01055344
mov ecx, dword [ebp - 4]
call fcn.0105ec09
pop edi
pop esi
pop ebx
leave
ret