Function at 0x4175c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4761d6
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x48b2b0]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x18]
movzx eax, word [esp + 0x16]
movzx ecx, word [esp + 0x14]
push str.httpfilter::addpacket
push edx
movzx edx, word [esp + 0x1a]
push eax
movzx eax, word [esp + 0x1a]
push ecx
movzx ecx, word [esp + 0x1c]
push edx
push eax
push ecx
lea edx, [esp + 0x70]
push str.Time__d__d__d__02d:_02d:_02d___Function__s__r_n
push edx
call fcn.004587de
add esp, 0x24
call fcn.00458100
xor ebx, ebx
cmp dword [0x497a8c], ebx
je 0x417681
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x417661
mov ecx, dword [0x497a90]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x5c]
push 1
push edx
call fcn.00459058
add esp, 0x10
mov eax, dword [0x497a90]
cmp eax, ebx
je 0x417699
push eax
call fcn.00459151
add esp, 4
mov dword [0x497a90], ebx
push ebx
push 0x47a966
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00403510
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov dword [esp + 0x474], ebx
call fcn.00403920
mov dword [esp + 0x468], 0xffffffff
cmp dword [esp + 0x50], 0x10
jb 0x4176ed
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0045850d
add esp, 4
push ebx
push 0x47a966
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00403510
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
push edx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x474], 1
call fcn.00403920
mov dword [esp + 0x468], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x417746
mov eax, dword [esp + 0x20]
push eax
call fcn.0045850d
add esp, 4
push ebx
push 0x47a966
lea ecx, [esi + 0x38]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00403510
mov dword [esi + 0x54], ebx
mov al, byte [edi]
mov cl, 0x54
cmp al, 0x47
jne 0x41777a
cmp byte [edi + 1], 0x45
jne 0x41777a
cmp byte [edi + 2], cl
je 0x41778a
cmp al, 0x50
jne 0x4177b2
cmp byte [edi + 1], 0x4f
jne 0x4177b2
cmp byte [edi + 2], 0x53
jne 0x4177b2
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edi
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
mov ecx, dword [ebp + 0x20]
call fcn.00417840
jmp 0x417812
cmp al, 0x48
jne 0x4177ea
cmp byte [edi + 1], cl
jne 0x4177ea
cmp byte [edi + 2], cl
jne 0x4177ea
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push edi
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.00417cc0
jmp 0x417812
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push edi
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
mov edx, dword [ebp + 0xc]
push eax
mov ecx, esi
call fcn.00418300
mov eax, dword [esp + 8]
call fcn.00418d90
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.004584fe
mov esp, ebp
pop ebp
ret 0x20