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

Disassembly:
push 0xffffffffffffffff
push 0x1007eb76
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10099060]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
push 0xd
xor ebx, ebx
mov esi, 0xf
push str.ignoreApiHook
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.10009130
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0xac], ebx
call fcn.10001ee0
add esp, 4
mov ebp, 0x10
mov byte [esp + 0xa8], 2
cmp dword [esp + 0x68], ebp
jb 0x1001616b
mov ecx, dword [esp + 0x54]
push ecx
call fcn.1005f31a
add esp, 4
cmp byte [esp + 0x8c], 7
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], 0
jne 0x100163bf
push 0xa
push str.whiteProcs
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], 0
call fcn.10009130
sub esp, 0x18
mov dword [esp + 0x30], esp
mov eax, esp
je 0x100161c1
mov dword [eax], vtable.std::tr1::_Impl_base1_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__.0
mov dword [eax], 0x100846cc
mov dword [eax + 4], fcn.10001360
mov dword [eax + 0x10], eax
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x50]
lea edx, [esp + 0xa0]
mov byte [esp + 0xc4], 4
call fcn.10001830
add esp, 4
mov byte [esp + 0xc0], 5
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
mov byte [esp + 0xc4], 6
call fcn.1000bd40
add esp, 0x1c
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x1001622c
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x7c]
push edx
call fcn.1000db40
mov eax, dword [esp + 0x7c]
add esp, 4
push eax
call fcn.1005f31a
add esp, 4
mov ecx, dword [esp + 0x6c]
push ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
call fcn.1005f31a
add esp, 4
mov byte [esp + 0xa8], 9
cmp dword [esp + 0x4c], ebp
jb 0x10016266
mov edx, dword [esp + 0x38]
push edx
call fcn.1005f31a
add esp, 4
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], 0
cmp esi, dword [esp + 0x2c]
jbe 0x10016282
call fcn.1005f2e0
mov ebx, dword [esp + 0x1c]
lea edi, [esi + 4]
lea esp, [esp]
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x28], esi
jbe 0x1001629f
call fcn.1005f2e0
test ebx, ebx
je 0x100162a9
cmp ebx, dword [esp + 0x1c]
je 0x100162ae
call fcn.1005f2e0
lea ebp, [edi - 4]
cmp ebp, esi
je 0x1001637c
test ebx, ebx
jne 0x100162dc
call fcn.1005f2e0
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x100162ce
call fcn.1005f2e0
mov esi, 8
cmp dword [edi + 0x14], esi
jb 0x100162e0
mov eax, dword [edi]
jmp 0x100162e2
mov eax, dword [ebx]
jmp 0x100162c4
mov eax, edi
test eax, eax
je 0x1001631a
test ebx, ebx
jne 0x10016304
call fcn.1005f2e0
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x100162fb
call fcn.1005f2e0
cmp dword [edi + 0x14], esi
jb 0x10016308
mov eax, dword [edi]
jmp 0x1001630a
mov eax, dword [ebx]
jmp 0x100162f1
mov eax, edi
push 0x1009f088
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001633b
test ebx, ebx
jne 0x10016337
call fcn.1005f2e0
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x1001632f
call fcn.1005f2e0
add edi, 0x1c
jmp 0x10016290
mov eax, dword [ebx]
jmp 0x10016325
push 0x1009f088
push str.ignore_hook:__s
mov ebx, str.athenwdbg
call fcn.1003f549
add esp, 8
lea esi, [esp + 0x1c]
call fcn.10007d10
lea esi, [esp + 0x84]
mov dword [esp + 0xa8], 0xffffffff
call fcn.10044696
mov eax, 1
jmp 0x10016407
mov eax, dword [esp + 0x28]
xor esi, esi
cmp eax, esi
je 0x100163a4
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
push ecx
call fcn.1000dc30
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
call fcn.1005f31a
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.1005f31a
add esp, 4
xor ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.TsMed.exe
push 0x1009f088
call esi
test eax, eax
je 0x100163e5
push str.rbasclient.exe
push 0x1009f088
call esi
test eax, eax
jne 0x100163ec
mov edi, 1
jmp 0x100163ee
xor edi, edi
lea esi, [esp + 0x84]
mov dword [esp + 0xa8], 0xffffffff
call fcn.10044696
mov eax, edi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret