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

Disassembly:
sub esp, 0xd8
mov eax, dword [0x100504f0]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xdc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xec]
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.10042b20
test byte [esi], 8
jne 0x100178ec
lea ebx, [edi + 0x70]
mov dword [esp + 0x50], edi
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 1
mov ecx, edi
call fcn.10017fc0
test byte [esi], 8
jne 0x100176ad
push esi
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.1002e6d0
mov ebp, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call ebp
test byte [esi], 8
jne 0x100178ec
push 1
lea ecx, [esp + 0x24]
call fcn.1001ad90
mov eax, dword [edi + 0x54]
mov dword [esp + 0x78], eax
mov ax, word [edi + 0x58]
mov word [esp + 0x7c], ax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0x50]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x20]
push 2
push eax
call fcn.100340e0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x7e], eax
call fcn.10032ab0
push dword [esp + 0x7e]
lea eax, [esp + 0x4c]
push esi
push eax
lea ecx, [esp + 0x98]
call fcn.10033980
lea ecx, [esp + 0x8c]
mov dword [esp + 0x82], eax
call fcn.10032b60
test byte [esi], 8
jne 0x100178ec
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0
mov ecx, edi
call fcn.10017fc0
test byte [esi], 8
jne 0x1001775e
push esi
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.1002e6d0
push ebx
call ebp
test byte [esi], 8
jne 0x100178ec
push esi
push dword [esp + 0x14]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x20]
call fcn.1001b6d0
mov dword [edi + 0xa8], eax
test byte [esi], 8
jne 0x100178ec
cmp dword [esp + 0x18], 0
je 0x1001779c
lea ecx, [esp + 0x14]
call fcn.1002f520
cmp dword [esp + 0x24], 0
je 0x100177ac
lea ecx, [esp + 0x20]
call fcn.1002f520
push esi
push 1
lea ecx, [esp + 0x50]
call fcn.10042d30
test byte [esi], 8
jne 0x100178ec
push dword [esp + 0x7e]
lea eax, [edi + 0xec]
push eax
lea ecx, [edi + 0x114]
call fcn.10034910
cmp dword [edi + 0x44], 1
mov eax, dword [esp + 0x82]
mov dword [edi + 0x16c], eax
je 0x100178ac
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], edi
call fcn.1003a090
mov dword [esp + 0x10], eax
lea ebp, [edi + 0x17c]
mov dword [esp + 0x2c], 0
xor ebx, ebx
mov dword [esp + 0x30], 0
test byte [esi], 8
jne 0x100178a3
cmp ebx, eax
jae 0x1001792e
mov eax, dword [edi]
mov ecx, edi
push esi
push 0
call dword [eax + 4]
mov dword [ebp], eax
test byte [esi], 8
jne 0x10017892
lea ecx, [esp + 0x48]
push ecx
push esi
push eax
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.10017f00
test byte [esi], 8
jne 0x10017892
push 0x53
push dword [esp + 0x34]
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.10041a60
cmp dword [esp + 0x30], 0
je 0x10017889
lea ecx, [esp + 0x2c]
call fcn.1002f520
lea ecx, [esp + 0x3c]
call fcn.10040b70
mov eax, dword [esp + 0x10]
inc ebx
add ebp, 4
cmp ebx, 6
jb 0x10017817
lea ecx, [esp + 0x2c]
call fcn.1002f490
test byte [esi], 8
jne 0x100178c1
lea eax, [edi + 0x17c]
push eax
lea ecx, [esp + 0x18]
call fcn.1001b8f0
lea eax, [edi + 0x194]
push eax
push 0x100
lea ecx, [esp + 0x1c]
call fcn.1001b990
test byte [esi], 8
jne 0x100178ec
push esi
push 1
lea ecx, [esp + 0x50]
call fcn.10042d30
test byte [esi], 8
je 0x100178f8
push esi
push 1
lea ecx, [esp + 0x50]
call fcn.10042c80
lea ecx, [esp + 0x48]
call fcn.10042c00
lea ecx, [esp + 0x20]
call fcn.1002f490
lea ecx, [esp + 0x14]
call fcn.1002f490
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10044550
add esp, 0xd8
ret 8
mov dword [ebp], 0
jmp 0x10017896