Function at 0x74c83b08
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov eax, edx
mov dword [ebp - 0x18], ecx
xor edx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], edx
mov ebx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], edx
push esi
push edi
mov edi, edx
test ecx, ecx
jne 0x74c83b3b
mov eax, 0xc0000bbd
jmp 0x74c8470d
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
test esi, esi
je 0x74c83b4e
mov ebx, dword [esi]
and dword [esi], edi
push 0
lea edx, [ebp - 0x1c]
push edx
mov edx, ecx
mov ecx, eax
call fcn.74c82e25
test eax, eax
jne 0x74c846f5
and dword [ebp - 0x20], edi
mov dword [ebp - 8], 0xd0
test esi, esi
jne 0x74c83b78
and dword [ebp - 0xc], edi
jmp 0x74c83b81
lea eax, [esi + 0xd0]
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
mov edx, 0x74b941b8
mov ecx, edi
call fcn.74c86158
mov eax, dword [ebp - 0x20]
test esi, esi
je 0x74c83d5d
or dword [esi], 0x200
mov dword [esi + 0xc], eax
test ebx, 0x20000000
je 0x74c83bcd
lea eax, [esi + 0x84]
mov edx, 0x74b94378
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c83bcd
or dword [esi], 0x20000000
test bl, 0x20
je 0x74c83be9
lea eax, [esi + 0x2c]
mov edx, 0x74b94290
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c83be9
or dword [esi], 0x20
test ebx, 0x4000
je 0x74c83c0b
lea eax, [esi + 0x30]
mov edx, 0x74b94260
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c83c0b
or dword [esi], 0x4000
test bl, 4
je 0x74c83c5a
lea eax, [esi + 0x10]
mov edx, 0x74b94210
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c83c5a
lea eax, [ebp - 0x2c]
mov edx, 0x74b9434c
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c83c57
mov eax, dword [ebp - 0x2c]
and eax, 0xf0
cmp al, 0x20
jne 0x74c83c57
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x74c83c57
add eax, 0x3ff
shr eax, 0xa
mov dword [esi + 0x10], eax
or dword [esi], 4
test bl, 2
je 0x74c83c76
lea eax, [esi + 0x28]
mov edx, 0x74b94310
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c83c76
or dword [esi], 2
test bl, bl
jns 0x74c83c94
lea eax, [esi + 0x70]
mov edx, 0x74b888b4
push eax
mov ecx, edi
call fcn.74c861db
test eax, eax
jne 0x74c83c94
or dword [esi], 0x80
test ebx, 0x100
je 0x74c83cb9
lea eax, [esi + 0x80]
mov edx, 0x74b89330
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c83cb9
or dword [esi], 0x100
test bl, 0x40
je 0x74c83cd5
lea eax, [esi + 0x38]
mov edx, 0x74b9434c
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c83cd5
or dword [esi], 0x40
test ebx, 0x1000
je 0x74c83cf7
lea eax, [esi + 0x60]
mov edx, 0x74b9432c
push eax
mov ecx, edi
call fcn.74c861db
test eax, eax
jne 0x74c83cf7
or dword [esi], 0x1000
test ebx, 0x800
je 0x74c83d19
lea eax, [esi + 0x50]
mov edx, 0x74b941f4
push eax
mov ecx, edi
call fcn.74c861db
test eax, eax
jne 0x74c83d19
or dword [esi], 0x800
test ebx, 0x400
je 0x74c83d3b
lea eax, [esi + 0x40]
mov edx, 0x74b8d360
push eax
mov ecx, edi
call fcn.74c861db
test eax, eax
jne 0x74c83d3b
or dword [esi], 0x400
test ebx, 0x40000000
je 0x74c83d5d
lea eax, [esi + 0x3c]
mov edx, 0x74b94200
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c83d5d
or dword [esi], 0x40000000
mov ecx, dword [ebp - 0x18]
xor eax, eax
inc eax
mov edx, edi
push eax
push 0x74b941cc
push ebx
push 0x10
push dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.74c82a7e
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 4]
push 0
push 0x74b94194
push ebx
push dword [ebp - 0x10]
mov edx, edi
push dword [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.74c82a7e
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x28]
call fcn.74bb63f2
cmp dword [ebp - 0x28], 0
je 0x74c83dd7
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 4]
push 0
push 0x74b8df10
push ebx
push 0x80000000
push dword [ebp - 0xc]
mov edx, edi
push eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.74c82a7e
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 4]
push 0x74b942f0
push ebx
push 0x2000
push dword [ebp - 0xc]
mov edx, edi
push eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.74c82a7e
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 4]
push 0
push 0x74b942cc
push ebx
push 8
push dword [ebp - 0xc]
mov edx, edi
push eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.74c82a7e
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 4]
push 0x74b942bc
push ebx
push 0x10000000
push dword [ebp - 0xc]
mov edx, edi
push eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.74c82a7e
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
sub eax, 0
je 0x74c845b1
sub eax, 1
je 0x74c842c3
sub eax, 1
jne 0x74c842b8
test esi, esi
je 0x74c83f04
mov ebx, dword [esi + 0x90]
and dword [esi + 0x90], eax
mov dword [ebp - 0x14], ebx
test ebx, 0x10000
je 0x74c83e89
mov dword [esi + 0x94], 2
mov eax, dword [ebp - 0x14]
mov ebx, 0x20000
test ebx, eax
je 0x74c83eb5
lea eax, [esi + 0xc0]
mov edx, 0x74b94560
push eax
mov ecx, edi
call fcn.74c861db
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x74c83eb5
or dword [esi + 0x90], ebx
mov ebx, 0x40000
test ebx, eax
je 0x74c83ede
lea eax, [esi + 0xa4]
mov edx, 0x74b94580
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x74c83ede
or dword [esi + 0x90], ebx
mov ebx, 0x80000
test ebx, eax
je 0x74c83f04
lea eax, [esi + 0xa8]
mov edx, 0x74b945a8
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c83f04
or dword [esi + 0x90], ebx
mov edx, dword [ebp - 0x10]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], edx
test esi, esi
je 0x74c83f2a
test dword [ebp - 0x14], 0x10000
jne 0x74c83f2a
xor edx, edx
jmp 0x74c83f71
lea eax, [ebp - 0x28]
mov edx, 0x74b94520
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
push 0
call fcn.74c86273
test eax, eax
jne 0x74c83f67
mov ecx, dword [ebp - 0x18]
call fcn.74c86104
test eax, eax
jne 0x74c83f67
mov ebx, dword [ebp - 0x28]
cmp ebx, 2
jbe 0x74c83f67
mov edi, dword [ebp - 8]
mov eax, ecx
mov ecx, dword [ebp - 0x24]
add edi, ebx
mov edx, dword [ebp - 0x20]
jmp 0x74c83f74
mov eax, dword [ebp - 0x18]
xor ebx, ebx
mov edx, dword [ebp - 0x20]
mov ecx, ebx
mov edi, dword [ebp - 8]
test esi, esi
je 0x74c83fb8
test edx, edx
je 0x74c83fb8
test ebx, ebx
je 0x74c83f9a
cmp dword [ebp - 0xc], edi
jb 0x74c83f9a
push ebx
push eax
push dword [ebp - 4]
call fcn.74b99ed1
mov ecx, dword [ebp - 4]
add esp, 0xc
lea eax, [ebx + ecx]
jmp 0x74c83f9d
mov eax, dword [ebp - 4]
cmp dword [esi + 0xc], 2
mov dword [ebp - 8], eax
jne 0x74c83fbe
or dword [esi + 0x90], 0x10000
mov dword [esi + 0x98], ecx
jmp 0x74c83fbe
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x74c83fd5
push eax
push 0
call dword [0x74cce228]
push eax
call dword [0x74cce18c]
mov edx, dword [ebp - 0x10]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], edx
test esi, esi
je 0x74c83ffb
test dword [ebp - 0x14], 0x400000
jne 0x74c83ffb
xor edx, edx
jmp 0x74c8403b
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
mov edx, 0x74b945c4
push eax
push 0
call fcn.74c86273
test eax, eax
jne 0x74c84031
mov ecx, dword [ebp - 0x18]
call fcn.74c86104
test eax, eax
jne 0x74c84031
mov ebx, dword [ebp - 0x28]
cmp ebx, 2
jbe 0x74c84031
mov ecx, dword [ebp - 0x24]
add edi, ebx
jmp 0x74c84035
xor ebx, ebx
mov ecx, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
test esi, esi
je 0x74c84086
test edx, edx
je 0x74c84086
test ebx, ebx
je 0x74c84062
cmp dword [ebp - 0xc], edi
jb 0x74c84062
push ebx
push eax
push dword [ebp - 8]
call fcn.74b99ed1
mov ecx, dword [ebp - 8]
add esp, 0xc
lea eax, [ebx + ecx]
mov dword [ebp - 8], eax
cmp dword [esi + 0xc], 2
je 0x74c84076
or dword [esi], 0x400000
mov dword [esi + 0x98], ecx
jmp 0x74c84086
or dword [esi + 0x90], 0x400000
mov dword [esi + 0xb4], ecx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x74c8409d
push eax
push 0
call dword [0x74cce228]
push eax
call dword [0x74cce18c]
mov edx, dword [ebp - 0x10]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], edx
test esi, esi
je 0x74c840c3
test dword [ebp - 0x14], 0x200000
jne 0x74c840c3
xor edx, edx
jmp 0x74c84103
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
mov edx, 0x74b945e0
push eax
push 0
call fcn.74c86273
test eax, eax
jne 0x74c840f9
mov ecx, dword [ebp - 0x18]
call fcn.74c86104
test eax, eax
jne 0x74c840f9
mov ebx, dword [ebp - 0x28]
cmp ebx, 2
jbe 0x74c840f9
mov ecx, dword [ebp - 0x24]
add edi, ebx
jmp 0x74c840fd
xor ebx, ebx
mov ecx, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
test esi, esi
je 0x74c84140
test edx, edx
je 0x74c84140
test ebx, ebx
je 0x74c8412a
cmp dword [ebp - 0xc], edi
jb 0x74c8412a
push ebx
push eax
push dword [ebp - 8]
call fcn.74b99ed1
mov ecx, dword [ebp - 8]
add esp, 0xc
lea eax, [ebx + ecx]
mov dword [ebp - 8], eax
cmp dword [esi + 0xc], 2
jne 0x74c84140
or dword [esi + 0x90], 0x200000
mov dword [esi + 0xac], ecx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x74c84157
push eax
push 0
call dword [0x74cce228]
push eax
call dword [0x74cce18c]
mov edx, dword [ebp - 0x10]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], edx
test esi, esi
je 0x74c8417d
test dword [ebp - 0x14], 0x100000
jne 0x74c8417d
xor edx, edx
jmp 0x74c841bc
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push edx
mov edx, 0x74b94610
call fcn.74c86273
test eax, eax
jne 0x74c841b2
mov ecx, dword [ebp - 0x18]
call fcn.74c86104
test eax, eax
jne 0x74c841b2
mov ebx, dword [ebp - 0x28]
cmp ebx, 2
jbe 0x74c841b2
mov ecx, dword [ebp - 0x24]
add edi, ebx
jmp 0x74c841b6
xor ebx, ebx
mov ecx, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
test esi, esi
je 0x74c841f9
test edx, edx
je 0x74c841f9
test ebx, ebx
je 0x74c841e3
cmp dword [ebp - 0xc], edi
jb 0x74c841e3
push ebx
push eax
push dword [ebp - 8]
call fcn.74b99ed1
mov ecx, dword [ebp - 8]
add esp, 0xc
lea eax, [ebx + ecx]
mov dword [ebp - 8], eax
cmp dword [esi + 0xc], 2
jne 0x74c841f9
or dword [esi + 0x90], 0x100000
mov dword [esi + 0xb0], ecx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x74c84210
push eax
push 0
call dword [0x74cce228]
push eax
call dword [0x74cce18c]
xor ebx, ebx
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
test esi, esi
je 0x74c84230
test dword [ebp - 0x14], 0x800000
jne 0x74c84230
xor edx, edx
jmp 0x74c84270
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
mov edx, 0x74b945fc
push eax
push dword [ebp - 0x10]
call fcn.74c86273
mov ebx, dword [ebp - 0x28]
test eax, eax
jne 0x74c84269
mov ecx, ebx
call fcn.74c86104
test eax, eax
jne 0x74c84269
mov eax, dword [ebp - 0x24]
cmp eax, 2
jbe 0x74c84269
mov ecx, dword [ebp - 0x20]
add edi, eax
jmp 0x74c8426d
xor eax, eax
mov ecx, eax
mov edx, dword [ebp - 0x10]
test esi, esi
je 0x74c84596
test edx, edx
je 0x74c84596
test eax, eax
je 0x74c84299
cmp dword [ebp - 0xc], edi
jb 0x74c84299
push eax
push ebx
push dword [ebp - 8]
call fcn.74b99ed1
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp dword [esi + 0xc], 2
jne 0x74c84596
or dword [esi + 0x90], 0x800000
mov dword [esi + 0xb8], ecx
jmp 0x74c84596
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x24]
jmp 0x74c846f7
test esi, esi
je 0x74c843ba
test ebx, 0x40000
je 0x74c842f0
lea eax, [esi + 0xa8]
mov edx, 0x74b944e4
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c842f0
or dword [esi], 0x40000
test ebx, 0x10000
je 0x74c84315
lea eax, [esi + 0xb8]
mov edx, 0x74b94390
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c84315
or dword [esi], 0x10000
test ebx, 0x80000
je 0x74c8433a
lea eax, [esi + 0xb4]
mov edx, 0x74b943b4
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c8433a
or dword [esi], 0x80000
test ebx, 0x100000
je 0x74c8435f
lea eax, [esi + 0xb0]
mov edx, 0x74b943e4
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c8435f
or dword [esi], 0x100000
test ebx, 0x200000
je 0x74c84384
lea eax, [esi + 0xbc]
mov edx, 0x74b94414
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c84384
or dword [esi], 0x200000
test ebx, 0x800000
je 0x74c843a9
lea eax, [esi + 0xc0]
mov edx, 0x74b9444c
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c843a9
or dword [esi], 0x800000
test ebx, 0x400000
je 0x74c843ba
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x94], eax
xor eax, eax
mov dword [ebp - 0x2c], 1
xor ecx, ecx
mov dword [ebp - 0x20], eax
xor edx, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
test esi, esi
je 0x74c843e4
test ebx, 0x400000
jne 0x74c843e4
and dword [ebp - 0x2c], eax
jmp 0x74c84426
lea eax, [ebp - 0x28]
mov edx, 0x74b94464
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
push 0
call fcn.74c86273
test eax, eax
jne 0x74c8441f
mov ecx, dword [ebp - 0x14]
call fcn.74c86104
test eax, eax
jne 0x74c8441f
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
cmp eax, 2
jbe 0x74c8441f
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
add edi, eax
jmp 0x74c84429
xor eax, eax
mov dword [ebp - 0x20], eax
mov edx, eax
mov edi, dword [ebp - 8]
test esi, esi
je 0x74c84482
cmp dword [ebp - 0x2c], 0
je 0x74c84482
test eax, eax
je 0x74c84456
mov ecx, dword [ebp - 0x14]
cmp dword [ebp - 0xc], edi
jb 0x74c84456
push eax
push ecx
push dword [ebp - 4]
call fcn.74b99ed1
mov ecx, dword [ebp - 0x20]
add esp, 0xc
mov edx, dword [ebp - 4]
add ecx, edx
jmp 0x74c84459
mov ecx, dword [ebp - 4]
cmp dword [esi + 0xc], 2
mov dword [ebp - 8], ecx
je 0x74c84470
or dword [esi], 0x400000
mov dword [esi + 0x98], edx
jmp 0x74c84488
or dword [esi + 0x90], 0x400000
mov dword [esi + 0xb4], edx
jmp 0x74c84488
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x74c8449f
push eax
push 0
call dword [0x74cce228]
push eax
call dword [0x74cce18c]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], eax
test esi, esi
je 0x74c844c4
test ebx, 0x20000
jne 0x74c844c4
xor edx, edx
mov ebx, eax
jmp 0x74c84563
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
mov edx, 0x74b944fc
push eax
push 0
call fcn.74c86273
mov ebx, dword [ebp - 0x2c]
test eax, eax
jne 0x74c844ff
mov ecx, ebx
call fcn.74c86104
test eax, eax
jne 0x74c844ff
mov eax, dword [ebp - 0x14]
cmp eax, 2
jbe 0x74c844ff
mov ecx, dword [ebp - 0x20]
add edi, eax
mov edx, dword [ebp - 0x10]
jmp 0x74c84563
test ebx, ebx
je 0x74c84513
push ebx
push 0
call dword [0x74cce228]
push eax
call dword [0x74cce18c]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
and dword [ebp - 0x14], 0
call fcn.74bb3935
mov eax, dword [ebp - 0x14]
add edi, eax
push eax
push 8
call dword [0x74cce228]
push eax
call dword [0x74cce1f4]
mov ebx, eax
test ebx, ebx
je 0x74c8455c
mov ecx, dword [ebp - 0x18]
call fcn.74c86104
test eax, eax
jne 0x74c8455c
mov edx, dword [ebp - 0x14]
push ecx
mov ecx, ebx
call fcn.74bc0ef7
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
jmp 0x74c84560
xor edx, edx
mov ecx, edx
mov eax, dword [ebp - 0x14]
test esi, esi
je 0x74c84596
test edx, edx
je 0x74c84596
test eax, eax
je 0x74c84584
cmp dword [ebp - 0xc], edi
jb 0x74c84584
push eax
push ebx
push dword [ebp - 8]
call fcn.74b99ed1
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp dword [esi + 0xc], 2
je 0x74c84596
or dword [esi], 0x20000
mov dword [esi + 0xa4], ecx
test ebx, ebx
je 0x74c845aa
push ebx
push 0
call dword [0x74cce228]
push eax
call dword [0x74cce18c]
xor esi, esi
jmp 0x74c846f7
test esi, esi
je 0x74c8460e
test ebx, 0x2000000
je 0x74c845c4
and dword [esi + 0x94], 0
test ebx, 0x1000000
je 0x74c845e9
lea eax, [esi + 0xa8]
mov edx, 0x74b94560
push eax
mov ecx, edi
call fcn.74c861db
test eax, eax
jne 0x74c845e9
or dword [esi], 0x1000000
test ebx, 0x4000000
je 0x74c8460e
lea eax, [esi + 0xa4]
mov edx, 0x74b94580
push eax
mov ecx, edi
call fcn.74c86158
test eax, eax
jne 0x74c8460e
or dword [esi], 0x4000000
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], eax
test esi, esi
je 0x74c84631
test ebx, 0x2000000
jne 0x74c84631
and dword [ebp - 0x10], eax
jmp 0x74c84671
lea eax, [ebp - 0x2c]
mov edx, 0x74b94520
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
push 0
call fcn.74c86273
test eax, eax
jne 0x74c8466a
mov ecx, dword [ebp - 0x14]
call fcn.74c86104
test eax, eax
jne 0x74c8466a
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
cmp eax, 2
jbe 0x74c8466a
add dword [ebp - 8], eax
mov edx, dword [ebp - 0x20]
jmp 0x74c84671
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, eax
test esi, esi
je 0x74c846b8
cmp dword [ebp - 0x10], 0
je 0x74c846b8
test eax, eax
je 0x74c846a6
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
jb 0x74c846a6
push eax
mov eax, dword [ebp - 4]
push ecx
push eax
mov dword [ebp - 0x20], eax
call fcn.74b99ed1
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov edx, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 4], eax
cmp dword [esi + 0xc], 2
je 0x74c846b8
or dword [esi], 0x2000000
mov dword [esi + 0x98], edx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x74c846cf
push eax
push 0
call dword [0x74cce228]
push eax
call dword [0x74cce18c]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 4]
push 0
push 0x74b9453c
push ebx
push 0x8000
push dword [ebp - 0xc]
mov edx, edi
push eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.74c82a7e
mov edi, dword [ebp - 8]
mov esi, eax
cmp dword [ebp - 0x1c], 0
je 0x74c84706
push dword [ebp - 0x1c]
call dword [0x74cce0d0]
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8