Function at 0x1000310e
Capabilities:
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x2ac
push ebx
push esi
push edi
push str.InternetGetConnectedState
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x3f
xor ebx, ebx
mov byte [ebp - 0x13c], bl
pop ecx
xor eax, eax
lea edi, [ebp - 0x13b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x10003161
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push 0x9c
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.100082d0
add esp, 0xc
push ebx
mov dword [ebp - 0x3c], 0x9c
call esi
test eax, eax
je 0x10003196
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x100031c7
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push ebx
call esi
test eax, eax
je 0x100031d1
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
lea eax, [ebp + 0x68]
push eax
mov dword [ebp + 0x68], ebx
call dword [0x1000a4f8]
test eax, eax
je 0x10003291
test byte [ebp + 0x68], 1
je 0x10003219
push 0x1000931c
lea eax, [ebp - 0x13c]
push 0x10009318
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
call esi
test eax, eax
je 0x10003223
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
test byte [ebp + 0x68], 2
je 0x10003255
push 0x10009314
lea eax, [ebp - 0x13c]
push 0x10009318
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
call esi
test eax, eax
je 0x1000325f
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
test byte [ebp + 0x68], 4
je 0x10003291
push 0x10009310
lea eax, [ebp - 0x13c]
push 0x10009318
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
call esi
test eax, eax
je 0x1000329b
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
lea eax, [ebp + 0x60]
push eax
call fcn.100024a1
pop ecx
push ebx
call esi
test eax, eax
je 0x100032c1
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push str._d:_d:_d:_d:_d:_d:_d:_d:_d:_d:_s:_s:_u:_u
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call esi
test eax, eax
je 0x100032ef
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
cmp byte [ebp + 0x78], bl
mov eax, 0x100092e0
jne 0x10003310
mov eax, 0x100092dc
push dword [ebp + 0x60]
push dword [ebp + 0x64]
push eax
lea eax, [ebp - 0x13c]
push eax
movzx eax, byte [ebp + 0x5e]
push eax
movzx eax, word [ebp + 0x5c]
push eax
movzx eax, word [ebp + 0x5a]
push eax
movzx eax, word [ebp + 0x58]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x240]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [0x1000a3b9]
push dword [0x1000a3bd]
push dword [ebp + 0x74]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x40
push ebx
call esi
test eax, eax
je 0x10003367
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret