Function at 0x439670
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x678
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x674], eax
mov eax, dword [esp + 0x67c]
push ebx
push ebp
mov ebp, dword [esp + 0x688]
push esi
push edi
push 0x772
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
push 0
push 9
push 0x110a
push edi
call ebx
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
jne 0x4396d4
push eax
push eax
push 0x110a
push edi
call ebx
mov esi, eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x50], 2
push eax
push 0
push 0x110c
push edi
mov dword [esp + 0x64], esi
call ebx
mov eax, dword [esp + 0x68]
cmp eax, 6
je 0x43970d
cmp eax, 8
je 0x43970d
push 0
push 0
push 0x110a
push edi
call ebx
mov dword [esp + 0x14], eax
cmp dword [esp + 0x694], 0
jne 0x4397ac
push 0x104
lea eax, [esp + 0x384]
push eax
push 0x76c
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
push 0
push 0
lea eax, [esp + 0x288]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x390]
push eax
call fcn.00444a33
add esp, 0x14
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add esi, eax
lea eax, [esp + 0x380]
push esi
push eax
push ebp
call fcn.004446e0
add esp, 0xc
test eax, eax
jne 0x4397ac
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + ebp]
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, esi
push eax
jmp 0x4397ad
push ebp
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x7c]
push eax
call esi
lea eax, [esp + 0x17c]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0043ec80
add esp, 8
lea eax, [esp + 0x17c]
push eax
push 0
push 0
push 0x110a
push edi
call ebx
push eax
push edi
call fcn.0043b150
add esp, 0xc
test eax, eax
je 0x43982d
lea eax, [esp + 0x17c]
push eax
lea eax, [esp + 0x488]
push 0x458408
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x484]
push 0
push 0x45353c
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4398fa
mov eax, dword [esp + 0x14]
push 4
push str.http
push ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0xffff0002
mov dword [esp + 0x30], 0x27
call fcn.004446e0
add esp, 0xc
test eax, eax
je 0x43988a
push 3
push 0x45428c
push ebp
call fcn.004446e0
add esp, 0xc
test eax, eax
je 0x43988a
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x43988a
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], 3
jmp 0x43989a
mov dword [esp + 0x3c], 4
mov dword [esp + 0x40], 5
lea eax, [esp + 0x17c]
push 3
mov dword [esp + 0x38], eax
lea eax, [esp + 0x7c]
push 0x45428c
push eax
call fcn.004446e0
add esp, 0xc
test eax, eax
jne 0x4398d8
push 0x104
call fcn.0044419d
add esp, 4
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x78]
push ecx
push eax
call esi
jmp 0x4398e0
mov dword [esp + 0x48], 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0x1100
push edi
call ebx
push eax
push 0
push 0x1114
push edi
call ebx
mov ecx, dword [esp + 0x684]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x678
ret