Function at 0x436309
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59cd51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x270
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xbc]
push esi
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x18], edi
je 0x436b9c
call fcn.0047e7ed
test eax, eax
je 0x436b9c
cmp dword [0x620660], 5
mov dword [esp + 0x38], edi
jne 0x43637f
mov eax, dword [ebx + 0xcc]
cmp eax, edi
je 0x43637f
push dword [ebp + 0xc]
mov esi, dword [eax]
push ebx
add esi, 4
call fcn.00437d5f
mov ecx, dword [ebx + 0xcc]
push eax
call dword [esi]
mov eax, dword [ebx + 0xbc]
add eax, 0x18
mov dword [esp + 0x40], edi
call fcn.0047c6fd
cmp eax, edi
mov dword [esp + 0x64], eax
jle 0x436bc8
mov dword [esp + 0xc], 1
mov edi, dword [esp + 0xc]
mov eax, dword [ebx + 0xbc]
dec edi
call fcn.0047e9c1
cmp dword [0x62065c], 0
mov edi, eax
mov dword [esp + 0x24], edi
je 0x4363d0
mov eax, dword [ebp + 0xc]
cmp eax, dword [edi + 0x54]
jne 0x436b80
test edi, edi
je 0x436b5b
mov esi, edi
call fcn.0047e3b7
test eax, eax
je 0x436b5b
lea eax, [edi + 0x40]
push eax
push ebx
call fcn.004375c8
test eax, eax
jne 0x4363ff
mov eax, 0x106
jmp 0x436b60
mov eax, dword [edi + 0x44]
sub eax, 0x10
call fcn.00426938
add eax, 0x10
mov dword [esp + 0x20], eax
and dword [esp + 0x284], 0
push eax
push str.CheckInstallCondition_begin:_condition___s
mov esi, 0x6206d8
call fcn.00488528
mov eax, dword [0x61c924]
and dword [esp + 0x1c], 0
pop ecx
pop ecx
mov ecx, 0x61c924
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x28c], 1
push dword [esp + 0x28]
lea eax, [ebx + 0xa4]
push eax
call fcn.0047f6ec
test eax, eax
mov dword [esp + 0x18], eax
push eax
je 0x4364c1
mov edi, dword [esp + 0x24]
push edi
push str.CheckInstallCondition_end:_condition___s__return___d
call fcn.00488528
mov esi, dword [esp + 0x38]
mov eax, dword [0x62065c]
add esp, 0xc
push esi
push dword [esp + 0x18]
lea ecx, [ebx + 4]
push dword [esp + 0x14]
mov dword [ebx + 0x44], eax
push dword [esp + 0x24]
mov eax, dword [ecx]
push 0x1f
call dword [eax + 4]
lea eax, [esi - 0x10]
call fcn.004011c0
or dword [esp + 0x284], 0xffffffff
lea eax, [edi - 0x10]
call fcn.004011c0
jmp 0x436b80
push dword [esp + 0x24]
push str.CheckInstallCondition_end:_condition___s__return___d
call fcn.00488528
xor eax, eax
add esp, 0xc
cmp dword [0x620660], eax
jne 0x43661c
cmp dword [ebx + 0xd4], eax
je 0x43661c
cmp dword [0x62065c], eax
jne 0x43661c
push dword [edi + 0x10]
mov esi, dword [edi + 0x3c]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x38], esi
call fcn.0043972e
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x288], 2
call fcn.00437a8e
test esi, esi
mov dword [esp + 0x1c], eax
jle 0x4365f0
mov eax, dword [edi + 0x28]
sub eax, 0x10
call fcn.00426938
add eax, 0x10
mov dword [esp + 0x14], eax
push eax
lea esi, [esp + 0x74]
mov byte [esp + 0x288], 3
call fcn.00416798
mov byte [esp + 0x284], 4
push dword [eax]
lea eax, [esp + 0x50]
push eax
call fcn.0043238b
lea eax, [esp + 0x74]
mov byte [esp + 0x284], 6
cmp dword [esp + 0x70], eax
je 0x43657e
push dword [esp + 0x70]
call fcn.0049daa8
pop ecx
mov eax, dword [esp + 0x4c]
push dword [eax - 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
je 0x436b97
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push eax
push 0x3ef
mov edi, 0x476
push edi
push dword [ebx + 0xd4]
call esi
push dword [esp + 0x1c]
push 0x3e8
push edi
push dword [ebx + 0xd4]
call esi
push dword [esp + 0x30]
push 0x3e9
push edi
push dword [ebx + 0xd4]
call esi
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov edi, dword [esp + 0x24]
jmp 0x436608
push 0
push 0x3ea
push 0x476
push dword [ebx + 0xd4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [esp + 0x284], 1
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, edi
call fcn.0043858a
test eax, eax
jne 0x4366d6
cmp dword [edi + 0x6c], eax
je 0x4366d6
call fcn.004382f0
test eax, eax
je 0x4366d6
call fcn.00498546
push dword [eax + 0x10]
lea esi, [esp + 0x74]
call fcn.00433627
mov byte [esp + 0x284], 7
push dword [eax]
push edi
call fcn.00430bcb
lea eax, [esp + 0x74]
mov byte [esp + 0x284], 1
cmp dword [esp + 0x70], eax
je 0x43667e
push dword [esp + 0x70]
call fcn.0049daa8
pop ecx
call fcn.00498546
push dword [eax + 0x14]
lea esi, [esp + 0x74]
call fcn.00433627
mov byte [esp + 0x284], 8
push dword [eax]
lea eax, [edi + 4]
push eax
call fcn.00430bcb
lea eax, [esp + 0x74]
mov byte [esp + 0x284], 1
cmp dword [esp + 0x70], eax
je 0x4366be
push dword [esp + 0x70]
call fcn.0049daa8
pop ecx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 1
call fcn.00498546
push eax
call fcn.00498ca4
lea eax, [edi + 0xc]
push dword [eax]
lea esi, [esp + 0x74]
mov dword [esp + 0x18], eax
call fcn.0041d628
mov byte [esp + 0x284], 9
push dword [eax]
lea eax, [esp + 0x14]
push eax
call fcn.0043238b
lea eax, [esp + 0x74]
mov byte [esp + 0x284], 0xb
cmp dword [esp + 0x70], eax
je 0x436718
push dword [esp + 0x70]
call fcn.0049daa8
pop ecx
push 0x5c
lea esi, [esp + 0x14]
call fcn.00432260
mov edx, eax
lea eax, [esp + 0x6c]
push eax
inc edx
mov eax, esi
call fcn.004321b6
lea edi, [ebx + 0xd8]
mov byte [esp + 0x284], 0xc
call fcn.004013bf
mov byte [esp + 0x284], 0xb
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
call fcn.004011c0
mov edi, dword [esp + 0x24]
push dword [edi]
lea esi, [esp + 0x178]
call fcn.0041d628
mov byte [esp + 0x284], 0xd
push dword [eax]
lea eax, [esp + 0x48]
push eax
call fcn.0043238b
lea eax, [esp + 0x178]
mov byte [esp + 0x284], 0xf
cmp dword [esp + 0x174], eax
je 0x4367a4
push dword [esp + 0x174]
call fcn.0049daa8
pop ecx
push dword [edi + 4]
lea esi, [esp + 0x74]
call fcn.0041d628
mov byte [esp + 0x284], 0x10
push dword [eax]
lea eax, [esp + 0x40]
push eax
call fcn.0043238b
lea eax, [esp + 0x74]
mov byte [esp + 0x284], 0x12
cmp dword [esp + 0x70], eax
je 0x4367e0
push dword [esp + 0x70]
call fcn.0049daa8
pop ecx
mov eax, edi
call fcn.0043858a
test eax, eax
jne 0x436ac7
push dword [esp + 0xc]
mov ecx, ebx
push dword [esp + 0x40]
call fcn.00436119
test eax, eax
je 0x436ac7
mov eax, dword [edi + 0x38]
and dword [esp + 0x30], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], 1
push dword [esp + 0x14]
lea eax, [esp + 0x5c]
push eax
call fcn.0048519a
mov esi, eax
lea eax, [esp + 0x70]
push edi
push eax
mov byte [esp + 0x294], 0x13
call fcn.0048519a
mov byte [esp + 0x294], 0x14
push dword [esi]
mov esi, 0x6206d8
push dword [edi + 4]
push dword [eax]
push str._DownloadSinglePacket_begin:_url___s_md5___s_path___s
call fcn.00488528
mov eax, dword [esp + 0x88]
add esp, 0x20
add eax, 0xfffffff0
call fcn.004011c0
mov byte [esp + 0x284], 0x12
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [edi + 0x68]
cmp dword [eax - 0xc], 0
je 0x43689e
push eax
push 0
push 0x479
push dword [ebx + 0xd4]
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [0x620660], 5
jne 0x4368c0
mov ebx, dword [ebx + 0xcc]
test ebx, ebx
je 0x4368c0
inc dword [esp + 0x38]
push dword [esp + 0x38]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
push dword [esp + 0x28]
mov edi, dword [edi + 0x30]
mov ebx, dword [esp + 0x48]
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.00435852
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x1c], edi
je 0x436910
dec dword [esp + 0x34]
je 0x436944
push 0x493e0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x34], ebx
jle 0x436944
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x24]
jmp 0x43681a
mov esi, dword [esp + 0x24]
cmp dword [esi + 0x6c], ebx
je 0x436a4d
call fcn.004382f0
cmp eax, ebx
je 0x436a4d
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 2
call fcn.00498546
push eax
call fcn.00498ca4
jmp 0x436948
mov esi, dword [esp + 0x24]
cmp edi, ebx
je 0x436a4d
push dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x20], edi
call fcn.0048519a
mov edi, eax
lea eax, [esp + 0x68]
push esi
push eax
mov byte [esp + 0x294], 0x15
call fcn.0048519a
mov byte [esp + 0x294], 0x16
push dword [esp + 0x2c]
push dword [edi]
push dword [esi + 4]
mov esi, 0x6206d8
push dword [eax]
push str._DownloadSinglePacket_end:_url___s_md5___s_path___s_errorcode___d
call fcn.00488528
mov eax, dword [esp + 0x84]
add esp, 0x24
add eax, 0xfffffff0
call fcn.004011c0
mov byte [esp + 0x284], 0x12
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
call fcn.004011c0
cmp dword [esp + 0x10], ebx
je 0x4369ce
push dword [esp + 0x10]
call fcn.00437a03
mov edi, dword [ebp + 8]
push ebx
push dword [esp + 0x10]
lea esi, [edi + 4]
push dword [esp + 0x38]
mov eax, dword [esi]
push 2
push 0x28
mov ecx, esi
call dword [eax]
mov eax, dword [0x62065c]
push ebx
push ebx
push dword [esp + 0x14]
mov dword [edi + 0x44], eax
push dword [esp + 0x28]
mov eax, dword [esi]
push 0x1f
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.004011c0
or dword [esp + 0x284], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004011c0
mov ebx, edi
jmp 0x436b80
push dword [esp + 0x14]
lea eax, [esp + 0x60]
push eax
call fcn.0048519a
mov edi, eax
lea eax, [esp + 0x5c]
push esi
push eax
mov byte [esp + 0x294], 0x17
call fcn.0048519a
push ebx
mov byte [esp + 0x298], 0x18
push dword [edi]
push dword [esi + 4]
mov esi, 0x6206d8
push dword [eax]
push str._DownloadSinglePacket_end:_url___s_md5___s_path___s_errorcode___d
call fcn.00488528
mov eax, dword [esp + 0x78]
add esp, 0x24
add eax, 0xfffffff0
call fcn.004011c0
mov byte [esp + 0x284], 0x12
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
call fcn.004011c0
push dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push dword [esp + 0x14]
call fcn.00436074
mov ebx, dword [ebp + 8]
jmp 0x436af8
mov eax, edi
call fcn.0043858a
test eax, eax
jne 0x436af8
cmp dword [edi + 0x6c], eax
je 0x436af8
call fcn.004382f0
test eax, eax
je 0x436af8
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 2
call fcn.00498546
push eax
call fcn.00498ca4
mov eax, dword [0x62065c]
mov dword [ebx + 0x44], eax
xor eax, eax
push eax
push eax
push dword [esp + 0x14]
lea ecx, [ebx + 4]
mov edx, dword [ecx]
push eax
push 0x1f
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
inc dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.004011c0
or dword [esp + 0x284], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
jmp 0x4364b7
mov eax, 0xfd
mov ecx, dword [0x62065c]
push 0
push 0
push dword [esp + 0x14]
mov dword [ebx + 0x44], ecx
push eax
lea ecx, [ebx + 4]
mov edx, dword [ecx]
push 0x1f
mov dword [esp + 0x2c], eax
call dword [edx + 4]
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
dec eax
cmp eax, dword [esp + 0x64]
jl 0x4363a5
xor edi, edi
jmp 0x436bbe
call fcn.004012ce
mov ecx, dword [0x62065c]
push edi
push edi
mov eax, 0xfe
push edi
mov dword [ebx + 0x44], ecx
add ebx, 4
mov edx, dword [ebx]
push eax
push 0x1f
mov ecx, ebx
mov dword [esp + 0x2c], eax
call dword [edx + 4]
cmp dword [esp + 0x40], edi
jle 0x436bc8
xor eax, eax
jmp 0x436bcc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8