Function at 0x1005b11
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xbd4
mov eax, dword [0x100c004]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0xb40], ebx
mov dword [ebp - 0xb2c], ebx
mov dword [ebp - 0xb34], ebx
mov dword [ebp - 0x270], 0xaac56b
mov word [ebp - 0x26c], 0xcd44
mov word [ebp - 0x26a], 0x11d0
mov byte [ebp - 0x268], 0x8c
mov byte [ebp - 0x267], 0xc2
mov byte [ebp - 0x266], bl
mov byte [ebp - 0x265], 0xc0
mov byte [ebp - 0x264], 0x4f
mov byte [ebp - 0x263], 0xc2
mov byte [ebp - 0x262], 0x95
mov byte [ebp - 0x261], 0xee
mov dword [ebp - 0x280], 0xf750e6c3
mov word [ebp - 0x27c], 0x38ee
mov word [ebp - 0x27a], 0x11d1
mov byte [ebp - 0x278], 0x85
mov byte [ebp - 0x277], 0xe5
mov byte [ebp - 0x276], bl
mov byte [ebp - 0x275], 0xc0
mov byte [ebp - 0x274], 0x4f
mov byte [ebp - 0x273], 0xc2
mov byte [ebp - 0x272], 0x95
mov byte [ebp - 0x271], 0xee
mov dword [ebp - 0xb38], ebx
mov dword [ebp - 0xb30], ebx
mov dword [ebp - 0xb20], ebx
mov dword [ebp - 0xb3c], ebx
mov dword [ebp - 0xb9c], ebx
mov dword [ebp - 0xb90], ebx
mov dword [ebp - 0xb7c], ebx
mov dword [ebp - 0xb78], ebx
mov dword [ebp - 0xb80], ebx
mov dword [ebp - 0xb88], ebx
mov dword [ebp - 0xb98], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, ebx
je 0x1005c45
push eax
push 0x1001b0c
call fcn.01002585
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x1006e8b
push 0x1001cc8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0xb24], eax
jne 0x1005c66
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xb3c], eax
cmp dword [esi + 0x54], ebx
je 0x1005ca0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf70]
mov ecx, dword fs:[0x18]
mov eax, dword [eax + 0x14c0]
mov ecx, dword [ecx + 0xf70]
mov dword [ecx + 0x14c0], 0x10016c8
mov dword [ecx + 0x14c4], ebx
mov dword [ebp - 0xba0], eax
cmp dword [esi + 8], ebx
push edi
mov dword [ebp - 0xb44], ebx
jbe 0x1006cd8
mov edi, ebx
mov eax, dword [esi + 4]
push dword [eax + edi*4]
mov dword [ebp - 0xb8c], ebx
mov dword [ebp - 0xb28], ebx
call dword [sym.imp.msvcrt.dll_wcslen]
test eax, eax
pop ecx
jbe 0x1005d6e
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0xb28]
mov ecx, dword [ecx + edi*4]
add eax, eax
push 1
add ecx, eax
push 0x100168c
push ecx
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x1005d42
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebp - 0xb28]
push 1
add eax, eax
add ecx, eax
push 0x100143c
push ecx
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x1005d42
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebp - 0xb28]
push 1
add eax, eax
add ecx, eax
push 0x10016c4
push ecx
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x1005d4f
mov eax, dword [ebp - 0xb28]
inc eax
mov dword [ebp - 0xb8c], eax
mov eax, dword [esi + 4]
push dword [eax + edi*4]
inc dword [ebp - 0xb28]
call dword [sym.imp.msvcrt.dll_wcslen]
cmp dword [ebp - 0xb28], eax
pop ecx
jb 0x1005cd3
mov eax, dword [esi + 4]
push 0x104
push dword [eax + edi*4]
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
lea eax, [ebp - 0xb1c]
push eax
mov eax, dword [esi + 4]
mov word [ebp - 0x5a], bx
push dword [eax + edi*4]
mov dword [ebp - 0xb84], ebx
call fcn.01009db7
cmp eax, 0xffffffff
mov dword [ebp - 0xb94], eax
jne 0x1005dcd
mov eax, dword [esi + 4]
push dword [eax + edi*4]
inc dword [ebp - 0xb20]
push 0x3ec
call fcn.01002459
pop ecx
pop ecx
jmp 0x1006c3e
test byte [ebp - 0xb1c], 0x10
jne 0x1006bea
inc dword [ebp - 0xb84]
xor eax, eax
push 0xc
pop ecx
lea edi, [ebp - 0xb74]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0xbd4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 9
xor eax, eax
cmp dword [esi + 0xa0], ebx
pop ecx
lea edi, [ebp - 0xbc4]
rep stosd dword es:[edi], eax
mov ecx, 0x110
lea edi, [ebp - 0x6c0]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xb74], 0x30
mov dword [ebp - 0xb68], 2
mov dword [ebp - 0xb64], ebx
mov dword [ebp - 0xbd4], 0x10
mov dword [ebp - 0xbc4], 0x24
mov dword [ebp - 0x6c0], 0x440
je 0x1005e89
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x6b4], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x290], eax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x28c], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], eax
jmp 0x1005e93
mov dword [ebp - 0xb4c], 0x400
mov eax, dword [ebp - 0xb8c]
mov ecx, 0x104
sub ecx, eax
push ecx
lea ecx, [ebp - 0xaf0]
push ecx
lea eax, [ebp + eax*2 - 0x260]
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
cmp dword [esi + 0x54], ebx
mov word [ebp - 0x5a], bx
je 0x1005ee1
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0xf70]
lea eax, [ebp - 0x260]
mov dword [ecx + 0x14c0], eax
mov dword [ecx + 0x14c4], ebx
cmp dword [esi + 0x68], ebx
je 0x1005f81
cmp dword [ebp - 0xb40], ebx
jne 0x1006030
mov eax, dword [ebp - 0xb9c]
cmp eax, ebx
jne 0x1005f2b
cmp dword [ebp - 0xb24], ebx
je 0x1006cb4
push 0x1001cb8
push dword [ebp - 0xb24]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0xb9c], eax
je 0x1006ca2
push ebx
push ebx
push ebx
push 4
push dword [esi + 0x68]
call eax
cmp eax, ebx
mov dword [ebp - 0xb40], eax
je 0x1005f48
cmp eax, 0xffffffff
jne 0x1006030
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 5
je 0x1006c6c
cmp eax, 0x20
je 0x1006c65
cmp eax, 0x490
je 0x1006c53
call edi
push eax
push 0x1001c9c
call fcn.01002585
pop ecx
pop ecx
jmp 0x1006c76
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x1006974
cmp eax, 1
je 0x1005fe8
jle 0x1006c92
cmp eax, 4
jg 0x1006c92
cmp dword [ebp - 0xb2c], ebx
jne 0x1006030
mov eax, dword [ebp - 0xb7c]
cmp eax, ebx
jne 0x1005fe1
cmp dword [ebp - 0xb24], ebx
je 0x1006cb4
push 0x1001820
push dword [ebp - 0xb24]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0xb7c], eax
je 0x1006ca2
push ebx
lea ecx, [esi + 0x20]
push ecx
jmp 0x1006027
cmp dword [ebp - 0xb2c], ebx
jne 0x1006030
mov eax, dword [ebp - 0xb7c]
cmp eax, ebx
jne 0x1006025
cmp dword [ebp - 0xb24], ebx
je 0x1006cb4
push 0x1001820
push dword [ebp - 0xb24]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0xb7c], eax
je 0x1006ca2
push ebx
push ebx
lea ecx, [ebp - 0xb2c]
push ecx
call eax
cmp dword [esi + 0x4c], ebx
je 0x1006048
lea eax, [ebp - 0x260]
push eax
push 0x89a
call fcn.010024f9
pop ecx
pop ecx
lea edi, [esi + 0x34]
cmp dword [edi], ebx
jne 0x1006065
push 0x14
call dword [sym.imp.msvcrt.dll_malloc]
cmp eax, ebx
pop ecx
mov dword [esi + 0x38], eax
je 0x10060ac
mov dword [edi], 0x14
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea eax, [ebp - 0x260]
push eax
call fcn.01009bf4
cmp eax, ebx
mov dword [ebp - 0xb28], eax
jne 0x10060f5
cmp dword [esi + 0x44], ebx
jne 0x10060c4
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 5
je 0x10060e9
cmp eax, 0x20
je 0x10060e2
call edi
push eax
push 0x1001c84
jmp 0x10060bd
cmp dword [esi + 0x44], ebx
jne 0x10060c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1001440
call fcn.01002585
pop ecx
pop ecx
lea eax, [ebp - 0x260]
push eax
push 0x8a5
call fcn.01002459
pop ecx
pop ecx
inc dword [ebp - 0xb20]
jmp 0x1006bc9
push 0x7d7
jmp 0x10060ee
push 0x7d6
call fcn.010023c5
jmp 0x10060c4
mov eax, dword [ebp - 0xb98]
cmp eax, ebx
jne 0x100612a
cmp dword [ebp - 0xb24], ebx
je 0x1006cb4
push 0x1001c60
push dword [ebp - 0xb24]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0xb98], eax
je 0x1006ca2
push ebx
push dword [esi + 0x38]
push edi
push dword [ebp - 0xb28]
call eax
test eax, eax
jne 0x100618e
cmp dword [esi + 0x44], ebx
jne 0x100616a
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x3ee
je 0x1006160
call edi
push eax
push 0x1001c18
call fcn.01002585
pop ecx
pop ecx
jmp 0x100616a
push 0x7d8
call fcn.010023c5
lea eax, [ebp - 0x260]
push eax
push 0x8a5
call fcn.01002459
pop ecx
pop ecx
push dword [ebp - 0xb28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10060d7
push dword [ebp - 0xb28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp dword [esi + 0x34], ebx
jbe 0x10061d3
lea eax, [ebp - 0x58]
mov dword [ebp - 0xb28], eax
mov eax, dword [esi + 0x38]
movzx eax, byte [eax + edi]
push eax
push 0x10014d0
push dword [ebp - 0xb28]
call dword [sym.imp.msvcrt.dll_swprintf]
add dword [ebp - 0xb28], 4
add esp, 0xc
inc edi
cmp edi, dword [esi + 0x34]
jb 0x10061aa
cmp dword [esi + 0x68], ebx
je 0x1006507
mov eax, dword [ebp - 0xb90]
cmp eax, ebx
jne 0x1006211
cmp dword [ebp - 0xb24], ebx
je 0x1006cb4
push 0x1001c00
push dword [ebp - 0xb24]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0xb90], eax
je 0x1006ca2
lea ecx, [ebp - 0x58]
push ecx
push dword [ebp - 0xb40]
call eax
test eax, eax
je 0x10064df
cmp dword [esi + 0x4c], ebx
je 0x1006239
push dword [esi + 0x68]
push 0x89c
call fcn.010024f9
pop ecx
pop ecx
push 0x104
push dword [esi + 0x68]
lea eax, [ebp - 0x8c8]
push eax
mov dword [ebp - 0x8cc], 0x20c
call dword [sym.imp.msvcrt.dll_wcsncpy]
lea eax, [ebp - 0x8c8]
mov dword [ebp - 0xbbc], eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0xbb4], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0xbb8], eax
mov eax, dword [esi + 0x34]
add esp, 0xc
cmp dword [esi + 0x4c], ebx
mov dword [ebp - 0xba8], eax
mov eax, dword [esi + 0x38]
push 2
mov dword [ebp - 0xbac], eax
pop edi
lea eax, [ebp - 0xbc4]
mov word [ebp - 0x6c2], bx
mov dword [ebp - 0xb60], edi
mov dword [ebp - 0xb5c], eax
jne 0x10062cb
cmp dword [esi + 0x48], ebx
jne 0x10062cb
cmp dword [esi + 0x8c], ebx
jne 0x10062cb
cmp dword [esi + 0x40], ebx
mov dword [ebp - 0xb58], 3
je 0x10062d5
mov dword [ebp - 0xb58], 1
mov eax, dword [esi + 0x40]
sub eax, ebx
je 0x1006301
dec eax
je 0x10062f2
dec eax
jne 0x1006ccd
lea eax, [ebp - 0xb74]
push eax
lea eax, [esi + 0x10]
jmp 0x100631a
lea eax, [ebp - 0xb74]
push eax
lea eax, [ebp - 0x270]
jmp 0x100631a
lea eax, [ebp - 0x6c0]
mov dword [ebp - 0xb70], eax
lea eax, [ebp - 0xb74]
push eax
lea eax, [ebp - 0x280]
push eax
push ebx
call sub.WINTRUST.dll_WinVerifyTrust
cmp eax, 0x800b0100
je 0x100645d
cmp eax, 0x800b0110
je 0x1006446
cmp eax, ebx
je 0x1006395
cmp eax, 0x47f
je 0x100636d
cmp dword [esi + 0x44], ebx
jne 0x1006354
push eax
push 0x1001be0
call fcn.01002585
pop ecx
pop ecx
cmp dword [esi + 0x4c], ebx
je 0x100646c
push dword [ebp - 0xb54]
call fcn.01005795
jmp 0x100646c
cmp dword [esi + 0x44], ebx
jne 0x100646c
cmp dword [esi + 0xa0], ebx
je 0x100638e
push 0x8aa
call fcn.01002459
pop ecx
jmp 0x100646c
push 0x8ab
jmp 0x1006383
cmp dword [esi + 0x4c], ebx
je 0x10063a5
push dword [ebp - 0xb54]
call fcn.01005795
cmp dword [esi + 0x48], ebx
je 0x10063d2
push dword [ebp - 0xb54]
call fcn.01004f48
test eax, eax
jne 0x10063d2
lea eax, [ebp - 0x260]
push eax
push 0x8a4
call fcn.01002459
inc dword [ebp - 0xb30]
pop ecx
pop ecx
mov eax, dword [esi + 0x8c]
cmp eax, ebx
je 0x1006916
push eax
push dword [ebp - 0xb54]
call fcn.01004cd4
test eax, eax
jne 0x1006916
push 0x8a7
jmp 0x1006467
lea eax, [ebp - 0xb74]
push eax
lea eax, [ebp - 0x270]
jmp 0x1006957
lea eax, [ebp - 0xb74]
push eax
lea eax, [ebp - 0x280]
push eax
push ebx
call sub.WINTRUST.dll_WinVerifyTrust
cmp dword [ebp - 0x29c], ebx
mov dword [ebp - 0xb70], ebx
je 0x100643b
push dword [ebp - 0x29c]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
inc dword [ebp - 0xb38]
jmp 0x1006bc9
push 0x8ad
call fcn.010023c5
cmp dword [esi + 0x40], 1
je 0x100646c
push 0x8ae
jmp 0x1006467
cmp dword [esi + 0x44], ebx
jne 0x100646c
push 0x8af
call fcn.010023c5
mov eax, dword [esi + 0x40]
sub eax, ebx
mov dword [ebp - 0xb58], edi
je 0x10064a5
dec eax
je 0x1006496
dec eax
jne 0x1006ccd
lea eax, [ebp - 0xb74]
push eax
lea eax, [esi + 0x10]
push eax
push ebx
call sub.WINTRUST.dll_WinVerifyTrust
jmp 0x10064d3
lea eax, [ebp - 0xb74]
push eax
lea eax, [ebp - 0x270]
jmp 0x100648d
lea eax, [ebp - 0xb74]
push eax
lea eax, [ebp - 0x280]
push eax
push ebx
call sub.WINTRUST.dll_WinVerifyTrust
cmp dword [ebp - 0x29c], ebx
mov dword [ebp - 0xb70], ebx
je 0x10064d3
push dword [ebp - 0x29c]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov dword [ebp - 0xb58], 1
jmp 0x10064e9
push 0x8a9
call fcn.010023c5
inc dword [ebp - 0xb20]
lea eax, [ebp - 0x260]
push eax
push 0x8a6
call fcn.01002459
pop ecx
pop ecx
jmp 0x1006bc9
cmp dword [ebp - 0xb34], ebx
je 0x1006559
mov eax, dword [ebp - 0xb88]
cmp eax, ebx
jne 0x1006544
cmp dword [ebp - 0xb24], ebx
je 0x1006cb4
push 0x1001710
push dword [ebp - 0xb24]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0xb88], eax
je 0x1006ca2
push ebx
push dword [ebp - 0xb34]
push dword [ebp - 0xb2c]
call eax
mov dword [ebp - 0xb34], ebx
cmp dword [ebp - 0xb78], ebx
jne 0x100658c
cmp dword [ebp - 0xb24], ebx
je 0x1006cb4
push 0x1001bbc
push dword [ebp - 0xb24]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0xb78], eax
je 0x1006ca2
cmp dword [ebp - 0xb80], ebx
jne 0x10065bf
cmp dword [ebp - 0xb24], ebx
je 0x1006cb4
push 0x1001734
push dword [ebp - 0xb24]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0xb80], eax
je 0x1006ca2
xor eax, eax
mov ecx, 0x83
lea edi, [ebp - 0x8cc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x8cc], 0x20c
xor edi, edi
jmp 0x100684d
push ebx
lea ecx, [ebp - 0x8cc]
push ecx
push eax
call dword [ebp - 0xb80]
test eax, eax
jne 0x1006601
push 0x3f0
call fcn.010023c5
jmp 0x100684d
cmp dword [esi + 0x4c], ebx
je 0x1006619
lea eax, [ebp - 0x8c8]
push eax
push 0x89c
call fcn.010024f9
pop ecx
pop ecx
cmp dword [esi + 0x4c], ebx
lea eax, [ebp - 0x8c8]
mov dword [ebp - 0xbbc], eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0xbb4], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0xbb8], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0xba8], eax
mov eax, dword [esi + 0x38]
push 2
mov dword [ebp - 0xbac], eax
pop edi
lea eax, [ebp - 0xbc4]
mov dword [ebp - 0xb60], edi
mov dword [ebp - 0xb5c], eax
jne 0x1006682
cmp dword [esi + 0x48], ebx
jne 0x1006682
cmp dword [esi + 0x8c], ebx
jne 0x1006682
cmp dword [esi + 0x40], ebx
mov dword [ebp - 0xb58], 3
je 0x100668c
mov dword [ebp - 0xb58], 1
mov eax, dword [esi + 0x40]
sub eax, ebx
je 0x10066b8
dec eax
je 0x10066a9
dec eax
jne 0x1006ccd
lea eax, [ebp - 0xb74]
push eax
lea eax, [esi + 0x10]
jmp 0x10066d1
lea eax, [ebp - 0xb74]
push eax
lea eax, [ebp - 0x270]
jmp 0x10066d1
lea eax, [ebp - 0x6c0]
mov dword [ebp - 0xb70], eax
lea eax, [ebp - 0xb74]
push eax
lea eax, [ebp - 0x280]
push eax
push ebx
call sub.WINTRUST.dll_WinVerifyTrust
cmp eax, 0x800b0100
je 0x10067c9
cmp eax, 0x800b0110
je 0x10067b2
cmp eax, ebx
je 0x100674c
cmp eax, 0x47f
je 0x1006724
cmp dword [esi + 0x44], ebx
jne 0x100670b
push eax
push 0x1001be0
call fcn.01002585
pop ecx
pop ecx
cmp dword [esi + 0x4c], ebx
je 0x10067d8
push dword [ebp - 0xb54]
call fcn.01005795
jmp 0x10067d8
cmp dword [esi + 0x44], ebx
jne 0x10067d8
cmp dword [esi + 0xa0], ebx
je 0x1006745
push 0x8aa
call fcn.01002459
pop ecx
jmp 0x10067d8
push 0x8ab
jmp 0x100673a
cmp dword [esi + 0x4c], ebx
je 0x100675c
push dword [ebp - 0xb54]
call fcn.01005795
cmp dword [esi + 0x48], ebx
je 0x1006789
push dword [ebp - 0xb54]
call fcn.01004f48
test eax, eax
jne 0x1006789
lea eax, [ebp - 0x260]
push eax
push 0x8a4
call fcn.01002459
inc dword [ebp - 0xb30]
pop ecx
pop ecx
mov eax, dword [esi + 0x8c]
cmp eax, ebx
je 0x1006916
push eax
push dword [ebp - 0xb54]
call fcn.01004cd4
test eax, eax
jne 0x1006916
push 0x8a7
jmp 0x10067d3
push 0x8ad
call fcn.010023c5
cmp dword [esi + 0x40], 1
je 0x10067d8
push 0x8ae
jmp 0x10067d3
cmp dword [esi + 0x44], ebx
jne 0x10067d8
push 0x8af
call fcn.010023c5
mov eax, dword [esi + 0x40]
sub eax, ebx
mov dword [ebp - 0xb58], edi
je 0x1006813
dec eax
je 0x1006804
dec eax
jne 0x1006ccd
lea eax, [ebp - 0xb74]
push eax
lea eax, [esi + 0x10]
push eax
push ebx
call sub.WINTRUST.dll_WinVerifyTrust
mov edi, eax
jmp 0x1006843
lea eax, [ebp - 0xb74]
push eax
lea eax, [ebp - 0x270]
jmp 0x10067f9
lea eax, [ebp - 0xb74]
push eax
lea eax, [ebp - 0x280]
push eax
push ebx
call sub.WINTRUST.dll_WinVerifyTrust
cmp dword [ebp - 0x29c], ebx
mov edi, eax
mov dword [ebp - 0xb70], ebx
je 0x1006843
push dword [ebp - 0x29c]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov dword [ebp - 0xb58], 1
lea eax, [ebp - 0xb34]
push eax
push ebx
push dword [esi + 0x34]
push dword [esi + 0x38]
push dword [ebp - 0xb2c]
call dword [ebp - 0xb78]
cmp eax, ebx
mov dword [ebp - 0xb34], eax
jne 0x10065df
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x4c], ebx
je 0x1006894
cmp eax, 0x490
je 0x1006894
push eax
push 0x1001b78
call fcn.01002585
pop ecx
pop ecx
cmp dword [esi + 0xc], 1
jne 0x1006963
cmp edi, 0x47f
je 0x1006963
cmp dword [esi + 0x4c], ebx
je 0x10068b9
push 0x89d
call fcn.01002414
xor eax, eax
cmp dword [esi + 0xa0], ebx
mov ecx, 0x110
lea edi, [ebp - 0x6c0]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x6c0], 0x440
je 0x100698c
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x6b4], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x290], eax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x28c], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], eax
jmp 0x100698c
cmp dword [esi + 0x44], ebx
jne 0x100692e
lea eax, [ebp - 0x260]
push eax
push 0x89b
call fcn.010024f9
pop ecx
pop ecx
mov eax, dword [esi + 0x40]
sub eax, ebx
mov dword [ebp - 0xb58], edi
je 0x100640d
dec eax
je 0x10063fb
dec eax
jne 0x1006ccd
lea eax, [ebp - 0xb74]
push eax
lea eax, [esi + 0x10]
push eax
push ebx
call sub.WINTRUST.dll_WinVerifyTrust
jmp 0x100643b
lea eax, [ebp - 0x260]
push eax
push 0x8a6
jmp 0x10060d0
cmp dword [esi + 0x4c], ebx
je 0x100698c
lea eax, [ebp - 0x260]
push eax
push 0x89a
call fcn.010024f9
pop ecx
pop ecx
xor eax, eax
push 0xc
pop ecx
lea edi, [ebp - 0xb74]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0xbd4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0xbd0], eax
lea eax, [ebp - 0xbd4]
xor ecx, ecx
mov dword [ebp - 0xb5c], eax
mov eax, dword [esi + 0x40]
inc ecx
sub eax, ebx
mov dword [ebp - 0xb74], 0x30
mov dword [ebp - 0xb58], ecx
mov dword [ebp - 0xb68], 2
mov dword [ebp - 0xb64], ebx
mov dword [ebp - 0xbd4], 0x10
mov dword [ebp - 0xb60], ecx
mov dword [ebp - 0xb70], ebx
je 0x1006a20
dec eax
je 0x1006a11
dec eax
jne 0x1006ccd
lea eax, [ebp - 0xb74]
push eax
lea eax, [esi + 0x10]
jmp 0x1006a2d
lea eax, [ebp - 0xb74]
push eax
lea eax, [ebp - 0x270]
jmp 0x1006a2d
lea eax, [ebp - 0xb74]
push eax
lea eax, [ebp - 0x280]
push eax
push ebx
call sub.WINTRUST.dll_WinVerifyTrust
cmp eax, ebx
jne 0x1006ac5
cmp dword [esi + 0x4c], ebx
je 0x1006a4c
push dword [ebp - 0xb54]
call fcn.01005795
cmp dword [esi + 0x48], ebx
je 0x1006a79
push dword [ebp - 0xb54]
call fcn.01004f48
test eax, eax
jne 0x1006a79
lea eax, [ebp - 0x260]
push eax
push 0x8a4
call fcn.01002459
inc dword [ebp - 0xb30]
pop ecx
pop ecx
mov eax, dword [esi + 0x8c]
cmp eax, ebx
je 0x1006aa2
push eax
push dword [ebp - 0xb54]
call fcn.01004cd4
test eax, eax
jne 0x1006aa2
push 0x8a7
call fcn.010023c5
jmp 0x1006b66
cmp dword [esi + 0x44], ebx
jne 0x1006aba
lea eax, [ebp - 0x260]
push eax
push 0x89b
call fcn.010024f9
pop ecx
pop ecx
inc dword [ebp - 0xb38]
jmp 0x1006b7f
cmp dword [esi + 0x44], ebx
jne 0x1006b56
mov ecx, 0x800b0100
cmp eax, ecx
jg 0x1006b18
je 0x1006b11
cmp eax, 0x80070005
je 0x1006b0a
cmp eax, 0x80070020
je 0x1006b03
cmp eax, 0x800703ee
je 0x1006afc
cmp eax, 0x800b0003
jne 0x1006b26
push 0x8ac
jmp 0x1006b51
push 0x7d8
jmp 0x1006b51
push 0x7d7
jmp 0x1006b51
push 0x7d6
jmp 0x1006b51
push 0x8af
jmp 0x1006b51
cmp eax, 0x800b0109
je 0x1006b4c
cmp eax, 0x800b0110
je 0x1006b35
push eax
push 0x1001be0
call fcn.01002585
pop ecx
pop ecx
jmp 0x1006b56
push 0x8ad
call fcn.010023c5
cmp dword [esi + 0x40], 1
je 0x1006b56
push 0x8ae
jmp 0x1006b51
push 0x8b0
call fcn.010023c5
cmp dword [esi + 0x4c], ebx
je 0x1006b66
push dword [ebp - 0xb54]
call fcn.01005795
lea eax, [ebp - 0x260]
push eax
push 0x8a6
call fcn.01002459
inc dword [ebp - 0xb20]
pop ecx
pop ecx
mov eax, dword [esi + 0x40]
sub eax, ebx
mov dword [ebp - 0xb58], 2
je 0x1006bb5
dec eax
je 0x1006ba6
dec eax
jne 0x1006ccd
lea eax, [ebp - 0xb74]
push eax
lea eax, [esi + 0x10]
jmp 0x1006bc2
lea eax, [ebp - 0xb74]
push eax
lea eax, [ebp - 0x270]
jmp 0x1006bc2
lea eax, [ebp - 0xb74]
push eax
lea eax, [ebp - 0x280]
push eax
push ebx
call sub.WINTRUST.dll_WinVerifyTrust
cmp dword [esi + 0x54], ebx
je 0x1006bea
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf70]
mov dword [eax + 0x14c0], 0x10016c8
mov dword [eax + 0x14c4], ebx
lea eax, [ebp - 0xb1c]
push eax
push dword [ebp - 0xb94]
call fcn.01009e28
test eax, eax
jne 0x1005dcd
cmp dword [ebp - 0xb84], ebx
jne 0x1006c2c
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0xb44]
push dword [eax + ecx*4]
inc dword [ebp - 0xb20]
push 0x3ec
call fcn.01002459
pop ecx
pop ecx
jmp 0x1006c38
push dword [ebp - 0xb94]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0xb44]
inc edi
cmp edi, dword [esi + 8]
mov dword [ebp - 0xb44], edi
jb 0x1005cb2
jmp 0x1006cd8
push dword [esi + 0x68]
push 0x3ec
call fcn.01002459
jmp 0x1005f7a
push 0x7d7
jmp 0x1006c71
push 0x7d6
call fcn.010023c5
push dword [esi + 0x68]
push 0x8a8
call fcn.01002459
inc dword [ebp - 0xb20]
pop ecx
mov dword [ebp - 0xb40], ebx
jmp 0x1006cd7
push 0x3f0
call fcn.01002459
pop ecx
jmp 0x1006e87
inc dword [ebp - 0xb20]
push 0x969
call fcn.010023c5
jmp 0x1006cd8
push dword [ebp - 0xb3c]
inc dword [ebp - 0xb20]
push 0x100183c
call fcn.01002585
pop ecx
jmp 0x1006cd7
push 0x3f0
call fcn.01002459
pop ecx
cmp dword [esi + 0x4c], ebx
jne 0x1006cf2
cmp dword [esi + 0x44], ebx
jne 0x1006d5b
cmp dword [ebp - 0xb20], ebx
jne 0x1006cf2
cmp dword [ebp - 0xb30], ebx
je 0x1006d5b
push 0x1001690
call dword [sym.imp.msvcrt.dll_wprintf]
cmp dword [esi + 0x4c], ebx
pop ecx
jne 0x1006d0b
cmp dword [ebp - 0xb38], ebx
je 0x1006d1d
push dword [ebp - 0xb38]
push 0x898
call fcn.010024f9
pop ecx
pop ecx
cmp dword [esi + 0x4c], ebx
jne 0x1006d2a
cmp dword [ebp - 0xb30], ebx
je 0x1006d3c
push dword [ebp - 0xb30]
push 0x7d0
call fcn.010024f9
pop ecx
pop ecx
cmp dword [esi + 0x4c], ebx
jne 0x1006d49
cmp dword [ebp - 0xb20], ebx
je 0x1006d5b
push dword [ebp - 0xb20]
push 0x7d1
call fcn.010024f9
pop ecx
pop ecx
cmp dword [esi + 0x54], ebx
je 0x1006d7e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf70]
mov ecx, dword [ebp - 0xba0]
mov dword [eax + 0x14c0], ecx
mov dword [eax + 0x14c4], ebx
cmp dword [ebp - 0xb2c], ebx
je 0x1006df0
cmp dword [ebp - 0xb34], ebx
je 0x1006dc2
cmp dword [ebp - 0xb24], ebx
je 0x1006dc2
cmp dword [ebp - 0xb88], ebx
jne 0x1006dc2
push 0x1001710
push dword [ebp - 0xb24]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1006dc2
push ebx
push dword [ebp - 0xb34]
push dword [ebp - 0xb2c]
call eax
cmp dword [ebp - 0xb2c], ebx
je 0x1006df0
cmp dword [ebp - 0xb24], ebx
je 0x1006df0
push 0x1001804
push dword [ebp - 0xb24]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1006df0
push ebx
push dword [ebp - 0xb2c]
call eax
cmp dword [ebp - 0xb40], ebx
je 0x1006e1d
cmp dword [ebp - 0xb24], ebx
je 0x1006e1d
push 0x1001b64
push dword [ebp - 0xb24]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1006e1d
push dword [ebp - 0xb40]
call eax
cmp dword [esi + 0x34], 0x14
jne 0x1006e38
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x1006e38
push eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
cmp dword [ebp - 0xb24], ebx
je 0x1006e4c
push dword [ebp - 0xb24]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0xb20], ebx
jne 0x1006e87
cmp dword [ebp - 0xb30], ebx
je 0x1006e67
push 2
pop eax
jmp 0x1006e8a
cmp dword [ebp - 0xb38], ebx
je 0x1006e73
xor eax, eax
jmp 0x1006e8a
push 0x7d3
call fcn.010023c5
push 0x3f0
call fcn.010023c5
xor eax, eax
inc eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.010094f4
leave
ret 4