Function at 0x4368cc
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], 0
push 0xc
call fcn.004c461e
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x60f6b1
push ebx
add ebx, 4
push ebx
push 8
call fcn.004c461e
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x60ef31
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.004c461e
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x60ef31
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 0x10
call fcn.004c461e
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], 0x60f48a
push ebx
add ebx, 4
push ebx
push 8
call fcn.004c461e
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 4
push ebx
push 8
call fcn.004c461e
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 4
push ebx
push 0x10
call fcn.004c461e
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.00405017
pop ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_108.0.5359.125_Safari_537.36
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x436a85
push ebx
call fcn.004c4612
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x436a95
push ebx
call fcn.004c4612
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x436ac6
push ebx
call fcn.004c4612
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 1
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x436aef
push eax
mov ebx, eax
call fcn.004010a9
inc eax
push eax
call fcn.004c461e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x436b00
push ebx
call fcn.004c4612
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
xor ecx, ecx
lea eax, [ebp - 0x18]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 3
jg 0x436eba
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
push dword [ebp - 0x10]
push 1
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
push dword [ebp - 4]
lea eax, [ebp - 0x14]
push eax
call fcn.0042025e
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x436b98
push ebx
call fcn.004c4612
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x436ba8
push ebx
call fcn.004c4612
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x436bb8
push ebx
call fcn.004c4612
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x436bc8
push ebx
call fcn.004c4612
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x436bd8
push ebx
call fcn.004c4612
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x436bec
push ebx
call fcn.004c4612
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00436f7f
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x436c32
push ebx
call fcn.004c4612
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x436c42
push ebx
call fcn.004c4612
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x436c55
mov eax, 0x60ef31
push eax
push 1
mov ebx, 0x4c6590
call fcn.004c4630
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x436c7b
push ebx
call fcn.004c4612
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x436c8f
push ebx
call fcn.004c4612
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x18], 2
jne 0x436d45
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, str._https_ftpfile_:____A_Za_z0_9______:_.____A_Za_z0_9_____
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x436cf6
push ebx
call fcn.004c4612
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x436d3c
push ebx
call fcn.004c4612
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
jmp 0x436dd9
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, str._https_ftpfile_:____A_Za_z0_9______:_.____A_Za_z0_9_____
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x436d9e
push ebx
call fcn.004c4612
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x436dd5
push ebx
call fcn.004c4612
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.004010a1
push reloc.WS2_32.dll_connect
push 0
push 0x5ea2c0
push reloc.WS2_32.dll_connect
push 0
push str.amp_
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x436e1a
mov eax, 0x5ea2c0
push eax
push 6
mov ebx, 0x4c5aa0
call fcn.004c4630
add esp, 0x4c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x436e44
push ebx
call fcn.004c4612
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x7f68c4
lea eax, [ebp - 0x14]
push eax
call fcn.0043762b
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x436e6f
push ebx
call fcn.004c4612
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push 0x5ea2c0
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x436eb3
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x436eae
push eax
mov ebx, eax
call fcn.004010a9
inc eax
push eax
call fcn.004c461e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x436f07
pop ebx
pop ecx
jmp 0x436b0b
add esp, 8
push dword [ebp + 8]
call fcn.00438004
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x436ede
push ebx
call fcn.004c4612
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x436f02
push eax
mov ebx, eax
call fcn.004010a9
inc eax
push eax
call fcn.004c461e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x436f07
push eax
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004c4612
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x436f28
push ebx
call fcn.004c4612
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x436f38
push ebx
call fcn.004c4612
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x436f48
push ebx
call fcn.004c4612
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x436f58
push ebx
call fcn.004c4612
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x436f68
push ebx
call fcn.004c4612
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004c4612
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4