Function at 0x42434a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2464
call fcn.00454dd0
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.00429431
and dword [esp + 0x24], 0
and dword [esp + 0x28], 0
cmp ebx, 2
mov dword [esp + 0x2c], 0x48a854
mov dword [esp + 0x30], edi
jbe 0x4243ad
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
call fcn.00412431
cmp eax, 1
jne 0x4243ad
mov dword [esp + 0xc], bind
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.00412336
pop ecx
push eax
lea edi, [esp + 0x1c80]
call fcn.00424aff
test al, al
jne 0x424409
mov dword [0x48a85c], 2
lea eax, [esp + 0x24]
call fcn.00423ae4
cmp dword [esp + 0x10], 0
jmp 0x424725
mov edi, dword [esp + 0x1c]
push 3
pop esi
cmp edi, esi
je 0x424421
cmp edi, 1
je 0x424421
mov dword [0x48a85c], esi
jmp 0x4243f6
push edi
mov ebx, 0x48a864
mov eax, 0x48a548
call fcn.00424bf9
test al, al
jne 0x42444c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x48a860], eax
mov dword [0x48a85c], 4
jmp 0x4243f6
cmp edi, esi
je 0x4245ba
cmp edi, 1
jne 0x424466
cmp dword [0x48a82c], 2
je 0x4245ba
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.00429458
test al, al
mov eax, dword [esp + 0x3c]
jne 0x42448e
mov eax, 0x4296d2
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 0x4244f6
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 0x4244e4
push dword [esp + 0x34]
call esi
lea eax, [esp + 0x24]
call fcn.00423ae4
cmp dword [esp + 0x10], ebx
jmp 0x424640
cmp byte [0x48a7d8], bl
je 0x424505
or dword [esp + 0xc], 2
jmp 0x42450a
or dword [esp + 0xc], 1
push ebx
push dword [esp + 0x10]
lea ecx, [esp + 0x1c70]
push bind
push ecx
push eax
lea esi, [esp + 0x54]
call fcn.00429487
call eax
cmp eax, ebx
mov dword [esp + 0x28], eax
jne 0x42455c
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 0x4244d8
push dword [esp + 0x40]
call esi
jmp 0x4244d8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
push 0x46d578
push ecx
call fcn.00412336
pop ecx
push eax
call fcn.0045286b
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x424591
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x48a85c], 9
jmp 0x424540
cmp dword [esp + 0x40], ebx
je 0x4245a1
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x34], ebx
je 0x424690
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x424690
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 0x4245e7
push str.InternetOpenUrlW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x4245ef
mov dword [esp + 0x1c], 0x4353a3
xor eax, eax
push eax
push dword [esp + 0x10]
push eax
push eax
call fcn.00412336
push eax
push dword [0x48a864]
call dword [esp + 0x34]
test eax, eax
mov dword [esp + 0x28], eax
jne 0x424651
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 0x424632
push ebx
call esi
lea eax, [esp + 0x24]
call fcn.00423ae4
cmp dword [esp + 0x10], 0
je 0x424731
push dword [esp + 0x10]
call esi
jmp 0x424731
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
push 0x46d578
push ecx
call fcn.00412336
pop ecx
push eax
call fcn.0045286b
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x424683
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x48a85c], 6
jmp 0x424620
test ebx, ebx
je 0x42468e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ebx, ebx
mov dword [esp + 0x20], 1
cmp dword [esp + 0x24], ebx
jne 0x4246ae
push dword [esp + 0x28]
call fcn.0042473a
cmp eax, 0xc8
jne 0x424707
lea esi, [esp + 0x10]
call fcn.00429431
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4246c4
mov eax, 0x43b322
lea ecx, [esp + 0x20]
push ecx
push 0x400
lea ecx, [esp + 0x58]
push ecx
push dword [esp + 0x34]
call eax
test eax, eax
je 0x424707
cmp dword [esp + 0x20], ebx
je 0x424711
push edi
push 1
push dword [esp + 0x28]
lea eax, [esp + 0x5c]
push eax
call fcn.00452b54
mov eax, dword [esp + 0x30]
add dword [0x48a858], eax
add esp, 0x10
cmp eax, ebx
jne 0x424698
jmp 0x424711
mov dword [0x48a85c], 0xa
push edi
call fcn.00452c48
pop ecx
lea eax, [esp + 0x24]
call fcn.00423ae4
cmp dword [esp + 0x10], ebx
je 0x424731
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4