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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a553a
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
push ebx
push esi
push edi
mov eax, dword [0x100b8210]
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 0x10079f5b
push dword [esi + 0x7c]
lea eax, [esp + 0x5c]
push eax
call fcn.10027ebc
push 0x10019818
lea eax, [esp + 0x60]
xor ebx, ebx
push eax
mov dword [esp + 0x200], ebx
call fcn.1005e2c8
push 0x10019850
lea eax, [esp + 0x58]
push eax
lea edi, [esp + 0x60]
mov byte [esp + 0x200], 1
call fcn.1005ec33
lea eax, [esp + 0x5c]
push eax
push 0x10019878
mov byte [esp + 0x200], 2
push dword [esp + 0x5c]
mov edi, dword [esi + 0x84]
lea eax, [esp + 0x84]
push eax
call fcn.10026b7f
mov byte [esp + 0x1f8], 3
mov dword [esp + 0x28], ebx
cmp dword [esi + 0x28], ebx
jbe 0x100796fd
lea eax, [esi + 0x50]
mov dword [esp + 0x4c], eax
push 0x28
call fcn.10085d33
pop ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x1f8], 4
cmp eax, ebx
je 0x100796ce
push dword [esp + 0x28]
lea edi, [esi + 4]
call fcn.10045ff5
push dword [esi + 0x84]
mov ebx, dword [esi + 0x80]
push dword [esi + 0x7c]
mov edi, eax
push dword [esp + 0x1c]
call fcn.1007b887
jmp 0x100796d0
xor eax, eax
mov byte [esp + 0x1f8], 3
mov esi, dword [esp + 0x4c]
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.100612ec
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 0x1007968e
push 0x18
call fcn.10085d33
pop ecx
cmp eax, ebx
je 0x10079729
mov ecx, dword [esi + 0x80]
mov dword [eax], 0x1001d5ac
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 0x1007972b
xor eax, eax
push 0x2c
mov dword [esi + 0x74], eax
call fcn.10085d33
pop ecx
cmp eax, ebx
je 0x10079773
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x80]
mov dword [eax], 0x1001d5d8
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 0x10079775
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.1007b9e2
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 0x10079eff
mov ecx, 0x100b8f90
lea esi, [esp + 0x38]
call fcn.10082a50
push dword [esp + 0x28]
mov byte [esp + 0x1fc], 6
mov edi, dword [ebx + 4]
mov dword [esp + 0x40], 3
call fcn.10045ff5
push 0
push 0x100c0878
mov edi, 0x100c0488
push edi
push 0
push eax
call fcn.10091ce6
add esp, 0x14
mov esi, eax
mov eax, dword [esi + 0x20]
push 3
pop ecx
mov dword [esp + 0x3c], eax
cmp eax, ecx
je 0x10079817
cmp eax, 2
jne 0x10079ed7
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 0x10079da6
sub eax, ecx
mov edi, dword [esi + 0x1c]
je 0x10079b25
dec eax
dec eax
je 0x10079a11
call fcn.10026acc
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x104]
push eax
call fcn.1007e0e6
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0xfc]
mov dword [esp + 0x3c], eax
call fcn.10061ef6
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.1007e3af
mov ebx, dword [esp + 0x24]
mov esi, dword [esi + 0x1c]
xor edi, edi
push edi
push 0x100c05e8
push 0x100c0488
push edi
push esi
call fcn.10091ce6
mov esi, eax
add esp, 0x14
mov dword [esp + 0x50], esi
cmp esi, edi
je 0x10079ed7
mov eax, dword [esi + 0x10]
or dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x74], eax
mov dword [esp + 0x14], edi
test eax, eax
jle 0x10079ed7
mov byte [esp + 0x41], 0
test edi, edi
js 0x10079f83
cmp edi, dword [esi + 0x10]
jge 0x10079f83
mov eax, dword [esi + 0xc]
push 0
push 0x100c04c8
mov ecx, edi
shl ecx, 2
mov eax, dword [eax + ecx]
push 0x100c0488
push 0
push eax
mov dword [esp + 0x5c], ecx
call fcn.10091ce6
add esp, 0x14
test eax, eax
je 0x10079ec8
lea ecx, [esp + 0x4c]
push ecx
call fcn.1003a6d8
mov byte [esp + 0x1f8], 7
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.10082a9f
add eax, 0x10
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
mov byte [esp + 0x1f8], 8
call fcn.1005eec0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x60], eax
call fcn.10082a9f
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x1f8], 9
cmp edi, dword [esi + 0x10]
jge 0x10079f83
mov eax, dword [esi + 0xc]
add eax, dword [esp + 0x48]
mov edi, dword [eax]
call fcn.10026acc
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x8c]
push eax
call fcn.1007e0e6
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x84]
call fcn.10061ef6
cmp edi, 3
je 0x100799bd
cmp edi, 2
jne 0x10079e97
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x68]
call fcn.1005efcc
cmp eax, 0xffffffff
lea eax, [esp + 0x18]
jne 0x10079e64
mov dword [esp + 0x3c], edi
lea edi, [esp + 0x38]
call fcn.1005e434
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.1007e3af
lea ebx, [esp + 0x18]
call fcn.1005ef43
jmp 0x10079e93
call fcn.10026acc
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x1cc]
push eax
call fcn.1007e0e6
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x1c4]
mov dword [esp + 0x3c], eax
call fcn.10061ef6
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.1007e3af
mov eax, dword [esi + 0x1c]
push 1
push 0x100c060c
push 0x100c0488
xor edi, edi
push edi
push eax
call fcn.10091ce6
add esp, 0x14
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], edi
cmp dword [eax + 0x154], edi
jbe 0x10079897
mov byte [esp + 0x41], 0
call fcn.10026acc
mov edi, dword [esp + 0x44]
push eax
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.10042faa
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0x30]
mov ebx, dword [ecx + 8]
mov edi, eax
call fcn.1007b887
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0xac]
call fcn.10061ef6
cmp edi, 3
je 0x10079ade
cmp edi, 2
jne 0x10079b08
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.1007e3af
inc dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x154]
jb 0x10079a93
jmp 0x10079897
mov dword [esp + 0x2c], 2
call fcn.10026acc
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x1a4]
push eax
call fcn.1007e0e6
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x19c]
mov dword [esp + 0x3c], edi
call fcn.10061ef6
mov eax, dword [esi + 0x1c]
push 1
push 0x100c062c
push 0x100c0488
push 0
push eax
call fcn.10091ce6
add esp, 0x14
cmp dword [esp + 0x20], 1
mov dword [esp + 0x18], eax
je 0x10079b8a
cmp dword [esp + 0x20], 4
jne 0x10079cca
cmp edi, 3
je 0x10079b94
cmp edi, 2
jne 0x10079bb2
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.1007e3af
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x158]
test edi, edi
je 0x10079c23
call fcn.10026acc
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x154]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.1007e0e6
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x14c]
call fcn.10061ef6
cmp edi, 3
je 0x10079bf7
cmp edi, 2
jne 0x10079c23
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.1007e3af
cmp dword [esp + 0x20], 4
jne 0x10079cca
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x154]
test edi, edi
je 0x10079897
call fcn.10026acc
push eax
push 4
lea eax, [esp + 0xdc]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.1007e0e6
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0xd4]
mov dword [esp + 0x3c], eax
call fcn.10061ef6
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.1007e3af
cmp dword [esp + 0x3c], 3
je 0x10079cac
cmp dword [esp + 0x3c], 2
jne 0x10079897
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.1007e3af
cmp dword [esp + 0x20], 3
jne 0x10079d4b
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x154]
test edi, edi
je 0x10079d1b
call fcn.10026acc
push eax
push 3
lea eax, [esp + 0x12c]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.1007e0e6
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x124]
mov dword [esp + 0x3c], eax
call fcn.10061ef6
mov dword [esp + 0x34], 1
mov byte [esp + 0x41], 0
cmp dword [esp + 0x3c], 3
je 0x10079d2d
cmp dword [esp + 0x3c], 2
jne 0x10079897
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.1007e3af
cmp dword [esp + 0x20], 2
jne 0x10079897
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x158]
test edi, edi
je 0x10079879
call fcn.10026acc
push eax
push 2
lea eax, [esp + 0x17c]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.1007e0e6
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x174]
mov dword [esp + 0x3c], eax
call fcn.10061ef6
and dword [esp + 0x34], 0
mov byte [esp + 0x41], 0
jmp 0x10079879
mov eax, dword [esi + 0x1c]
and dword [esp + 0x2c], 0
push 1
push 0x100c072c
push edi
push 0
push eax
call fcn.10091ce6
and dword [esp + 0x2c], 0
add esp, 0x14
cmp dword [eax + 0x9c], 0
mov dword [esp + 0x44], eax
jbe 0x1007989b
call fcn.10026acc
mov edi, dword [esp + 0x44]
push eax
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.10040e85
mov ebx, dword [ebx + 8]
lea ecx, [esp + 0x8c]
push ecx
mov edi, eax
call fcn.1007b887
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x84]
call fcn.10061ef6
cmp edi, 3
je 0x10079e19
cmp edi, 2
jne 0x10079e43
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.1007e3af
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 0x10079dd7
jmp 0x1007989b
lea edi, [esp + 0x38]
mov dword [esp + 0x3c], 1
call fcn.1005e434
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.1007e3af
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x60]
call fcn.10082afb
mov byte [esp + 0x1f8], 6
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.10082afb
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x74]
jl 0x100798db
mov byte [esp + 0x1f8], 5
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.10082afb
inc dword [esp + 0x28]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax + 0x24]
jb 0x100797bc
lea esi, [esp + 0x64]
mov byte [esp + 0x1f8], 3
call fcn.1006dcf6
mov esi, dword [ebp + 8]
push dword [esi + 0x7c]
push dword [esi + 0x78]
call fcn.1007ba2c
lea eax, [esp + 0x78]
push eax
mov byte [esi + 0x88], 1
mov byte [esp + 0x1fc], 2
call fcn.10026bbb
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
call fcn.10082afb
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.1008132d
int3