Function at 0x10013630
Capabilities:
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10052558
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10065060]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10065060]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x94]
mov esi, ecx
lea eax, [esi + 0x68]
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebp
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x94], 0
call fcn.10014cb0
lea ecx, [esp + 0x60]
add esi, 0x28
push ecx
lea edx, [esp + 0x30]
mov byte [esp + 0x90], 1
mov ebx, dword [esi + 0x18]
mov edi, dword [esi]
push edx
mov dword [esp + 0x44], esi
call fcn.10008c80
mov esi, eax
test edi, edi
je 0x100136c7
cmp edi, dword [esi]
je 0x100136cc
call fcn.1003a2ad
cmp ebx, dword [esi + 4]
je 0x1001372e
cmp dword [ebp + 0x20], 8
jb 0x100136dc
mov eax, dword [ebp + 0xc]
jmp 0x100136df
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp]
push eax
push str.T_N9SM
call fcn.1002a9d5
add esp, 0xc
cmp dword [esp + 0x78], 8
jb 0x10013705
mov ecx, dword [esp + 0x64]
push ecx
call fcn.1003a2e7
add esp, 4
mov eax, dword [esp + 0x24]
xor edx, edx
push eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], dx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x10013b15
mov esi, dword [esp + 0x28]
mov ebx, dword [esi + 0x60]
mov edi, dword [esi + 0x48]
lea ecx, [esp + 0x60]
add esi, 0x48
push ecx
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x40], esi
call fcn.10008c80
mov esi, eax
test edi, edi
je 0x10013758
cmp edi, dword [esi]
je 0x1001375d
call fcn.1003a2ad
cmp ebx, dword [esi + 4]
je 0x100137bf
cmp dword [ebp + 0x20], 8
jb 0x1001376d
mov eax, dword [ebp + 0xc]
jmp 0x10013770
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp]
push eax
push str.T_N
call fcn.1002a9d5
add esp, 0xc
cmp dword [esp + 0x78], 8
jb 0x10013796
mov ecx, dword [esp + 0x64]
push ecx
call fcn.1003a2e7
add esp, 4
mov eax, dword [esp + 0x24]
xor edx, edx
push eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], dx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x10013b15
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 8]
mov byte [esp + 0x17], 0
mov dword [esp + 0x18], edx
mov esi, dword [ecx + 0x1c]
mov eax, dword [ecx + 8]
test edx, edx
je 0x100137e6
cmp edx, eax
je 0x100137eb
call fcn.1003a2ad
cmp dword [esp + 0x1c], esi
je 0x10013ac8
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x100138bd
call fcn.1003a2ad
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x14]
jne 0x10013816
call fcn.1003a2ad
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x100138c4
call fcn.1003a2ad
xor eax, eax
mov edx, dword [esp + 0x1c]
cmp edx, dword [eax + 0x14]
jne 0x10013837
call fcn.1003a2ad
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x28]
mov esi, dword [eax]
mov dword [esp + 0x2c], ecx
jmp 0x10013850
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x3c]
mov eax, dword [eax + 0x28]
test ecx, ecx
je 0x10013862
cmp ecx, eax
je 0x1001386b
call fcn.1003a2ad
mov ecx, dword [esp + 0x2c]
cmp esi, edi
je 0x10013a0d
test ecx, ecx
jne 0x100138cb
call fcn.1003a2ad
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x10013888
call fcn.1003a2ad
cmp dword [ebp + 0x70], 0
je 0x10013904
cmp dword [esi + 0x1c], 0
je 0x10013904
lea eax, [ebp + 0x5c]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.10002dd0
add esp, 8
mov ecx, eax
mov byte [esp + 0x8c], 2
cmp dword [esi + 0x20], 8
mov edi, dword [esi + 0x1c]
jb 0x100138cf
mov eax, dword [esi + 0xc]
jmp 0x100138d2
mov eax, dword [eax]
jmp 0x10013808
mov eax, dword [eax]
jmp 0x10013829
mov eax, dword [ecx]
jmp 0x1001387e
lea eax, [esi + 0xc]
push eax
mov eax, dword [ecx + 0x14]
call fcn.1000cca0
test eax, eax
sete bl
mov byte [esp + 0x8c], 1
cmp dword [esp + 0x5c], 8
jb 0x100138fc
mov edx, dword [esp + 0x48]
push edx
call fcn.1003a2e7
add esp, 4
test bl, bl
jne 0x10013a45
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x100139e1
test al, 1
je 0x1001396e
cmp dword [esi + 0x38], 0
je 0x1001396e
mov edx, 8
cmp dword [ebp + 0x20], edx
jb 0x1001392c
mov eax, dword [ebp + 0xc]
jmp 0x1001392f
lea eax, [ebp + 0xc]
test eax, eax
je 0x1001396e
cmp dword [esi + 0x3c], edx
jb 0x1001393d
mov eax, dword [esi + 0x28]
jmp 0x10013940
lea eax, [esi + 0x28]
test eax, eax
je 0x1001396e
cmp dword [esi + 0x3c], edx
jb 0x1001394e
mov ecx, dword [esi + 0x28]
jmp 0x10013951
lea ecx, [esi + 0x28]
cmp dword [ebp + 0x20], edx
jb 0x1001395b
mov eax, dword [ebp + 0xc]
jmp 0x1001395e
lea eax, [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10013a76
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0x24], 2
je 0x100139e1
cmp dword [esi + 0x70], 0
je 0x100139e1
mov edx, 8
cmp dword [ebp + 0xac], edx
jb 0x10013993
mov eax, dword [ebp + 0x98]
jmp 0x10013999
lea eax, [ebp + 0x98]
test eax, eax
je 0x100139e1
cmp dword [esi + 0x74], edx
jb 0x100139a7
mov eax, dword [esi + 0x60]
jmp 0x100139aa
lea eax, [esi + 0x60]
test eax, eax
je 0x100139e1
cmp dword [esi + 0x74], edx
jb 0x100139b8
mov ecx, dword [esi + 0x60]
jmp 0x100139bb
lea ecx, [esi + 0x60]
cmp dword [ebp + 0xac], edx
jb 0x100139cb
mov eax, dword [ebp + 0x98]
jmp 0x100139d1
lea eax, [ebp + 0x98]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10013a92
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x10013a09
call fcn.1003a2ad
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x10013a02
call fcn.1003a2ad
mov ecx, dword [esp + 0x2c]
mov esi, dword [esi]
jmp 0x10013850
mov eax, dword [ecx]
jmp 0x100139f4
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x10013a41
call fcn.1003a2ad
xor eax, eax
mov edx, dword [esp + 0x1c]
cmp edx, dword [eax + 0x14]
jne 0x10013a2a
call fcn.1003a2ad
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x28]
jmp 0x100137d8
mov eax, dword [eax]
jmp 0x10013a1c
cmp dword [ebp + 0x20], 8
jb 0x10013a50
mov eax, dword [ebp + 0xc]
jmp 0x10013a53
lea eax, [ebp + 0xc]
mov edx, dword [ebp]
push eax
push edx
push str.hash4k
call fcn.1002a4bb
mov ecx, dword [esp + 0x48]
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x1b], 1
push ecx
jmp 0x10013ad2
cmp dword [ebp + 0x20], 8
jb 0x10013a87
mov eax, dword [ebp + 0xc]
push eax
push str._vz_rT9SM
jmp 0x10013aaf
lea eax, [ebp + 0xc]
push eax
push str._vz_rT9SM
jmp 0x10013aaf
cmp dword [ebp + 0xac], 8
jb 0x10013aa3
mov eax, dword [ebp + 0x98]
jmp 0x10013aa9
lea eax, [ebp + 0x98]
push eax
push 0x10059580
call fcn.1002a9d5
mov ecx, dword [esp + 0x44]
add esp, 8
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x1b], 1
push ecx
jmp 0x10013ad2
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x18]
push edx
push eax
lea ebx, [esp + 0x68]
call fcn.10008b30
cmp dword [esp + 0x78], 8
jb 0x10013aef
mov ecx, dword [esp + 0x64]
push ecx
call fcn.1003a2e7
add esp, 4
mov eax, dword [esp + 0x24]
xor edx, edx
push eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], dx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.10039e38
add esp, 0x7c
ret 4