Function at 0x422450
Capabilities:
Download url
Receive data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6433e9
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x6bc858]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x6bc858]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x58], ebx
push 8
mov dword [esp + 0xcc], ebx
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x422801
mov dword [esp + 0x58], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x58]
mov dword [ecx], eax
mov esi, 0xf
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0xc8], 1
mov dword [esp + 0x38], ebx
push 8
mov byte [esp + 0xcc], 2
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x4227d8
mov dword [esp + 0x38], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x38]
mov dword [eax], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov esi, edx
mov byte [esp + 0xc8], 3
call fcn.004c4b60
push 9
push str.resource_
mov ecx, esi
call fcn.00412ae0
push str.AppType.xml
mov ecx, esi
push ecx
lea edx, [esp + 0xa0]
push edx
call fcn.0041d670
add esp, 0xc
mov esi, eax
lea edi, [esp + 0x58]
mov byte [esp + 0xc8], 4
call fcn.00419940
mov edi, 0x10
cmp dword [esp + 0xb0], edi
jb 0x422589
mov eax, dword [esp + 0x9c]
push eax
call fcn.005f0cb0
add esp, 4
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
lea ecx, [esp + 0x98]
mov byte [esp + 0xc8], 5
call fcn.0040ed70
mov ecx, dword [esp + 0x98]
push ecx
call fcn.005f0cb0
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x98], ebx
mov byte [esp + 0xc8], 3
call fcn.0040ed70
push str.http:__www.corpcorp.com_appimage
lea ecx, [esp + 0x7c]
call fcn.00412330
push 0xc
push str._AppType.xml
lea ecx, [esp + 0x80]
mov byte [esp + 0xd0], 6
call fcn.00412ae0
lea ebx, [ebx]
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0x42261e
lea ecx, [esp + 0x3c]
call fcn.004c3dc0
test eax, eax
je 0x42263a
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0x422635
lea ecx, [esp + 0x3c]
call fcn.004c4240
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x90], edi
jae 0x42264b
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov ecx, dword [esp + 0x5c]
cmp dword [esp + 0x70], edi
jae 0x422660
lea ecx, [esp + 0x5c]
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x90], edi
jae 0x422671
lea eax, [esp + 0x7c]
push ebx
push ebx
push ecx
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov esi, eax
cmp esi, ebx
jge 0x42268f
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, ebx
jne 0x422610
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x24]
push ebx
push ebx
push 0xfb9
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [esp + 0x90], edi
jb 0x4226c0
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.005f0cb0
add esp, 4
mov esi, 0xf
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
lea ecx, [esp + 0x78]
mov byte [esp + 0xc8], 7
call fcn.0040ed70
mov edx, dword [esp + 0x78]
push edx
call fcn.005f0cb0
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], ebx
mov byte [esp + 0xc8], 3
call fcn.0040ed70
cmp dword [esp + 0x50], edi
jb 0x42271d
mov eax, dword [esp + 0x3c]
push eax
call fcn.005f0cb0
add esp, 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea ecx, [esp + 0x38]
mov byte [esp + 0xc8], 8
call fcn.0040ed70
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005f0cb0
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov byte [esp + 0xc8], 1
call fcn.0040ed70
cmp dword [esp + 0x70], edi
jb 0x42276f
mov edx, dword [esp + 0x5c]
push edx
call fcn.005f0cb0
add esp, 4
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea ecx, [esp + 0x58]
mov dword [esp + 0xc8], 9
call fcn.0040ed70
mov eax, dword [esp + 0x58]
push eax
call fcn.005f0cb0
add esp, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], ebx
mov dword [esp + 0xc8], 0xffffffff
call fcn.0040ed70
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], ebx
call fcn.005f41f0
push 0x6a361c
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], vtable.std::bad_alloc.0
call fcn.006009e0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ebx
call fcn.005f41f0
push 0x6a361c
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], vtable.std::bad_alloc.0
call fcn.006009e0
int3