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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x599f48
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
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x18], esi
je 0x436921
call fcn.0047e13d
test eax, eax
je 0x436921
cmp dword [0x61d5a0], 5
mov dword [esp + 0x38], esi
jne 0x436130
mov eax, dword [ebx + 0xcc]
cmp eax, esi
je 0x436130
push dword [ebp + 0xc]
mov edi, dword [eax]
push ebx
add edi, 4
call fcn.00437a52
mov ecx, dword [ebx + 0xcc]
push eax
call dword [edi]
mov eax, dword [ebx + 0xbc]
add eax, 0x18
mov dword [esp + 0x30], esi
call fcn.00490497
cmp eax, esi
mov dword [esp + 0x64], eax
jle 0x43694d
mov dword [esp + 0xc], 1
mov edi, dword [esp + 0xc]
mov eax, dword [ebx + 0xbc]
dec edi
call fcn.0047e311
mov edi, dword [0x61d59c]
test edi, edi
mov esi, eax
mov dword [esp + 0x1c], esi
je 0x436182
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x54]
jne 0x436905
test esi, esi
je 0x4368e6
mov eax, esi
call fcn.0047dd23
test eax, eax
je 0x4368e6
lea eax, [esi + 0x40]
push eax
push ebx
call fcn.004372bb
test eax, eax
jne 0x4361ba
mov ecx, dword [0x61d59c]
mov eax, 0x106
mov dword [ebx + 0x44], ecx
jmp 0x4368ee
mov eax, dword [esi + 0x44]
sub eax, 0x10
call fcn.004267fb
lea edi, [eax + 0x10]
mov dword [esp + 0x48], edi
and dword [esp + 0x284], 0
push edi
push str.CheckInstallCondition_begin:_condition___s
mov esi, 0x61d618
call fcn.004867a7
mov eax, dword [0x619864]
and dword [esp + 0x1c], 0
pop ecx
pop ecx
mov ecx, 0x619864
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x18]
push eax
push edi
lea eax, [ebx + 0xa4]
push eax
mov byte [esp + 0x294], 1
call fcn.0047f0a8
test eax, eax
push eax
push edi
mov dword [esp + 0x20], eax
push str.CheckInstallCondition_end:_condition___s__return___d
je 0x436275
call fcn.004867a7
mov esi, dword [esp + 0x38]
mov eax, dword [0x61d59c]
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 0x436905
call fcn.004867a7
xor eax, eax
add esp, 0xc
cmp dword [0x61d5a0], eax
jne 0x4363cd
cmp dword [ebx + 0xd4], eax
je 0x4363cd
cmp dword [0x61d59c], eax
jne 0x4363cd
mov edi, dword [esp + 0x1c]
push dword [edi + 0x10]
mov esi, dword [edi + 0x3c]
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x30], esi
call fcn.00439358
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x288], 2
call fcn.00437781
test esi, esi
mov dword [esp + 0x20], eax
jle 0x43639f
mov eax, dword [edi + 0x28]
sub eax, 0x10
call fcn.004267fb
add eax, 0x10
mov dword [esp + 0x14], eax
push eax
lea esi, [esp + 0x74]
mov byte [esp + 0x288], 3
call fcn.004163a4
mov byte [esp + 0x284], 4
push dword [eax]
lea eax, [esp + 0x50]
push eax
call fcn.0043229f
lea eax, [esp + 0x74]
mov byte [esp + 0x284], 6
cmp dword [esp + 0x70], eax
je 0x43632d
push dword [esp + 0x70]
call fcn.0049af3d
pop ecx
mov eax, dword [esp + 0x4c]
push dword [eax - 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
je 0x43691c
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 + 0x20]
push 0x3e8
push edi
push dword [ebx + 0xd4]
call esi
push dword [esp + 0x28]
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 + 0x1c]
jmp 0x4363b7
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 + 0x44]
add eax, 0xfffffff0
call fcn.004011c0
jmp 0x4363d1
mov edi, dword [esp + 0x1c]
cmp dword [edi + 0x6c], 0
je 0x43647d
call fcn.00437f3a
test eax, eax
je 0x43647d
call fcn.004959f5
push dword [eax + 0x10]
lea esi, [esp + 0x74]
call fcn.0043355c
mov byte [esp + 0x284], 7
push dword [eax]
push edi
call fcn.00430b43
lea eax, [esp + 0x74]
mov byte [esp + 0x284], 1
cmp dword [esp + 0x70], eax
je 0x436425
push dword [esp + 0x70]
call fcn.0049af3d
pop ecx
call fcn.004959f5
push dword [eax + 0x14]
lea esi, [esp + 0x74]
call fcn.0043355c
mov byte [esp + 0x284], 8
push dword [eax]
lea eax, [edi + 4]
push eax
call fcn.00430b43
lea eax, [esp + 0x74]
mov byte [esp + 0x284], 1
cmp dword [esp + 0x70], eax
je 0x436465
push dword [esp + 0x70]
call fcn.0049af3d
pop ecx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 1
call fcn.004959f5
push eax
call fcn.00496153
lea eax, [edi + 0xc]
push dword [eax]
lea esi, [esp + 0x74]
mov dword [esp + 0x18], eax
call fcn.0041d191
mov byte [esp + 0x284], 9
push dword [eax]
lea eax, [esp + 0x14]
push eax
call fcn.0043229f
lea eax, [esp + 0x74]
mov byte [esp + 0x284], 0xb
cmp dword [esp + 0x70], eax
je 0x4364bf
push dword [esp + 0x70]
call fcn.0049af3d
pop ecx
push 0x5c
lea esi, [esp + 0x14]
call fcn.00432185
mov edx, eax
lea eax, [esp + 0x68]
push eax
inc edx
mov eax, esi
call fcn.004320db
lea edi, [ebx + 0xd8]
mov byte [esp + 0x284], 0xc
call fcn.004013b4
mov byte [esp + 0x284], 0xb
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
call fcn.004011c0
mov edi, dword [esp + 0x1c]
push dword [edi]
lea esi, [esp + 0x178]
call fcn.0041d191
mov byte [esp + 0x284], 0xd
push dword [eax]
lea eax, [esp + 0x38]
push eax
call fcn.0043229f
lea eax, [esp + 0x178]
mov byte [esp + 0x284], 0xf
cmp dword [esp + 0x174], eax
je 0x43654b
push dword [esp + 0x174]
call fcn.0049af3d
pop ecx
push dword [edi + 4]
lea esi, [esp + 0x74]
call fcn.0041d191
mov byte [esp + 0x284], 0x10
push dword [eax]
lea eax, [esp + 0x40]
push eax
call fcn.0043229f
lea eax, [esp + 0x74]
mov byte [esp + 0x284], 0x12
cmp dword [esp + 0x70], eax
je 0x436587
push dword [esp + 0x70]
call fcn.0049af3d
pop ecx
push dword [esp + 0xc]
mov ecx, ebx
push dword [esp + 0x40]
call fcn.00435eca
test eax, eax
je 0x43685c
mov eax, dword [edi + 0x38]
and dword [esp + 0x28], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], 1
push dword [esp + 0x14]
lea eax, [esp + 0x5c]
push eax
call fcn.0048345c
mov esi, eax
lea eax, [esp + 0x58]
push edi
push eax
mov byte [esp + 0x294], 0x13
call fcn.0048345c
mov byte [esp + 0x294], 0x14
push dword [esi]
mov esi, 0x61d618
push dword [edi + 4]
push dword [eax]
push str._DownloadSinglePacket_begin:_url___s_md5___s_path___s
call fcn.004867a7
mov eax, dword [esp + 0x70]
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 0x436633
push eax
push 0
push 0x479
push dword [ebx + 0xd4]
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [0x61d5a0], 5
jne 0x436655
mov ebx, dword [ebx + 0xcc]
test ebx, ebx
je 0x436655
inc dword [esp + 0x38]
push dword [esp + 0x38]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
push dword [esp + 0x24]
mov edi, dword [edi + 0x30]
mov ebx, dword [esp + 0x38]
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.00435638
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x20], edi
je 0x4366a5
dec dword [esp + 0x40]
je 0x4366d9
push 0x493e0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x40], ebx
jle 0x4366d9
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x1c]
jmp 0x4365b2
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x6c], ebx
je 0x4367e2
call fcn.00437f3a
cmp eax, ebx
je 0x4367e2
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.004959f5
push eax
call fcn.00496153
jmp 0x4366dd
mov esi, dword [esp + 0x1c]
cmp edi, ebx
je 0x4367e2
push dword [esp + 0x14]
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x20], edi
call fcn.0048345c
mov edi, eax
lea eax, [esp + 0x68]
push esi
push eax
mov byte [esp + 0x294], 0x15
call fcn.0048345c
mov byte [esp + 0x294], 0x16
push dword [esp + 0x30]
push dword [edi]
push dword [esi + 4]
mov esi, 0x61d618
push dword [eax]
push str._DownloadSinglePacket_end:_url___s_md5___s_path___s_errorcode___d
call fcn.004867a7
mov eax, dword [esp + 0x84]
add esp, 0x24
add eax, 0xfffffff0
call fcn.004011c0
mov byte [esp + 0x284], 0x12
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
call fcn.004011c0
cmp dword [esp + 0x10], ebx
je 0x436763
push dword [esp + 0x10]
call fcn.004376f6
mov edi, dword [ebp + 8]
push ebx
push dword [esp + 0x10]
lea esi, [edi + 4]
push dword [esp + 0x30]
mov eax, dword [esi]
push 2
push 0x28
mov ecx, esi
call dword [eax]
mov eax, dword [0x61d59c]
push ebx
push ebx
push dword [esp + 0x14]
mov dword [edi + 0x44], eax
push dword [esp + 0x2c]
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 + 0x34]
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 + 0x48]
add eax, 0xfffffff0
call fcn.004011c0
mov ebx, edi
jmp 0x436905
push dword [esp + 0x14]
lea eax, [esp + 0x60]
push eax
call fcn.0048345c
mov edi, eax
lea eax, [esp + 0x5c]
push esi
push eax
mov byte [esp + 0x294], 0x17
call fcn.0048345c
push ebx
mov byte [esp + 0x298], 0x18
push dword [edi]
push dword [esi + 4]
mov esi, 0x61d618
push dword [eax]
push str._DownloadSinglePacket_end:_url___s_md5___s_path___s_errorcode___d
call fcn.004867a7
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.00435e25
mov ebx, dword [ebp + 8]
jmp 0x436883
cmp dword [edi + 0x6c], 0
je 0x436883
call fcn.00437f3a
test eax, eax
je 0x436883
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.004959f5
push eax
call fcn.00496153
mov eax, dword [0x61d59c]
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 + 0x30]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esp + 0x34]
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 + 0x48]
add eax, 0xfffffff0
jmp 0x43626b
mov eax, 0xfd
mov dword [ebx + 0x44], edi
push 0
push 0
push dword [esp + 0x14]
lea ecx, [ebx + 4]
mov edx, dword [ecx]
push eax
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 0x436156
xor esi, esi
jmp 0x436943
call fcn.0041bbcd
mov ecx, dword [0x61d59c]
push esi
push esi
mov eax, 0xfe
push esi
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 + 0x30], esi
jle 0x43694d
xor eax, eax
jmp 0x436951
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