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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59bc14
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 0x437130
call fcn.0047e22c
test eax, eax
je 0x437130
cmp dword [0x61f5c0], 5
mov dword [esp + 0x38], edi
jne 0x436913
mov eax, dword [ebx + 0xcc]
cmp eax, edi
je 0x436913
push dword [ebp + 0xc]
mov esi, dword [eax]
push ebx
add esi, 4
call fcn.004382f4
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.0047bdf3
cmp eax, edi
mov dword [esp + 0x64], eax
jle 0x43715c
mov dword [esp + 0xc], 1
mov edi, dword [esp + 0xc]
mov eax, dword [ebx + 0xbc]
dec edi
call fcn.0047e400
cmp dword [0x61f5bc], 0
mov edi, eax
mov dword [esp + 0x24], edi
je 0x436964
mov eax, dword [ebp + 0xc]
cmp eax, dword [edi + 0x54]
jne 0x437114
test edi, edi
je 0x4370ef
mov esi, edi
call fcn.0047ddf6
test eax, eax
je 0x4370ef
lea eax, [edi + 0x40]
push eax
push ebx
call fcn.00437b5c
test eax, eax
jne 0x436993
mov eax, 0x106
jmp 0x4370f4
mov eax, dword [edi + 0x44]
sub eax, 0x10
call fcn.00426f14
add eax, 0x10
mov dword [esp + 0x20], eax
and dword [esp + 0x284], 0
push eax
push str.CheckInstallCondition_begin:_condition___s
mov esi, 0x61f638
call fcn.00486c18
mov eax, dword [0x61b884]
and dword [esp + 0x1c], 0
pop ecx
pop ecx
mov ecx, 0x61b884
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.0047f188
test eax, eax
mov dword [esp + 0x18], eax
push eax
je 0x436a55
mov edi, dword [esp + 0x24]
push edi
push str.CheckInstallCondition_end:_condition___s__return___d
call fcn.00486c18
mov esi, dword [esp + 0x38]
mov eax, dword [0x61f5bc]
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 0x437114
push dword [esp + 0x24]
push str.CheckInstallCondition_end:_condition___s__return___d
call fcn.00486c18
xor eax, eax
add esp, 0xc
cmp dword [0x61f5c0], eax
jne 0x436bb0
cmp dword [ebx + 0xd4], eax
je 0x436bb0
cmp dword [0x61f5bc], eax
jne 0x436bb0
push dword [edi + 0x10]
mov esi, dword [edi + 0x3c]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x38], esi
call fcn.00439e72
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x288], 2
call fcn.00438022
test esi, esi
mov dword [esp + 0x1c], eax
jle 0x436b84
mov eax, dword [edi + 0x28]
sub eax, 0x10
call fcn.00426f14
add eax, 0x10
mov dword [esp + 0x14], eax
push eax
lea esi, [esp + 0x74]
mov byte [esp + 0x288], 3
call fcn.00416c69
mov byte [esp + 0x284], 4
push dword [eax]
lea eax, [esp + 0x50]
push eax
call fcn.004328f9
lea eax, [esp + 0x74]
mov byte [esp + 0x284], 6
cmp dword [esp + 0x70], eax
je 0x436b12
push dword [esp + 0x70]
call fcn.0049ca88
pop ecx
mov eax, dword [esp + 0x4c]
push dword [eax - 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
je 0x43712b
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 0x436b9c
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.00438bd3
test eax, eax
jne 0x436c6a
cmp dword [edi + 0x6c], eax
je 0x436c6a
call fcn.00438885
test eax, eax
je 0x436c6a
call fcn.00496da5
push dword [eax + 0x10]
lea esi, [esp + 0x74]
call fcn.00433c1a
mov byte [esp + 0x284], 7
push dword [eax]
push edi
call fcn.004310ff
lea eax, [esp + 0x74]
mov byte [esp + 0x284], 1
cmp dword [esp + 0x70], eax
je 0x436c12
push dword [esp + 0x70]
call fcn.0049ca88
pop ecx
call fcn.00496da5
push dword [eax + 0x14]
lea esi, [esp + 0x74]
call fcn.00433c1a
mov byte [esp + 0x284], 8
push dword [eax]
lea eax, [edi + 4]
push eax
call fcn.004310ff
lea eax, [esp + 0x74]
mov byte [esp + 0x284], 1
cmp dword [esp + 0x70], eax
je 0x436c52
push dword [esp + 0x70]
call fcn.0049ca88
pop ecx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 1
call fcn.00496da5
push eax
call fcn.00497503
lea eax, [edi + 0xc]
push dword [eax]
lea esi, [esp + 0x74]
mov dword [esp + 0x18], eax
call fcn.0041db14
mov byte [esp + 0x284], 9
push dword [eax]
lea eax, [esp + 0x14]
push eax
call fcn.004328f9
lea eax, [esp + 0x74]
mov byte [esp + 0x284], 0xb
cmp dword [esp + 0x70], eax
je 0x436cac
push dword [esp + 0x70]
call fcn.0049ca88
pop ecx
push 0x5c
lea esi, [esp + 0x14]
call fcn.004327ce
mov edx, eax
lea eax, [esp + 0x6c]
push eax
inc edx
mov eax, esi
call fcn.00432724
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.0041db14
mov byte [esp + 0x284], 0xd
push dword [eax]
lea eax, [esp + 0x48]
push eax
call fcn.004328f9
lea eax, [esp + 0x178]
mov byte [esp + 0x284], 0xf
cmp dword [esp + 0x174], eax
je 0x436d38
push dword [esp + 0x174]
call fcn.0049ca88
pop ecx
push dword [edi + 4]
lea esi, [esp + 0x74]
call fcn.0041db14
mov byte [esp + 0x284], 0x10
push dword [eax]
lea eax, [esp + 0x40]
push eax
call fcn.004328f9
lea eax, [esp + 0x74]
mov byte [esp + 0x284], 0x12
cmp dword [esp + 0x70], eax
je 0x436d74
push dword [esp + 0x70]
call fcn.0049ca88
pop ecx
mov eax, edi
call fcn.00438bd3
test eax, eax
jne 0x43705b
push dword [esp + 0xc]
mov ecx, ebx
push dword [esp + 0x40]
call fcn.004366ad
test eax, eax
je 0x43705b
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.004838a4
mov esi, eax
lea eax, [esp + 0x70]
push edi
push eax
mov byte [esp + 0x294], 0x13
call fcn.004838a4
mov byte [esp + 0x294], 0x14
push dword [esi]
mov esi, 0x61f638
push dword [edi + 4]
push dword [eax]
push str._DownloadSinglePacket_begin:_url___s_md5___s_path___s
call fcn.00486c18
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 0x436e32
push eax
push 0
push 0x479
push dword [ebx + 0xd4]
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [0x61f5c0], 5
jne 0x436e54
mov ebx, dword [ebx + 0xcc]
test ebx, ebx
je 0x436e54
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.00435de6
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x1c], edi
je 0x436ea4
dec dword [esp + 0x34]
je 0x436ed8
push 0x493e0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x34], ebx
jle 0x436ed8
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x24]
jmp 0x436dae
mov esi, dword [esp + 0x24]
cmp dword [esi + 0x6c], ebx
je 0x436fe1
call fcn.00438885
cmp eax, ebx
je 0x436fe1
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 2
call fcn.00496da5
push eax
call fcn.00497503
jmp 0x436edc
mov esi, dword [esp + 0x24]
cmp edi, ebx
je 0x436fe1
push dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x20], edi
call fcn.004838a4
mov edi, eax
lea eax, [esp + 0x68]
push esi
push eax
mov byte [esp + 0x294], 0x15
call fcn.004838a4
mov byte [esp + 0x294], 0x16
push dword [esp + 0x2c]
push dword [edi]
push dword [esi + 4]
mov esi, 0x61f638
push dword [eax]
push str._DownloadSinglePacket_end:_url___s_md5___s_path___s_errorcode___d
call fcn.00486c18
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 0x436f62
push dword [esp + 0x10]
call fcn.00437f97
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 [0x61f5bc]
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 0x437114
push dword [esp + 0x14]
lea eax, [esp + 0x60]
push eax
call fcn.004838a4
mov edi, eax
lea eax, [esp + 0x5c]
push esi
push eax
mov byte [esp + 0x294], 0x17
call fcn.004838a4
push ebx
mov byte [esp + 0x298], 0x18
push dword [edi]
push dword [esi + 4]
mov esi, 0x61f638
push dword [eax]
push str._DownloadSinglePacket_end:_url___s_md5___s_path___s_errorcode___d
call fcn.00486c18
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.00436608
mov ebx, dword [ebp + 8]
jmp 0x43708c
mov eax, edi
call fcn.00438bd3
test eax, eax
jne 0x43708c
cmp dword [edi + 0x6c], eax
je 0x43708c
call fcn.00438885
test eax, eax
je 0x43708c
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 2
call fcn.00496da5
push eax
call fcn.00497503
mov eax, dword [0x61f5bc]
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 0x436a4b
mov eax, 0xfd
mov ecx, dword [0x61f5bc]
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 0x436939
xor edi, edi
jmp 0x437152
call fcn.004012ce
mov ecx, dword [0x61f5bc]
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 0x43715c
xor eax, eax
jmp 0x437160
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