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

Disassembly:
push 0xffffffffffffffff
push 0xbd0df1
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0xc416ec]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov edi, dword [esp + 0x94]
mov esi, ecx
lea ebp, [esi + 4]
xor ebx, ebx
mov dword [esp + 0x24], ebx
push ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x8c], 1
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], ebx
sar eax, 2
mov dword [esp + 0x20], ebx
test eax, eax
je 0xa92ab8
lea ebx, [ebx]
mov ecx, dword [esi + 0x1c]
movzx edx, word [esp + 0x98]
mov edi, dword [ecx + ebx*4]
lea eax, [ecx + ebx*4]
mov dword [esp + 0x28], edx
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
push 0xb442d0
mov ebp, eax
mov eax, dword [edi + 4]
push 6
push eax
lea ecx, [ebp + 9]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00bc82fd
add esp, 0x14
test eax, eax
jne 0xa92a90
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x1c]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0xa92a40
jmp 0xa92aae
mov ecx, dword [eax + 2]
mov eax, dword [eax + 8]
sub eax, ecx
lea edi, [ecx + ebp]
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx + ebx*4]
mov ecx, dword [edx + 8]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
jne 0xa92ad5
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
xor ebx, ebx
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], ax
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0xa92c94
mov ebx, 7
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebp
mov word [esp + 0x2c], dx
mov byte [esp + 0x8c], 2
cmp ecx, 2
jne 0xa92b52
cdq
sub eax, edx
xor ecx, ecx
sar eax, 1
push eax
mov word [esp + 0x4c], cx
push edi
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebp
call fcn.00a21d20
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 3
call fcn.00a25300
mov byte [esp + 0x8c], 2
cmp dword [esp + 0x5c], 8
jb 0xa92be1
mov eax, dword [esp + 0x48]
push eax
call fcn.00b68a36
add esp, 4
jmp 0xa92be1
cmp ecx, 1
jne 0xa92be1
lea esi, [esp + 0x64]
lea ecx, [esp + 0x1c]
call fcn.00a927d0
lea ecx, [esp + 0x48]
push ecx
mov bl, 4
mov ecx, eax
mov byte [esp + 0x90], bl
call fcn.00a30bc0
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 5
call fcn.00a25300
mov byte [esp + 0x8c], bl
cmp dword [esp + 0x5c], 8
jb 0xa92bad
mov edx, dword [esp + 0x48]
push edx
call fcn.00b68a36
add esp, 4
xor eax, eax
mov byte [esp + 0x8c], 2
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], ax
jb 0xa92bdc
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00b68a36
add esp, 4
mov ebx, 7
mov esi, dword [esp + 0x18]
xor edx, edx
lea eax, [esp + 0x2c]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebp
mov word [esi], dx
lea edi, [edx + 8]
cmp esi, eax
je 0xa92c55
cmp dword [esi + 0x14], edi
jb 0xa92c0b
mov eax, dword [esi]
push eax
call fcn.00b68a36
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebp
mov word [esi], cx
cmp dword [esp + 0x40], edi
jae 0xa92c35
mov edx, dword [esp + 0x3c]
lea eax, [edx + edx + 2]
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
call fcn.00b68cc0
add esp, 0xc
jmp 0xa92c3f
mov edx, dword [esp + 0x2c]
mov dword [esi], edx
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov byte [esp + 0x8c], 1
mov dword [esp + 0x24], 1
cmp dword [esp + 0x40], edi
jb 0xa92c78
mov edx, dword [esp + 0x2c]
push edx
call fcn.00b68a36
add esp, 4
mov ecx, dword [esp + 0x14]
xor eax, eax
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebp
mov word [esp + 0x30], ax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00b68a41
add esp, 0x7c
ret 8