Function at 0x17d0c3ab
Capabilities:
Link many functions at runtime

Disassembly:
push 0xb8
mov eax, 0x17d1818f
call fcn.17ce4c31
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], edi
cmp ecx, edi
jne 0x17d0c40a
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c3f5
test byte [eax + 0x1c], 1
je 0x17d0c3f5
push 0x80070057
push 0x17c98c5c
push 0x6a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x78], 0x80070057
push 0x17d23160
lea eax, [ebp - 0x78]
push eax
call sub.msvcrt.dll__CxxThrowException
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0xa0], eax
cmp eax, edi
jne 0x17d0c457
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c440
test byte [eax + 0x1c], 1
je 0x17d0c440
push 0x8007000d
push 0x17c98c5c
push 0x6b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0xb0], 0x8007000d
push 0x17d23160
lea eax, [ebp - 0xb0]
jmp 0x17d0c404
mov eax, dword [ecx + 0x1c]
cmp eax, edi
jne 0x17d0c49b
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c487
test byte [eax + 0x1c], 1
je 0x17d0c487
push 0x8007000d
push 0x17c98c5c
push 0x6c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x58], 0x8007000d
push 0x17d23160
lea eax, [ebp - 0x58]
jmp 0x17d0c404
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x4c], eax
cmp eax, edi
jne 0x17d0c4e8
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c4ce
test byte [eax + 0x1c], 1
je 0x17d0c4ce
push 0x8007000d
push 0x17c98c5c
push 0x6d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0xb4], 0x8007000d
push 0x17d23160
lea eax, [ebp - 0xb4]
jmp 0x17d0c404
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x7c], ecx
cmp ecx, edi
jne 0x17d0c52f
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c51b
test byte [eax + 0x1c], 1
je 0x17d0c51b
push 0x8007000d
push 0x17c98c5c
push 0x6e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x60], 0x8007000d
push 0x17d23160
lea eax, [ebp - 0x60]
jmp 0x17d0c404
push 0x17c93724
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x38], ebx
cmp ebx, edi
jne 0x17d0c597
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x17d0c55a
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c581
test byte [eax + 0x1c], 1
je 0x17d0c581
push esi
push 0x17c98c5c
push 0x6f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x90], esi
push 0x17d23160
lea eax, [ebp - 0x90]
jmp 0x17d0c404
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x17c93714
push ebx
call esi
mov dword [ebp - 0xac], eax
cmp eax, edi
jne 0x17d0c5fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x17d0c5c3
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c5ea
test byte [eax + 0x1c], 1
je 0x17d0c5ea
push esi
push 0x17c98c5c
push 0x70
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x68], esi
push 0x17d23160
lea eax, [ebp - 0x68]
jmp 0x17d0c404
push 0x17c9369c
push ebx
call esi
mov dword [ebp - 0x3c], eax
cmp eax, edi
jne 0x17d0c65a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x17d0c61d
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c644
test byte [eax + 0x1c], 1
je 0x17d0c644
push esi
push 0x17c98c5c
push 0x71
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0xa8], esi
push 0x17d23160
lea eax, [ebp - 0xa8]
jmp 0x17d0c404
push 0x17c93668
push ebx
call esi
mov dword [ebp - 0x8c], eax
cmp eax, edi
jne 0x17d0c6b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x17d0c680
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c6a7
test byte [eax + 0x1c], 1
je 0x17d0c6a7
push esi
push 0x17c98c5c
push 0x72
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x70], esi
push 0x17d23160
lea eax, [ebp - 0x70]
jmp 0x17d0c404
push 0x17c93630
push ebx
call esi
mov dword [ebp - 0x40], eax
cmp eax, edi
jne 0x17d0c717
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x17d0c6da
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c701
test byte [eax + 0x1c], 1
je 0x17d0c701
push esi
push 0x17c98c5c
push 0x73
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x98], esi
push 0x17d23160
lea eax, [ebp - 0x98]
jmp 0x17d0c404
push 0x17c936dc
push ebx
call esi
mov dword [ebp - 0x54], eax
cmp eax, edi
jne 0x17d0c771
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x17d0c73a
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c761
test byte [eax + 0x1c], 1
je 0x17d0c761
push esi
push 0x17c98c5c
push 0x74
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x50], esi
push 0x17d23160
lea eax, [ebp - 0x50]
jmp 0x17d0c404
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x4c]
push edi
push edi
push dword [eax]
call dword [ebp - 0xac]
mov esi, eax
cmp esi, edi
jge 0x17d0c7bd
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c7ad
test byte [eax + 0x1c], 1
je 0x17d0c7ad
push esi
push 0x17c98c5c
push 0x75
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x80], esi
push 0x17d23160
lea eax, [ebp - 0x80]
jmp 0x17d0c404
mov edi, dword [ebp - 0xa0]
xor ebx, ebx
mov eax, dword [ebp - 0x4c]
cmp ebx, dword [eax + 0x10]
jge 0x17d0c8b0
test edi, edi
jne 0x17d0c818
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c7fe
test byte [eax + 0x1c], 1
je 0x17d0c7fe
push 0x8007000d
push 0x17c98c5c
push 0x76
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x88], 0x8007000d
push 0x17d23160
lea eax, [ebp - 0x88]
jmp 0x17d0c404
mov esi, dword [edi]
lea ecx, [ebp - 0x30]
call fcn.17cd1587
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
test esi, esi
je 0x17d0c83c
push esi
call fcn.17cc29f1
cmp dword [ebp - 0x1c], 0
jne 0x17d0c846
lea ecx, [ebp - 0x30]
push 0x17c98d38
call fcn.17cc29f1
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x17d0c852
lea eax, [ebp - 0x2c]
push eax
push 0
push ebx
push dword [ebp - 0x34]
call dword [ebp - 0x54]
mov esi, eax
test esi, esi
jge 0x17d0c897
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c887
test byte [eax + 0x1c], 1
je 0x17d0c887
push esi
push 0x17c98c5c
push 0x77
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x5c], esi
push 0x17d23160
lea eax, [ebp - 0x5c]
jmp 0x17d0c404
push 0
push 1
lea ecx, [ebp - 0x30]
add edi, 4
mov byte [ebp - 4], 0
call fcn.17cc1dce
inc ebx
jmp 0x17d0c7c5
mov eax, dword [ebp - 0x44]
xor esi, esi
cmp dword [eax + 0x10], esi
je 0x17d0c99e
mov edi, dword [eax + 0x14]
cmp edi, esi
jne 0x17d0c902
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c8ee
test byte [eax + 0x1c], 1
je 0x17d0c8ee
push 0x8007000d
push 0x17c98c5c
push 0x78
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x64], 0x8007000d
push 0x17d23160
lea eax, [ebp - 0x64]
jmp 0x17d0c404
cmp esi, dword [eax + 0x10]
jge 0x17d0c99e
mov eax, dword [edi + esi*4]
test eax, eax
jne 0x17d0c94f
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c93b
test byte [eax + 0x1c], 1
je 0x17d0c93b
push 0x8007000d
push 0x17c98c5c
push 0x79
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x6c], 0x8007000d
push 0x17d23160
lea eax, [ebp - 0x6c]
jmp 0x17d0c404
push 0
push 5
push eax
push dword [ebp - 0x34]
call dword [ebp - 0x3c]
mov ebx, eax
test ebx, ebx
jge 0x17d0c995
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c985
test byte [eax + 0x1c], 1
je 0x17d0c985
push ebx
push 0x17c98c5c
push 0x7a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x74], ebx
push 0x17d23160
lea eax, [ebp - 0x74]
jmp 0x17d0c404
mov eax, dword [ebp - 0x44]
inc esi
jmp 0x17d0c902
xor edi, edi
push edi
push 5
push dword [ebp - 0x7c]
push dword [ebp - 0x34]
call dword [ebp - 0x3c]
mov esi, eax
cmp esi, edi
jge 0x17d0c9ed
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0c9d7
test byte [eax + 0x1c], 1
je 0x17d0c9d7
push esi
push 0x17c98c5c
push 0x7b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x84], esi
push 0x17d23160
lea eax, [ebp - 0x84]
jmp 0x17d0c404
mov ebx, 0x80
call fcn.17d0bf40
test al, al
jne 0x17d0ca14
cmp byte [ebp + 0xc], al
je 0x17d0ca16
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
call fcn.17d0a029
test eax, eax
jl 0x17d0ca16
cmp dword [ebp - 0x3c], edi
je 0x17d0ca16
xor ebx, ebx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x1c]
cmp eax, edi
je 0x17d0ca68
mov eax, dword [eax + 0x10]
cmp eax, edi
je 0x17d0ca68
mov eax, dword [eax + 4]
cmp eax, edi
je 0x17d0ca68
mov ecx, 0x17c98cf8
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x17d0ca59
cmp dx, di
je 0x17d0ca55
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x17d0ca59
add eax, 4
add ecx, 4
cmp dx, di
jne 0x17d0ca33
xor eax, eax
jmp 0x17d0ca5e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x17d0ca68
or ebx, 0x100
lea eax, [ebp - 0x48]
push eax
push ebx
push 2
pop ebx
push ebx
push dword [ebp - 0x34]
call dword [ebp - 0x8c]
mov esi, eax
cmp esi, edi
jge 0x17d0cabb
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0caa5
test byte [eax + 0x1c], 1
je 0x17d0caa5
push esi
push 0x17c98c5c
push 0x7c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 0x94], esi
push 0x17d23160
lea eax, [ebp - 0x94]
jmp 0x17d0c404
cmp dword [ebp - 0x48], ebx
jne 0x17d0cadc
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0cb02
test byte [eax + 0x1c], 4
je 0x17d0cb02
push ebx
push 0x17c98c5c
push 0x7d
jmp 0x17d0caf7
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d0cb02
test byte [eax + 0x1c], bl
je 0x17d0cb02
push dword [ebp - 0x48]
push 0x17c98c5c
push 0x7e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
cmp dword [ebp - 0x34], edi
je 0x17d0cb10
push dword [ebp - 0x34]
call dword [ebp - 0x40]
mov dword [ebp - 0x34], edi
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.17ce4c9c
ret 8