Function at 0x42437b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2464
call fcn.00454df0
push ebx
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 8]
lea esi, [esp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
call fcn.00429462
and dword [esp + 0x24], 0
and dword [esp + 0x28], 0
cmp ebx, 2
mov dword [esp + 0x2c], 0x48a854
mov dword [esp + 0x30], edi
jbe 0x4243de
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
call fcn.00412462
cmp eax, 1
jne 0x4243de
mov dword [esp + 0xc], SysReAllocString
mov eax, dword [edi + 4]
mov esi, dword [eax]
lea eax, [esp + 0x450]
push eax
lea eax, [esp + 0x1464]
push eax
lea eax, [esp + 0xc60]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.00412367
pop ecx
push eax
lea edi, [esp + 0x1c80]
call fcn.00424b30
test al, al
jne 0x42443a
mov dword [0x48a85c], 2
lea eax, [esp + 0x24]
call fcn.00423b15
cmp dword [esp + 0x10], 0
jmp 0x424756
mov edi, dword [esp + 0x1c]
push 3
pop esi
cmp edi, esi
je 0x424452
cmp edi, 1
je 0x424452
mov dword [0x48a85c], esi
jmp 0x424427
push edi
mov ebx, 0x48a864
mov eax, 0x48a548
call fcn.00424c2a
test al, al
jne 0x42447d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [0x48a860], eax
mov dword [0x48a85c], 4
jmp 0x424427
cmp edi, esi
je 0x4245eb
cmp edi, 1
jne 0x424497
cmp dword [0x48a82c], 2
je 0x4245eb
xor ebx, ebx
lea esi, [esp + 0x34]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
call fcn.00429489
test al, al
mov eax, dword [esp + 0x3c]
jne 0x4244bf
mov eax, 0x429703
push ebx
push ebx
push edi
lea ecx, [esp + 0x45c]
push ecx
lea ecx, [esp + 0x1470]
push ecx
push dword [esp + 0x60]
lea ecx, [esp + 0xc70]
push ecx
push dword [0x48a864]
call eax
cmp eax, ebx
mov dword [esp + 0x24], eax
jne 0x424527
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov dword [0x48a860], eax
mov dword [0x48a85c], 7
cmp dword [esp + 0x34], ebx
je 0x424515
push dword [esp + 0x34]
call esi
lea eax, [esp + 0x24]
call fcn.00423b15
cmp dword [esp + 0x10], ebx
jmp 0x424671
cmp byte [0x48a7d8], bl
je 0x424536
or dword [esp + 0xc], 2
jmp 0x42453b
or dword [esp + 0xc], 1
push ebx
push dword [esp + 0x10]
lea ecx, [esp + 0x1c70]
push SysReAllocString
push ecx
push eax
lea esi, [esp + 0x54]
call fcn.004294b8
call eax
cmp eax, ebx
mov dword [esp + 0x28], eax
jne 0x42458d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [0x48a85c], 8
cmp dword [esp + 0x40], ebx
mov esi, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov dword [0x48a860], eax
je 0x424509
push dword [esp + 0x40]
call esi
jmp 0x424509
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
push 0x46d578
push ecx
call fcn.00412367
pop ecx
push eax
call fcn.0045288b
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x4245c2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [0x48a85c], 9
jmp 0x424571
cmp dword [esp + 0x40], ebx
je 0x4245d2
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp dword [esp + 0x34], ebx
je 0x4246c1
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
jmp 0x4246c1
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov esi, dword [eax]
push str.Wininet.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x424618
push str.InternetOpenUrlW
push ebx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x424620
mov dword [esp + 0x1c], 0x4353ba
xor eax, eax
push eax
push dword [esp + 0x10]
push eax
push eax
call fcn.00412367
push eax
push dword [0x48a864]
call dword [esp + 0x34]
test eax, eax
mov dword [esp + 0x28], eax
jne 0x424682
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [0x48a85c], 5
test ebx, ebx
mov esi, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov dword [0x48a860], eax
je 0x424663
push ebx
call esi
lea eax, [esp + 0x24]
call fcn.00423b15
cmp dword [esp + 0x10], 0
je 0x424762
push dword [esp + 0x10]
call esi
jmp 0x424762
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
push 0x46d578
push ecx
call fcn.00412367
pop ecx
push eax
call fcn.0045288b
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x4246b4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [0x48a85c], 6
jmp 0x424651
test ebx, ebx
je 0x4246bf
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
xor ebx, ebx
mov dword [esp + 0x20], 1
cmp dword [esp + 0x24], ebx
jne 0x4246df
push dword [esp + 0x28]
call fcn.0042476b
cmp eax, 0xc8
jne 0x424738
lea esi, [esp + 0x10]
call fcn.00429462
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4246f5
mov eax, 0x43b339
lea ecx, [esp + 0x20]
push ecx
push 0x400
lea ecx, [esp + 0x58]
push ecx
push dword [esp + 0x34]
call eax
test eax, eax
je 0x424738
cmp dword [esp + 0x20], ebx
je 0x424742
push edi
push 1
push dword [esp + 0x28]
lea eax, [esp + 0x5c]
push eax
call fcn.00452b74
mov eax, dword [esp + 0x30]
add dword [0x48a858], eax
add esp, 0x10
cmp eax, ebx
jne 0x4246c9
jmp 0x424742
mov dword [0x48a85c], 0xa
push edi
call fcn.00452c68
pop ecx
lea eax, [esp + 0x24]
call fcn.00423b15
cmp dword [esp + 0x10], ebx
je 0x424762
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4