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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 0xf
pop ecx
push 5
mov dword [ebp - 0x2c], edx
xor esi, esi
pop edx
mov dword [ebp - 0x38], 0x33
mov eax, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0x5a06
add ecx, dword [ebp + eax*4 - 0x38]
inc eax
cmp eax, 3
jl 0x684b0ae
mov edi, dword [0x685b508]
mov eax, esi
mov dword [ebp - 8], ecx
sub edi, 0x37f3a7fd
mov ecx, 0x38510
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x3c], 0x38
mov dword [ebp - 0x38], 0x2b
mov dword [ebp - 0x34], 0x58
mov dword [ebp - 0x30], 0x33f01
sub ecx, dword [ebp + eax*4 - 0x40]
inc eax
cmp eax, edx
jl 0x684b0f1
push 0x37
mov dword [ebp - 0xc], ecx
mov eax, esi
pop ecx
mov dword [ebp - 0x34], 0x4b
mov dword [ebp - 0x30], 0x1f7e
add ecx, dword [ebp + eax*4 - 0x34]
inc eax
cmp eax, 2
jl 0x684b110
push 2
mov dword [ebp - 0x10], ecx
mov al, 0x44
pop ebx
mov dword [ebp - 0x38], 0x19
mov ecx, str.Download_was_canceled
mov dword [ebp - 0x34], 0xb
mov dword [ebp - 0x30], 0xffffffda
sub al, 0x30
cmp al, 9
ja 0x684b14b
inc ecx
mov al, byte [ecx]
test al, al
jne 0x684b13c
jmp 0x684b151
and edi, 0x2cbf2444
or edi, 0x530c1d03
mov edx, str.cannot_load_certificate
sub edi, 0x65e6f34f
mov ecx, esi
mov eax, edx
inc ecx
lea eax, [eax + 2]
cmp ecx, 0x90e
jg 0x684b179
cmp word [eax], si
jne 0x684b166
jmp 0x684b189
call fcn.0684a9df
sub edi, 0x1ef9bddf
mov edx, str.cannot_load_certificate
imul ecx, edi, 0x47e49262
mov eax, esi
sub ecx, 0x701741ee
add ebx, dword [ebp + eax*4 - 0x38]
inc eax
cmp eax, 3
jl 0x684b197
mov dword [ebp - 0x14], ebx
mov eax, esi
mov ebx, esi
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x34], 0x2f
mov dword [ebp - 0x30], 0xffffffc9
sub ebx, dword [ebp + eax*4 - 0x38]
inc eax
cmp eax, 3
jl 0x684b1bd
mov dword [ebp - 0x1c], ebx
mov eax, esi
mov ebx, esi
mov dword [ebp - 0x40], 0x42
mov dword [ebp - 0x3c], 0x5c
mov dword [ebp - 0x38], 0x60
mov dword [ebp - 0x34], 0x24
mov dword [ebp - 0x30], 0xfffffede
sub ebx, dword [ebp + eax*4 - 0x40]
inc eax
cmp eax, 5
jl 0x684b1f1
mov dword [ebp - 0x18], ebx
mov eax, esi
mov ebx, esi
mov dword [ebp - 0x40], 0x3a
mov dword [ebp - 0x3c], 0x5f
mov dword [ebp - 0x38], 0x53
mov dword [ebp - 0x34], 0x5e
mov dword [ebp - 0x30], 0xfffffeb6
sub ebx, dword [ebp + eax*4 - 0x40]
inc eax
cmp eax, 5
jl 0x684b225
mov dword [ebp - 0x34], 0x39
mov dword [ebp - 0x30], 0xfffffef6
mov dword [ebp - 0x3c], 0x35
mov dword [ebp - 0x38], 0x3b
movups xmm1, xmmword [ebp - 0x3c]
push 0x11
mov dword [ebp - 0x20], ebx
movaps xmm0, xmm1
mov dword [ebp - 0x34], 0x29
psrldq xmm0, 8
paddd xmm1, xmm0
mov dword [ebp - 0x30], 0xffffffc6
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
pop ebx
add eax, 0x61
mov dword [ebp - 0x24], eax
imul eax, ecx, 0xfa1db1da
mov ecx, 0x16327fc3
and eax, 0x7c51a3a9
xor eax, 0x8629c8d6
imul eax, eax, 0x822cc3f
sub ecx, eax
mov eax, esi
inc eax
cmp eax, 0x94
jg 0x684b2b7
cmp byte [eax + str.RegKey4HKCUSoftwareMPC_HCMPC_HCRecent_File_List], 0
jne 0x684b2a4
jmp 0x684b2bd
and ecx, 0x9bc3d8f
imul edi, ecx, 0x10b279b2
mov eax, edx
mov ecx, esi
xor edi, 0xb6a66405
mov dword [0x685b508], edi
inc ecx
lea eax, [eax + 2]
cmp ecx, 0x1a43
jg 0x684b2e6
cmp word [eax], si
jne 0x684b2d3
jmp 0x684b2f5
push ecx
push ecx
call fcn.0684abb7
pop ecx
pop ecx
and edi, 0x3447b1f9
and edi, 0x2861745a
push ecx
xor edi, 0x98b29ec1
call fcn.0684a1b9
pop ecx
mov eax, esi
add ebx, dword [ebp + eax*4 - 0x34]
inc eax
cmp eax, 2
jl 0x684b30a
mov dword [ebp - 0x28], ebx
mov ebx, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x38], 0x4d
mov dword [ebp - 0x34], 0x45
mov dword [ebp - 0x30], 0xffffff6e
mov ecx, str.Download_was_canceled
mov al, 0x44
sub al, 0x30
cmp al, 9
ja 0x684b347
inc ecx
mov al, byte [ecx]
test al, al
jne 0x684b338
jmp 0x684b34d
sub edi, 0x6111da08
or edi, 0xf5644cbb
call fcn.0684a61f
mov edx, dword [ebp - 4]
sub edx, dword [ebp + ebx*4 - 0x38]
inc ebx
mov dword [ebp - 4], edx
cmp ebx, 3
jl 0x684b331
push 0x2a
pop ecx
mov eax, esi
inc eax
cmp eax, 0x1368
jl 0x684b395
cmp byte [eax + str.Download_was_canceled], 0
jne 0x684b36d
cmp eax, 0x2487
jle 0x684b39b
call fcn.0684a27d
push 0x2a
or edi, 0x1075a65d
pop ecx
jmp 0x684b3a1
add edi, 0x38204eb0
imul edi, edi, 0x56e6bf34
imul eax, edi, 0x4ebf4e01
mov edi, 0xecdc1b25
mov dword [ebp - 0x38], 0x37
mov dword [ebp - 0x34], 0x2b
mov dword [ebp - 0x30], 0xffffff74
sub edi, eax
mov eax, esi
mov dword [0x685b508], edi
add ecx, dword [ebp + eax*4 - 0x38]
inc eax
cmp eax, 3
jl 0x684b3cb
mov ebx, dword [0x685b780]
mov dword [ebp - 0x30], ecx
movzx eax, word [ebx]
cmp eax, dword [ebp - 8]
je 0x684b416
push 5
pop ecx
mov dword [ebp - 0x40], ecx
mov eax, esi
mov dword [ebp - 0x3c], 0x5c
mov dword [ebp - 0x38], 0x41
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0xffffff59
sub esi, dword [ebp + eax*4 - 0x40]
inc eax
cmp eax, ecx
jl 0x684b406
mov eax, esi
jmp 0x684b552
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebp - 0xc]
add ecx, ebx
cmp dword [ecx], eax
je 0x684b445
mov dword [ebp - 0x38], 2
mov eax, esi
mov dword [ebp - 0x34], 0x34
mov dword [ebp - 0x30], 0xffffffca
sub esi, dword [ebp + eax*4 - 0x38]
inc eax
cmp eax, 3
jl 0x684b439
jmp 0x684b40f
movzx eax, word [ecx + 0x16]
and eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
je 0x684b4dd
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp dword [ecx + edx*8 + 0x78], eax
je 0x684b4dd
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
cmp dword [ecx + eax*8 + 0x7c], edx
mov edx, dword [ebp - 4]
je 0x684b4dd
mov esi, dword [ebp - 0x28]
mov esi, dword [ecx + esi*8 + 0x78]
add esi, ebx
mov eax, dword [esi + 0x1c]
lea ecx, [eax + ebx]
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0x20]
add ecx, ebx
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 0x24]
add ecx, ebx
mov dword [ebp - 0x24], ecx
cmp edx, eax
jae 0x684b4bb
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + edx*4]
add ecx, ebx
call fcn.068434b6
mov edx, eax
call fcn.0684aeb0
cmp eax, dword [ebp - 0x2c]
je 0x684b4c9
mov edx, dword [ebp - 4]
inc edx
mov dword [ebp - 4], edx
cmp edx, dword [esi + 0x1c]
jb 0x684b496
mov eax, dword [ebp - 0x30]
xor edi, 0x7f424792
jmp 0x684b54c
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + eax*4]
add eax, ebx
jmp 0x684b552
push 0x1d
pop ecx
push 0x63
mov dword [ebp - 0x3c], 0x58
add edi, 0x25c4adc9
mov dword [ebp - 0x38], 0x2f
mov ebx, str.cannot_load_certificate
mov dword [ebp - 0x34], 0x64
mov dword [ebp - 0x30], 0xfffffef8
pop edx
lea eax, [edx - 0x30]
cmp ax, 9
ja 0x684b522
add ebx, 2
movzx eax, word [ebx]
mov edx, eax
test ax, ax
jne 0x684b50a
jmp 0x684b528
or edi, 0x5fec782f
or edi, 0xdbce2928
add ecx, dword [ebp + esi*4 - 0x3c]
and edi, 0x37932244
imul edi, edi, 0x591d9cf1
or edi, 0x61d22b81
inc esi
cmp esi, 4
jl 0x684b52e
mov eax, ecx
mov dword [0x685b508], edi
pop edi
pop esi
pop ebx
leave
ret