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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8dcc
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
push ebx
push esi
push edi
mov eax, dword [0x100bc210]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esi + 0x5c]
push eax
mov dword [esp + 0x74], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x88], 0
jne 0x1007bcb7
push dword [esi + 0x7c]
lea eax, [esp + 0x5c]
push eax
call fcn.100279f7
push 0x100194d0
lea eax, [esp + 0x60]
xor ebx, ebx
push eax
mov dword [esp + 0x200], ebx
call fcn.1005f448
push 0x10019508
lea eax, [esp + 0x58]
push eax
lea edi, [esp + 0x60]
mov byte [esp + 0x200], 1
call fcn.1005fe35
lea eax, [esp + 0x5c]
push eax
push 0x10019530
mov byte [esp + 0x200], 2
push dword [esp + 0x5c]
mov edi, dword [esi + 0x84]
lea eax, [esp + 0x84]
push eax
call fcn.10026633
mov byte [esp + 0x1f8], 3
mov dword [esp + 0x28], ebx
cmp dword [esi + 0x28], ebx
jbe 0x1007b459
lea eax, [esi + 0x50]
mov dword [esp + 0x4c], eax
push 0x28
call fcn.10088115
pop ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x1f8], 4
cmp eax, ebx
je 0x1007b42a
push dword [esp + 0x28]
lea edi, [esi + 4]
call fcn.10046662
push dword [esi + 0x84]
mov ebx, dword [esi + 0x80]
push dword [esi + 0x7c]
mov edi, eax
push dword [esp + 0x1c]
call fcn.1007d6a0
jmp 0x1007b42c
xor eax, eax
mov byte [esp + 0x1f8], 3
mov esi, dword [esp + 0x4c]
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.100612d4
inc dword [esp + 0x28]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x28]
xor ebx, ebx
mov esi, eax
cmp ecx, dword [eax + 0x28]
jb 0x1007b3ea
push 0x18
call fcn.10088115
pop ecx
cmp eax, ebx
je 0x1007b485
mov ecx, dword [esi + 0x80]
mov dword [eax], 0x1001d164
lea edx, [esi + 0x30]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
jmp 0x1007b487
xor eax, eax
push 0x2c
mov dword [esi + 0x74], eax
call fcn.10088115
pop ecx
cmp eax, ebx
je 0x1007b4cf
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x80]
mov dword [eax], 0x1001d190
mov dword [eax + 8], ecx
lea edi, [esi + 0x30]
mov dword [eax + 4], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], 1
jmp 0x1007b4d1
xor eax, eax
mov ebx, dword [esi + 0x74]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x7c]
lea esi, [ebx + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], esi
call fcn.1007d814
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0x1f8], 5
mov ecx, dword [ebx + 4]
mov dword [esp + 0x28], eax
cmp dword [ecx + 0x24], eax
jbe 0x1007bc5b
mov ecx, 0x100bcf90
lea esi, [esp + 0x38]
call fcn.10084b65
push dword [esp + 0x28]
mov byte [esp + 0x1fc], 6
mov edi, dword [ebx + 4]
mov dword [esp + 0x40], 3
call fcn.10046662
push 0
push 0x100c4608
mov edi, 0x100c4218
push edi
push 0
push eax
call fcn.10094655
add esp, 0x14
mov esi, eax
mov eax, dword [esi + 0x20]
push 3
pop ecx
mov dword [esp + 0x3c], eax
cmp eax, ecx
je 0x1007b573
cmp eax, 2
jne 0x1007bc33
mov eax, dword [esp + 0x28]
or dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], eax
mov eax, dword [esi + 8]
dec eax
mov dword [esp + 0x2c], ecx
mov word [esp + 0x40], 0x100
je 0x1007bb02
sub eax, ecx
mov edi, dword [esi + 0x1c]
je 0x1007b881
dec eax
dec eax
je 0x1007b76d
call fcn.10026562
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x104]
push eax
call fcn.1008007a
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0xfc]
mov dword [esp + 0x3c], eax
call fcn.10063308
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x30]
call fcn.10080352
mov ebx, dword [esp + 0x24]
mov esi, dword [esi + 0x1c]
xor edi, edi
push edi
push 0x100c4378
push 0x100c4218
push edi
push esi
call fcn.10094655
mov esi, eax
add esp, 0x14
mov dword [esp + 0x50], esi
cmp esi, edi
je 0x1007bc33
mov eax, dword [esi + 0x10]
or dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x74], eax
mov dword [esp + 0x14], edi
test eax, eax
jle 0x1007bc33
mov byte [esp + 0x41], 0
test edi, edi
js 0x1007bcdf
cmp edi, dword [esi + 0x10]
jge 0x1007bcdf
mov eax, dword [esi + 0xc]
push 0
push 0x100c4258
mov ecx, edi
shl ecx, 2
mov eax, dword [eax + ecx]
push 0x100c4218
push 0
push eax
mov dword [esp + 0x5c], ecx
call fcn.10094655
add esp, 0x14
test eax, eax
je 0x1007bc24
lea ecx, [esp + 0x4c]
push ecx
call fcn.1003ab8e
mov byte [esp + 0x1f8], 7
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.10084bc8
add eax, 0x10
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
mov byte [esp + 0x1f8], 8
call fcn.100600f4
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x60], eax
call fcn.10084bc8
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x1f8], 9
cmp edi, dword [esi + 0x10]
jge 0x1007bcdf
mov eax, dword [esi + 0xc]
add eax, dword [esp + 0x48]
mov edi, dword [eax]
call fcn.10026562
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x8c]
push eax
call fcn.1008007a
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x84]
call fcn.10063308
cmp edi, 3
je 0x1007b719
cmp edi, 2
jne 0x1007bbf3
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x68]
call fcn.1006020f
cmp eax, 0xffffffff
lea eax, [esp + 0x18]
jne 0x1007bbc0
mov dword [esp + 0x3c], edi
lea edi, [esp + 0x38]
call fcn.1005f5c3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
push eax
lea edi, [esp + 0x30]
call fcn.10080352
lea ebx, [esp + 0x18]
call fcn.10060181
jmp 0x1007bbef
call fcn.10026562
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x1cc]
push eax
call fcn.1008007a
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x1c4]
mov dword [esp + 0x3c], eax
call fcn.10063308
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x30]
mov dword [esp + 0x30], 1
call fcn.10080352
mov eax, dword [esi + 0x1c]
push 1
push 0x100c439c
push 0x100c4218
xor edi, edi
push edi
push eax
call fcn.10094655
add esp, 0x14
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], edi
cmp dword [eax + 0x154], edi
jbe 0x1007b5f3
mov byte [esp + 0x41], 0
call fcn.10026562
mov edi, dword [esp + 0x44]
push eax
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.10043563
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0x30]
mov ebx, dword [ecx + 8]
mov edi, eax
call fcn.1007d6a0
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0xac]
call fcn.10063308
cmp edi, 3
je 0x1007b83a
cmp edi, 2
jne 0x1007b864
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x3c], edi
push eax
lea edi, [esp + 0x30]
call fcn.10080352
inc dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x154]
jb 0x1007b7ef
jmp 0x1007b5f3
mov dword [esp + 0x2c], 2
call fcn.10026562
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x1a4]
push eax
call fcn.1008007a
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x19c]
mov dword [esp + 0x3c], edi
call fcn.10063308
mov eax, dword [esi + 0x1c]
push 1
push 0x100c43bc
push 0x100c4218
push 0
push eax
call fcn.10094655
add esp, 0x14
cmp dword [esp + 0x20], 1
mov dword [esp + 0x18], eax
je 0x1007b8e6
cmp dword [esp + 0x20], 4
jne 0x1007ba26
cmp edi, 3
je 0x1007b8f0
cmp edi, 2
jne 0x1007b90e
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x30]
call fcn.10080352
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x158]
test edi, edi
je 0x1007b97f
call fcn.10026562
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x154]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.1008007a
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x14c]
call fcn.10063308
cmp edi, 3
je 0x1007b953
cmp edi, 2
jne 0x1007b97f
mov eax, dword [esp + 0x10]
and dword [esp + 0x34], 0
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x3c], edi
push eax
lea edi, [esp + 0x30]
mov byte [esp + 0x45], 0
call fcn.10080352
cmp dword [esp + 0x20], 4
jne 0x1007ba26
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x154]
test edi, edi
je 0x1007b5f3
call fcn.10026562
push eax
push 4
lea eax, [esp + 0xdc]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.1008007a
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0xd4]
mov dword [esp + 0x3c], eax
call fcn.10063308
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x30]
mov dword [esp + 0x38], 1
mov byte [esp + 0x45], 0
call fcn.10080352
cmp dword [esp + 0x3c], 3
je 0x1007ba08
cmp dword [esp + 0x3c], 2
jne 0x1007b5f3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x30]
call fcn.10080352
cmp dword [esp + 0x20], 3
jne 0x1007baa7
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x154]
test edi, edi
je 0x1007ba77
call fcn.10026562
push eax
push 3
lea eax, [esp + 0x12c]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.1008007a
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x124]
mov dword [esp + 0x3c], eax
call fcn.10063308
mov dword [esp + 0x34], 1
mov byte [esp + 0x41], 0
cmp dword [esp + 0x3c], 3
je 0x1007ba89
cmp dword [esp + 0x3c], 2
jne 0x1007b5f3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x30]
call fcn.10080352
cmp dword [esp + 0x20], 2
jne 0x1007b5f3
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x158]
test edi, edi
je 0x1007b5d5
call fcn.10026562
push eax
push 2
lea eax, [esp + 0x17c]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.1008007a
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x174]
mov dword [esp + 0x3c], eax
call fcn.10063308
and dword [esp + 0x34], 0
mov byte [esp + 0x41], 0
jmp 0x1007b5d5
mov eax, dword [esi + 0x1c]
and dword [esp + 0x2c], 0
push 1
push 0x100c44bc
push edi
push 0
push eax
call fcn.10094655
and dword [esp + 0x2c], 0
add esp, 0x14
cmp dword [eax + 0x9c], 0
mov dword [esp + 0x44], eax
jbe 0x1007b5f7
call fcn.10026562
mov edi, dword [esp + 0x44]
push eax
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.10041390
mov ebx, dword [ebx + 8]
lea ecx, [esp + 0x8c]
push ecx
mov edi, eax
call fcn.1007d6a0
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x84]
call fcn.10063308
cmp edi, 3
je 0x1007bb75
cmp edi, 2
jne 0x1007bb9f
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x3c], edi
push eax
lea edi, [esp + 0x30]
call fcn.10080352
inc dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x9c]
jb 0x1007bb33
jmp 0x1007b5f7
lea edi, [esp + 0x38]
mov dword [esp + 0x3c], 1
call fcn.1005f5c3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
push eax
lea edi, [esp + 0x30]
call fcn.10080352
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x60]
call fcn.10084c29
mov byte [esp + 0x1f8], 6
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.10084c29
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x74]
jl 0x1007b637
mov byte [esp + 0x1f8], 5
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.10084c29
inc dword [esp + 0x28]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax + 0x24]
jb 0x1007b518
lea esi, [esp + 0x64]
mov byte [esp + 0x1f8], 3
call fcn.1006f403
mov esi, dword [ebp + 8]
push dword [esi + 0x7c]
push dword [esi + 0x78]
call fcn.1007d863
lea eax, [esp + 0x78]
push eax
mov byte [esi + 0x88], 1
mov byte [esp + 0x1fc], 2
call fcn.10026674
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
call fcn.10084c29
push dword [esp + 0x70]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [esi + 0x88]
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.10083339
int3