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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10098a00
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
push ebx
push esi
push edi
mov eax, dword [0x100ae210]
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 0x10070c3b
push dword [esi + 0x7c]
lea eax, [esp + 0x5c]
push eax
call fcn.10024d12
push 0x10016d90
lea eax, [esp + 0x60]
xor ebx, ebx
push eax
mov dword [esp + 0x200], ebx
call fcn.100580f9
push 0x10016dc8
lea eax, [esp + 0x58]
push eax
lea edi, [esp + 0x60]
mov byte [esp + 0x200], 1
call fcn.10058a90
lea eax, [esp + 0x5c]
push eax
push 0x10016df0
mov byte [esp + 0x200], 2
push dword [esp + 0x5c]
mov edi, dword [esi + 0x84]
lea eax, [esp + 0x84]
push eax
call fcn.1002397d
mov byte [esp + 0x1f8], 3
mov dword [esp + 0x28], ebx
cmp dword [esi + 0x28], ebx
jbe 0x100703dd
lea eax, [esi + 0x50]
mov dword [esp + 0x4c], eax
push 0x28
call fcn.1007c44a
pop ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x1f8], 4
cmp eax, ebx
je 0x100703ae
push dword [esp + 0x28]
lea edi, [esi + 4]
call fcn.1004220d
push dword [esi + 0x84]
mov ebx, dword [esi + 0x80]
push dword [esi + 0x7c]
mov edi, eax
push dword [esp + 0x1c]
call fcn.10072669
jmp 0x100703b0
xor eax, eax
mov byte [esp + 0x1f8], 3
mov esi, dword [esp + 0x4c]
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.1005b0af
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 0x1007036e
push 0x18
call fcn.1007c44a
pop ecx
cmp eax, ebx
je 0x10070409
mov ecx, dword [esi + 0x80]
mov dword [eax], 0x1001a8e8
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 0x1007040b
xor eax, eax
push 0x2c
mov dword [esi + 0x74], eax
call fcn.1007c44a
pop ecx
cmp eax, ebx
je 0x10070453
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x80]
mov dword [eax], 0x1001a914
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 0x10070455
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.100727e3
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 0x10070bdf
mov ecx, 0x100aee70
lea esi, [esp + 0x38]
call fcn.10079180
push dword [esp + 0x28]
mov byte [esp + 0x1fc], 6
mov edi, dword [ebx + 4]
mov dword [esp + 0x40], 3
call fcn.1004220d
push 0
push 0x100b6410
mov edi, 0x100b6050
push edi
push 0
push eax
call fcn.10086c45
add esp, 0x14
mov esi, eax
mov eax, dword [esi + 0x20]
push 3
pop ecx
mov dword [esp + 0x3c], eax
cmp eax, ecx
je 0x100704f7
cmp eax, 2
jne 0x10070bb7
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 0x10070a86
sub eax, ecx
mov edi, dword [esi + 0x1c]
je 0x10070805
dec eax
dec eax
je 0x100706f1
call fcn.100238bb
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x104]
push eax
call fcn.10074f48
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0xfc]
mov dword [esp + 0x3c], eax
call fcn.1005ba66
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.10075223
mov ebx, dword [esp + 0x24]
mov esi, dword [esi + 0x1c]
xor edi, edi
push edi
push 0x100b6178
push 0x100b6050
push edi
push esi
call fcn.10086c45
mov esi, eax
add esp, 0x14
mov dword [esp + 0x50], esi
cmp esi, edi
je 0x10070bb7
mov eax, dword [esi + 0x10]
or dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x74], eax
mov dword [esp + 0x14], edi
test eax, eax
jle 0x10070bb7
mov byte [esp + 0x41], 0
test edi, edi
js 0x10070c63
cmp edi, dword [esi + 0x10]
jge 0x10070c63
mov eax, dword [esi + 0xc]
push 0
push 0x100b6090
mov ecx, edi
shl ecx, 2
mov eax, dword [eax + ecx]
push 0x100b6050
push 0
push eax
mov dword [esp + 0x5c], ecx
call fcn.10086c45
add esp, 0x14
test eax, eax
je 0x10070ba8
lea ecx, [esp + 0x4c]
push ecx
call fcn.10036d17
mov byte [esp + 0x1f8], 7
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.100791e7
add eax, 0x10
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
mov byte [esp + 0x1f8], 8
call fcn.10058d59
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x60], eax
call fcn.100791e7
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x1f8], 9
cmp edi, dword [esi + 0x10]
jge 0x10070c63
mov eax, dword [esi + 0xc]
add eax, dword [esp + 0x48]
mov edi, dword [eax]
call fcn.100238bb
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x8c]
push eax
call fcn.10074f48
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x84]
call fcn.1005ba66
cmp edi, 3
je 0x1007069d
cmp edi, 2
jne 0x10070b77
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x68]
call fcn.10058dea
cmp eax, 0xffffffff
lea eax, [esp + 0x18]
jne 0x10070b44
mov dword [esp + 0x3c], edi
lea edi, [esp + 0x38]
call fcn.10058274
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.10075223
lea ebx, [esp + 0x18]
call fcn.10058e22
jmp 0x10070b73
call fcn.100238bb
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x1cc]
push eax
call fcn.10074f48
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x1c4]
mov dword [esp + 0x3c], eax
call fcn.1005ba66
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.10075223
mov eax, dword [esi + 0x1c]
push 1
push 0x100b619c
push 0x100b6050
xor edi, edi
push edi
push eax
call fcn.10086c45
add esp, 0x14
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], edi
cmp dword [eax + 0x114], edi
jbe 0x10070577
mov byte [esp + 0x41], 0
call fcn.100238bb
mov edi, dword [esp + 0x44]
push eax
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.1003f192
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0x30]
mov ebx, dword [ecx + 8]
mov edi, eax
call fcn.10072669
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0xac]
call fcn.1005ba66
cmp edi, 3
je 0x100707be
cmp edi, 2
jne 0x100707e8
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.10075223
inc dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x114]
jb 0x10070773
jmp 0x10070577
mov dword [esp + 0x2c], 2
call fcn.100238bb
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x1a4]
push eax
call fcn.10074f48
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x19c]
mov dword [esp + 0x3c], edi
call fcn.1005ba66
mov eax, dword [esi + 0x1c]
push 1
push 0x100b61bc
push 0x100b6050
push 0
push eax
call fcn.10086c45
add esp, 0x14
cmp dword [esp + 0x20], 1
mov dword [esp + 0x18], eax
je 0x1007086a
cmp dword [esp + 0x20], 4
jne 0x100709aa
cmp edi, 3
je 0x10070874
cmp edi, 2
jne 0x10070892
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.10075223
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x118]
test edi, edi
je 0x10070903
call fcn.100238bb
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x154]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.10074f48
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x14c]
call fcn.1005ba66
cmp edi, 3
je 0x100708d7
cmp edi, 2
jne 0x10070903
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.10075223
cmp dword [esp + 0x20], 4
jne 0x100709aa
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x114]
test edi, edi
je 0x10070577
call fcn.100238bb
push eax
push 4
lea eax, [esp + 0xdc]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.10074f48
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0xd4]
mov dword [esp + 0x3c], eax
call fcn.1005ba66
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.10075223
cmp dword [esp + 0x3c], 3
je 0x1007098c
cmp dword [esp + 0x3c], 2
jne 0x10070577
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.10075223
cmp dword [esp + 0x20], 3
jne 0x10070a2b
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x114]
test edi, edi
je 0x100709fb
call fcn.100238bb
push eax
push 3
lea eax, [esp + 0x12c]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.10074f48
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x124]
mov dword [esp + 0x3c], eax
call fcn.1005ba66
mov dword [esp + 0x34], 1
mov byte [esp + 0x41], 0
cmp dword [esp + 0x3c], 3
je 0x10070a0d
cmp dword [esp + 0x3c], 2
jne 0x10070577
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.10075223
cmp dword [esp + 0x20], 2
jne 0x10070577
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x118]
test edi, edi
je 0x10070559
call fcn.100238bb
push eax
push 2
lea eax, [esp + 0x17c]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.10074f48
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x174]
mov dword [esp + 0x3c], eax
call fcn.1005ba66
and dword [esp + 0x34], 0
mov byte [esp + 0x41], 0
jmp 0x10070559
mov eax, dword [esi + 0x1c]
and dword [esp + 0x2c], 0
push 1
push 0x100b62bc
push edi
push 0
push eax
call fcn.10086c45
and dword [esp + 0x2c], 0
add esp, 0x14
cmp dword [eax + 0x9c], 0
mov dword [esp + 0x44], eax
jbe 0x1007057b
call fcn.100238bb
mov edi, dword [esp + 0x44]
push eax
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.1003d2a4
mov ebx, dword [ebx + 8]
lea ecx, [esp + 0x8c]
push ecx
mov edi, eax
call fcn.10072669
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x84]
call fcn.1005ba66
cmp edi, 3
je 0x10070af9
cmp edi, 2
jne 0x10070b23
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.10075223
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 0x10070ab7
jmp 0x1007057b
lea edi, [esp + 0x38]
mov dword [esp + 0x3c], 1
call fcn.10058274
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.10075223
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [esp + 0x60]
call fcn.1007924a
mov byte [esp + 0x1f8], 6
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.1007924a
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x74]
jl 0x100705bb
mov byte [esp + 0x1f8], 5
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.1007924a
inc dword [esp + 0x28]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax + 0x24]
jb 0x1007049c
lea esi, [esp + 0x64]
mov byte [esp + 0x1f8], 3
call fcn.100669e7
mov esi, dword [ebp + 8]
push dword [esi + 0x7c]
push dword [esi + 0x78]
call fcn.10072834
lea eax, [esp + 0x78]
push eax
mov byte [esi + 0x88], 1
mov byte [esp + 0x1fc], 2
call fcn.100239be
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
call fcn.1007924a
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.10077bf4
int3