Function at 0x100763bb
Capabilities:
Create thread

Disassembly:
push 0x10c
mov eax, 0x100442f4
call fcn.10041ac9
mov ebx, ecx
mov eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x90]
mov esi, dword [ebp + 0x2c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x7c], ebx
call fcn.1005162c
mov edi, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, ebx
sub ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x44]
neg ecx
mov dword [ebp - 0x68], eax
sbb ecx, ecx
mov byte [ebp - 0x5f], dl
and ecx, dword [ebx + 0x10]
mov byte [ebp - 0x60], dl
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x64], edx
lea eax, [ecx - 0xc]
neg ecx
sbb ecx, ecx
or dword [ebp - 0xb4], 0xffffffff
and ecx, eax
mov eax, edi
mov dword [ebp - 0x98], ecx
and eax, 0x400
mov ecx, edi
mov dword [ebp - 0xb0], eax
and ecx, 0x80
and edi, 0x800
mov dword [ebp - 0x6c], ecx
test ecx, ecx
jne 0x10076476
test eax, eax
jne 0x10076476
test edi, edi
jne 0x10076476
mov byte [ebp - 0x5d], 1
jmp 0x10076481
mov byte [ebp - 0x5d], dl
test edi, edi
jne 0x10076489
test eax, eax
jne 0x10076489
mov dword [ebp - 0x94], esi
jmp 0x1007648f
mov dword [ebp - 0x94], edx
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x100e52dc]
call esi
lea eax, [ebx + 0x70]
push eax
call dword [sym.imp.MSDART.DLL_UMSEnterCSWraper]
cmp byte [ebp + 0x14], 0
mov eax, dword [ebp - 0x6c]
pop ecx
mov cl, byte [ebp + 0xc]
jne 0x10076547
test eax, eax
jne 0x10076547
cmp dword [ebp - 0xb0], eax
jne 0x10076547
test edi, edi
jne 0x10076547
test cl, 0x10
jne 0x100764d8
cmp dword [ebp + 8], edi
je 0x10076547
mov byte [ebp - 0x70], 0
mov esi, dword [ebp - 0x68]
cmp byte [esi + 0x11c], 0
je 0x100765da
lea edx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0x800a0e7f
lea ecx, [ebp - 0x90]
call fcn.1005120f
test eax, eax
je 0x100765da
test byte [0x100e4068], 2
je 0x100774f2
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xc79
cmp eax, 0xffffffff
je 0x100765ce
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x31e409
jmp 0x1007659e
mov byte [ebp - 0x70], 1
test eax, eax
je 0x100764dc
push 0
test cl, 0x60
lea ecx, [ebp - 0x90]
pop eax
sete al
push eax
call fcn.100511e3
test eax, eax
je 0x100764dc
test byte [0x100e4068], 2
je 0x100774f2
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xc74
cmp eax, 0xffffffff
je 0x100765b1
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x31d009
push dword [0x100e7100]
call fcn.100d931d
add esp, 0x14
jmp 0x100774f2
push 0x10018ef0
push 0x31d009
push dword [0x100e7100]
call fcn.100d931d
add esp, 0x10
jmp 0x100774f2
push 0x10018ef0
push 0x31e409
jmp 0x100765bb
mov al, byte [ebp + 0xc]
and dword [esi + 0x40], 0
and al, 0x10
mov byte [ebp - 0x5e], al
je 0x100766a5
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0xac]
and dword [ebp - 0xc0], 0
and dword [ebp - 0xac], 0
push ecx
mov esi, dword [eax]
lea ecx, [ebp - 0xc0]
push ecx
push 0xa9
push 0x10035d04
mov esi, dword [esi + 0xb8]
mov ecx, esi
push eax
call dword [0x100e52dc]
call esi
test eax, eax
js 0x10076638
test byte [ebp - 0xac], 1
jne 0x100766a2
push 0x2725
lea edx, [ebp - 0xb8]
mov dword [ebp - 0xb8], 0x800a0cb3
lea ecx, [ebp - 0x90]
call fcn.1005a8f4
test eax, eax
je 0x100766a2
test byte [0x100e4068], 2
je 0x100774f2
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xc88
cmp eax, 0xffffffff
je 0x10076693
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x322009
jmp 0x1007659e
push 0x10018ef0
push 0x322009
jmp 0x100765bb
mov esi, dword [ebp - 0x68]
mov eax, dword [0x100e4064]
cmp dword [eax + 0x10], 0
je 0x1007672e
cmp dword [esi + 0x70], 4
je 0x100766bf
cmp byte [esi + 0x11f], 0
je 0x1007672e
push ecx
push 0
lea ecx, [ebp - 0xf0]
call fcn.10074430
mov ecx, dword [ebp - 0x98]
add esi, 0x11e
cmp byte [ebp - 0x5e], 0
push esi
setne al
mov byte [ebp - 4], 1
movzx eax, al
push eax
call fcn.1006393f
lea ecx, [ebp - 0xf0]
call fcn.100df280
push 0
lea eax, [ebp - 0xe0]
mov ecx, ebx
push eax
push 0
push 0x22
push 0x10035fb4
call fcn.1007e21b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf0]
mov byte [esi], 1
mov dword [ebp - 0xf0], 0x100024e8
call fcn.100dec58
cmp byte [ebp - 0x70], 0
jne 0x10076793
mov ecx, ebx
call fcn.10074fd0
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x10076793
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x100774f2
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xcae
cmp eax, 0xffffffff
je 0x10076784
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x32b809
jmp 0x1007659e
push 0x10018ef0
push 0x32b809
jmp 0x100765bb
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x60]
push 1
call fcn.1007205f
and dword [ebx + 0x60], 0
and dword [ebx + 0x64], 0
cmp byte [ebp - 0x70], 0
pop ecx
jne 0x100767b6
mov dword [ebx + 0x68], 1
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x10076872
call fcn.100799b2
cmp dword [ebp - 0xb0], 0
mov eax, dword [ebx + 0x4c]
mov dword [eax], ebx
je 0x10076925
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebp - 0xa0]
or dword [eax + 0x1c], 0x100
test ecx, ecx
je 0x10076808
mov eax, dword [ebx + 0x4c]
mov dword [eax + 0x40], ecx
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x40]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x100e52dc]
call esi
mov esi, dword [ebp - 0x68]
push dword [ebp - 0x9c]
push dword [ebp + 0x28]
lea edi, [esi + 0xc0]
mov ecx, edi
call fcn.1006e7cb
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x10076e72
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xd60
cmp eax, 0xffffffff
je 0x10076e63
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x358009
jmp 0x100769c8
push 0x44
push 0xa00000
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
mov esi, eax
add esp, 0xc
mov dword [ebp - 0xb8], esi
test esi, esi
je 0x100768aa
push 0x44
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.100799b2
jmp 0x100768ac
xor esi, esi
push esi
lea ecx, [ebp - 0x90]
mov dword [ebx + 0x4c], esi
call fcn.10053a90
test eax, eax
je 0x100767c6
test byte [0x100e4068], 2
je 0x100774d6
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xcc6
cmp eax, 0xffffffff
je 0x10076908
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x331809
push dword [0x100e7100]
call fcn.100d931d
add esp, 0x14
jmp 0x100774d6
push 0x10018ef0
push 0x331809
push dword [0x100e7100]
call fcn.100d931d
add esp, 0x10
jmp 0x100774d6
test edi, edi
je 0x100769ea
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebp - 0xa0]
or dword [eax + 0x1c], 0x200
test ecx, ecx
je 0x1007695d
mov eax, dword [ebx + 0x4c]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x3c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x100e52dc]
call esi
mov ecx, dword [ebx + 0x4c]
push 1
lea eax, [ecx + 0x38]
push eax
lea eax, [ecx + 0x34]
mov ecx, ebx
push eax
push 0xffffffffffffffff
push dword [ebp - 0x70]
push 0
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.1007dc74
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x10076808
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xce6
cmp eax, 0xffffffff
je 0x100769db
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x339809
push dword [0x100e7100]
call fcn.100d931d
add esp, 0x14
jmp 0x1007746e
push 0x10018ef0
push 0x339809
jmp 0x10077460
cmp dword [ebp - 0x6c], 0
je 0x100769ff
mov eax, dword [ebx + 0x4c]
or dword [eax + 0x1c], 0x80
jmp 0x10076808
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x10076a14
mov edi, dword [eax + 0x168]
cmp edi, 0xffffffff
jne 0x10076a20
mov eax, dword [ebp - 0x98]
mov edi, dword [eax + 0xdc]
lea eax, [ebp - 0x5f]
mov dword [ebp - 0xb4], edi
push eax
mov ecx, ebx
call fcn.1007b9f2
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x10076a89
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x100774f2
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xcff
cmp eax, 0xffffffff
je 0x10076a7a
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x33fc09
jmp 0x1007659e
push 0x10018ef0
push 0x33fc09
jmp 0x100765bb
cmp byte [ebp - 0x5f], 0
je 0x10076a96
mov eax, dword [ebx + 0x4c]
or dword [eax + 0x1c], 4
mov al, byte [ebp + 0xc]
mov esi, dword [ebp + 0x18]
test al, 0x20
je 0x10076aae
mov eax, dword [ebx + 0x4c]
or dword [eax + 0x1c], 0x20
mov eax, 0x100000
jmp 0x10076abe
test al, 0x40
je 0x10076ac6
mov eax, dword [ebx + 0x4c]
or dword [eax + 0x1c], 0x40
mov eax, 0x300000
or esi, eax
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x6c], esi
push eax
push ecx
mov ecx, dword [ebp - 0x68]
push dword [ebp + 0x28]
add ecx, 0xc0
call fcn.1006d521
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x10076b3a
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x100774f2
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xd12
cmp eax, 0xffffffff
je 0x10076b2b
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x344809
jmp 0x1007659e
push 0x10018ef0
push 0x344809
jmp 0x100765bb
mov ecx, dword [ebp - 0x98]
call fcn.1005ee52
test al, al
je 0x10076b4c
push 2
pop edi
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x10076b68
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ecx + 0x414]
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0x94]
cmp edi, 0xffffffff
je 0x10076c3a
cmp edi, 1
je 0x10076c41
cmp edi, 2
je 0x10076c3a
cmp edi, 3
jne 0x10076da5
mov eax, dword [ebx + 0x4c]
mov edx, dword [ebp - 0x6c]
or dword [eax + 0x1c], 1
cmp byte [ebp + 0x14], 0
mov eax, dword [ebx + 0x4c]
mov dword [eax + 0x20], edx
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x24], eax
jne 0x10076da5
mov ecx, dword [ebx + 0x4c]
push 0
shr edx, 0x18
and dl, 1
lea eax, [ecx + 0x38]
push eax
lea eax, [ecx + 0x34]
mov ecx, ebx
push eax
push edi
push dword [ebp - 0x70]
movzx eax, dl
push dword [ebp - 0xa0]
push eax
push 0
push 0x1000
call fcn.1007dc74
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x10076da5
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xd51
cmp eax, 0xffffffff
je 0x10076c2b
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x354409
jmp 0x100769c8
push 0x10018ef0
push 0x354409
jmp 0x10077460
mov eax, dword [ebx + 0x4c]
or dword [eax + 0x1c], 8
cmp byte [ebp + 0x14], 0
jne 0x10076ccb
mov ecx, dword [ebx + 0x4c]
push 0
lea eax, [ecx + 0x38]
push eax
lea eax, [ecx + 0x34]
mov ecx, ebx
push eax
push edi
push dword [ebp - 0x70]
push dword [ebp - 0xa0]
push 0
push dword [ebp + 0x1c]
push esi
call fcn.1007dc74
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x10076da5
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xd2e
cmp eax, 0xffffffff
je 0x10076cbc
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x34b809
jmp 0x100769c8
push 0x10018ef0
push 0x34b809
jmp 0x10077460
test ecx, ecx
je 0x10076da5
cmp byte [ecx + 0x301], 0
je 0x10076da5
cmp dword [ebp - 0xa4], 0
je 0x10076da5
mov esi, 0x10035fb4
lea eax, [ebp - 0x44]
mov dword [ebp - 0x5c], eax
lea edi, [ebp - 0x54]
xor eax, eax
lea edx, [ebp - 0x44]
push eax
movsd dword es:[edi], dword [esi]
mov ecx, 0xc9
push eax
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x58], 1
call fcn.100daa04
add esp, 0xc
mov dword [ebp - 0x18], 8
test dword [ebp - 0xa4], 0x200000
push 3
pop eax
mov word [ebp - 0x20], ax
je 0x10076d3c
mov dword [ebp - 0x18], 0xe
push 0
lea eax, [ebp - 0x5c]
mov ecx, ebx
push eax
push 1
push 1
call fcn.1007d725
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x10076da5
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xd3f
cmp eax, 0xffffffff
je 0x10076d96
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x34fc09
jmp 0x100769c8
push 0x10018ef0
push 0x34fc09
jmp 0x10077460
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x10076808
push ecx
push eax
lea ecx, [ebp - 0x118]
call fcn.10074430
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.100df280
push 0
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
push 0
push 0x49
push 0x10035fb4
call fcn.1007e21b
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x10076dfa
lea ecx, [ebp - 0x90]
call fcn.10038c50
xor esi, esi
inc esi
jmp 0x10076dfc
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], 0x100024e8
call fcn.100dec58
test esi, esi
je 0x10076808
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xd5a
cmp eax, 0xffffffff
je 0x10076e54
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x356809
jmp 0x100769c8
push 0x10018ef0
push 0x356809
jmp 0x10077460
push 0x10018ef0
push 0x358009
jmp 0x10077460
mov ecx, dword [ebx + 0x4c]
lea eax, [ecx + 8]
push eax
lea eax, [ecx + 0xc]
mov ecx, edi
push eax
push dword [ebp + 0x28]
call fcn.1006ad6b
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x10076edf
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xd63
cmp eax, 0xffffffff
je 0x10076ed0
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x358c09
jmp 0x100769c8
push 0x10018ef0
push 0x358c09
jmp 0x10077460
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebp - 0x9c]
mov dword [eax + 0x10], ecx
cmp byte [esi + 0x68], 0
je 0x10076f64
mov ecx, dword [ebx + 0x4c]
push 0
movzx eax, byte [ecx + 8]
push eax
push dword [ecx + 0xc]
mov ecx, ebx
push dword [esi + 0x70]
call fcn.1007cc0a
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x10076fc3
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xd6c
cmp eax, 0xffffffff
je 0x10076f55
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x35b009
jmp 0x100769c8
push 0x10018ef0
push 0x35b009
jmp 0x10077460
mov ecx, ebx
call fcn.1007cb3f
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x10076fc3
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xd71
cmp eax, 0xffffffff
je 0x10076fb4
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x35c409
jmp 0x100769c8
push 0x10018ef0
push 0x35c409
jmp 0x10077460
mov ecx, edi
call fcn.1006ec4b
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x10077022
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xd75
cmp eax, 0xffffffff
je 0x10077013
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x35d409
jmp 0x100769c8
push 0x10018ef0
push 0x35d409
jmp 0x10077460
cmp byte [esi + 0x6a], 0
je 0x10077089
push 1
mov ecx, ebx
call fcn.1007bb0c
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x10077089
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xd7a
cmp eax, 0xffffffff
je 0x1007707a
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x35e809
jmp 0x100769c8
push 0x10018ef0
push 0x35e809
jmp 0x10077460
mov eax, dword [ebx + 0x4c]
mov ecx, edi
add eax, 4
push eax
push dword [ebp - 0x9c]
push dword [ebp + 0x28]
call fcn.1006af91
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x100770f8
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xd84
cmp eax, 0xffffffff
je 0x100770e9
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x361009
jmp 0x100769c8
push 0x10018ef0
push 0x361009
jmp 0x10077460
cmp dword [ebp - 0xa8], 0
je 0x100771ce
cmp byte [ebp - 0x5d], 0
je 0x100771ce
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x98]
push 0
call fcn.1005c151
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x1007717f
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xd90
cmp eax, 0xffffffff
je 0x10077170
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x364009
jmp 0x100769c8
push 0x10018ef0
push 0x364009
jmp 0x10077460
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0xffffffff
je 0x10077193
mov eax, dword [ebp - 0x64]
mov dword [eax + 0x168], ecx
cmp dword [ebp + 8], 2
jne 0x100771a3
mov eax, dword [ebp - 0x64]
mov byte [eax + 0x2f0], 0
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ebp - 0x64]
mov dword [ecx + 0x14], eax
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x100e52dc]
call esi
mov eax, dword [ebp - 0xa8]
mov esi, dword [ebp - 0x68]
and dword [eax], 0
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebp + 8]
push 1
mov dword [eax + 0x28], ecx
mov ecx, esi
call fcn.1007d541
mov ecx, dword [ebx + 0x4c]
mov dl, 1
call fcn.1007d5c2
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10077200
test byte [ebp + 0xc], 0x60
je 0x10077200
mov byte [eax + 0x31c], dl
mov eax, dword [esi]
push esi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100e52dc]
call esi
cmp byte [ebp - 0x5e], 0
mov byte [ebp - 0x60], 1
je 0x100772e9
mov eax, dword [ebx + 0x4c]
lea esi, [ebx + 0x50]
mov byte [eax + 0x30], 1
xor eax, eax
xchg dword [esi], eax
test eax, eax
je 0x10077237
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0x54]
push eax
xor eax, eax
push eax
push dword [ebx + 0x4c]
push fcn.10077530
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
test eax, eax
jne 0x100772dd
mov esi, dword [ebp - 0x68]
mov ecx, esi
push eax
call fcn.1007d541
mov ecx, dword [ebx + 0x4c]
xor dl, dl
call fcn.1007d5c2
mov ecx, dword [ebx + 0x4c]
call fcn.1007ca2f
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e52dc]
call esi
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x78], 0x80004005
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xdca
cmp eax, 0xffffffff
je 0x100772ce
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x372809
jmp 0x100769c8
push 0x10018ef0
push 0x372809
jmp 0x10077460
mov eax, dword [ebp - 0x90]
mov byte [eax + 0x10], 0
jmp 0x10077358
mov eax, dword [ebp - 0x90]
mov byte [eax + 0x10], 0
push dword [ebx + 0x4c]
call fcn.10077530
mov dword [ebp - 0x78], eax
pop ecx
test eax, eax
jns 0x10077354
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xdd7
cmp eax, 0xffffffff
je 0x10077345
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x375c09
jmp 0x100769c8
push 0x10018ef0
push 0x375c09
jmp 0x10077460
mov byte [ebx + 0x59], 1
cmp byte [ebp - 0x5e], 0
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebp - 0xc8]
mov eax, dword [eax + 0x18]
mov dword [ecx], eax
mov cl, 1
jne 0x100773f9
cmp dword [ebp - 0xa8], 0
je 0x10077386
cmp byte [ebp - 0x5d], 0
setne al
dec al
and cl, al
test cl, cl
je 0x100773f9
push dword [ebp - 0x9c]
mov ecx, edi
mov byte [ebx + 0x59], 0
push dword [ebp + 0x28]
push 1
call fcn.1006e607
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x1007746e
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xdf7
cmp eax, 0xffffffff
je 0x100773ed
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x37dc09
jmp 0x100769c8
push 0x10018ef0
push 0x37dc09
jmp 0x10077460
push dword [ebp - 0x9c]
mov eax, dword [ebp - 0x64]
mov ecx, edi
push dword [ebp + 0x28]
mov dword [ebx + 0x5c], eax
push 0
call fcn.1006e607
mov dword [ebp - 0x78], eax
test eax, eax
jns 0x1007746e
lea ecx, [ebp - 0x90]
call fcn.10038c50
test byte [0x100e4068], 2
je 0x1007746e
lea ecx, [ebx + 0x20]
call fcn.10050714
push 0xe00
cmp eax, 0xffffffff
je 0x10077456
lea ecx, [ebx + 0x20]
call fcn.10050714
push eax
push 0x10018ea0
push 0x380009
jmp 0x100769c8
push 0x10018ef0
push 0x380009
push dword [0x100e7100]
call fcn.100d931d
add esp, 0x10
cmp dword [ebp - 0x78], 0
jge 0x100774a6
cmp byte [ebp - 0x60], 0
jne 0x10077496
mov ecx, dword [ebp - 0x68]
push 0
call fcn.1007d541
mov ecx, dword [ebx + 0x4c]
xor dl, dl
call fcn.1007d5c2
mov ecx, dword [ebx + 0x4c]
call fcn.1007ca2f
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x100774d6
mov byte [ecx + 0x31c], 0
jmp 0x100774bf
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x100774bf
cmp byte [ebp - 0x5d], 0
je 0x100774bf
mov eax, dword [ebp - 0x64]
and dword [ebp - 0x64], 0
mov dword [ecx], eax
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x100774d6
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e52dc]
call esi
cmp byte [ebx + 0x59], 0
jne 0x100774f2
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x60]
push 1
call fcn.1007205f
and dword [ebx + 0x60], 0
and dword [ebx + 0x64], 0
pop ecx
mov eax, dword [ebx + 0x70]
dec dword [eax + 0x1c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100e52dc]
call esi
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x90]
call fcn.1005114a
mov eax, esi
call fcn.10041a78
ret 0x30