Function at 0x37000
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x2c]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
mov esi, ecx
mov edx, dword [esi + eax*4 + 0xb6c]
mov ecx, dword [esi + 0xca0]
shl eax, 4
mov dword [esp + 0x20], edx
mov edx, dword [eax + ecx + 0x1f4]
mov dword [esp + 0x30], eax
mov eax, dword [eax + ecx + 0x1f8]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0xd4]
test eax, eax
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
je 0x37068
mov edx, dword [ecx + 0x170]
lea edx, [edx + eax*4 + 0x12]
cmp edx, dword [ecx + 0x174]
jbe 0x3708a
lea eax, [eax*4 + 0x12]
jmp 0x37084
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, 0x10
cmp ecx, dword [eax + 0x174]
jbe 0x3708a
mov eax, 0x10
push esi
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov ebp, 1
add edx, ebp
cmp edx, dword [eax + 0x174]
jbe 0x370ad
push esi
mov eax, ebp
call fcn.00033060
mov edi, dword [esp + 0x3c]
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
shl edi, 0xa
lea ecx, [edi + 0x814]
or ecx, 0x40000
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
mov dword [esp + 0x1c], edi
jbe 0x37100
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebx]
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
add edx, ebp
cmp edx, dword [eax + 0x174]
jbe 0x3713e
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
lea ecx, [edi + 0x818]
or ecx, 0x40000
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x37186
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebx + 4]
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
add edx, ebp
cmp edx, dword [eax + 0x174]
jbe 0x371c5
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
lea ecx, [edi + 0x81c]
or ecx, 0x40000
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x3720d
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebx + 8]
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
add edx, ebp
cmp edx, dword [eax + 0x174]
jbe 0x3724c
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
lea ecx, [edi + 0x820]
or ecx, 0x40000
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x37294
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebx + 0xc]
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esp + 0x24]
test eax, 0xff00ff
mov ecx, 2
je 0x37363
cmp dword [ebx + 0x10], 0
je 0x37363
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
add edx, ebp
cmp edx, dword [eax + 0x174]
mov dword [esp + 0x10], ecx
jbe 0x372f5
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
lea ecx, [edi + 0x824]
or ecx, 0x40000
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x3733d
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebx + 0x10]
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
jmp 0x3740f
test ah, 0xff
je 0x37407
cmp dword [ebx + 0x58], 0
je 0x37407
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
add edx, ebp
cmp edx, dword [eax + 0x174]
mov dword [esp + 0x10], ecx
jbe 0x37398
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
lea ecx, [edi + 0x824]
or ecx, 0x40000
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x3733d
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebx + 0x10]
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
jmp 0x3740f
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp dword [esp + 0x3c], edx
sete dl
shl edx, 5
test byte [edx + ecx + 0xff], 0xe0
jne 0x37461
mov eax, dword [esi + 0xca0]
mov eax, dword [eax + 0x60]
test al, 0x40
je 0x3743d
mov eax, 0x20000000
jmp 0x3745d
test ah, 4
je 0x37449
mov eax, 0x40000000
jmp 0x3745d
test ah, 0x40
je 0x37455
mov eax, 0x60000000
jmp 0x3745d
and eax, 0xfffc0000
shl eax, 0xd
or dword [esp + 0x10], eax
cmp dword [esi + 0xd10], 0
je 0x374a2
mov edx, dword [esi + 0xca0]
mov eax, dword [edx + 0x60]
test al, 0x20
je 0x3747e
mov eax, 0x1000000
jmp 0x3749e
test ah, 2
je 0x3748a
mov eax, 0x2000000
jmp 0x3749e
test ah, 0x20
je 0x37496
mov eax, 0x3000000
jmp 0x3749e
and eax, 0x20000
shl eax, 9
or dword [esp + 0x10], eax
mov eax, dword [ecx + 0xd4]
test eax, eax
je 0x377a3
mov ecx, dword [esp + 0x10]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x28], ecx
jbe 0x37646
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
add eax, 0x808
or eax, 0x40000
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
shl edx, 5
lea ecx, [edx + eax + 0xfc]
add eax, 0xdc
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
jmp 0x37500
mov edx, dword [esi + 0xca0]
cmp dword [edx + 0xd4], ebp
mov edi, dword [esp + 0x28]
jbe 0x37567
mov eax, edx
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x3752c
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
mov ecx, dword [eax + ecx*4 + 0xdc]
mov edx, ebp
shl edx, cl
mov ecx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
and edx, 0xfff
or edx, 0x60000000
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov ecx, dword [esp + 0x14]
cmp ebx, dword [ecx + 0xd8]
je 0x3757d
mov edi, dword [esp + 0x28]
and edi, 0xffff87ff
mov edx, dword [esp + 0x3c]
push edx
mov eax, edi
mov ecx, ebx
mov edx, esi
call fcn.0003aa00
mov ecx, dword [esp + 0x3c]
push ecx
mov edx, eax
mov eax, ebx
mov ecx, esi
call fcn.0003ab10
mov edx, dword [esp + 0x20]
mov edi, eax
and edi, 0xff7fffff
mov dword [edx], edi
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x375c9
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
add edx, ebp
cmp edx, dword [eax + 0x174]
jbe 0x37609
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
mov edx, dword [eax + 0x28]
mov dword [edx + ecx*4], edi
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, 4
add dword [esp + 0x10], eax
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
add ebx, ebp
cmp ebx, dword [eax + 0xd4]
jb 0x37500
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x37664
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
mov dword [eax + edx*4], 0x60000fff
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x376a4
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
add edx, 2
shl edx, 0xa
or edx, 0x40000
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x376f0
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
mov dword [eax + edx*4], 0
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x37730
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x28]
add edx, 0x80c
or edx, 0x40000
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x3777c
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
mov dword [eax + edx*4], 0
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
jmp 0x378e5
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
push ebx
xor ecx, ecx
mov edx, esi
call fcn.0003aa00
mov edx, eax
push ebx
xor eax, eax
mov ecx, esi
call fcn.0003ab10
mov ebx, eax
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x377e1
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
add edi, 0x808
or edi, 0x40000
mov dword [eax + edx*4], edi
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x37829
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
mov dword [eax + edx*4], ebx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x37865
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
add edx, 2
shl edx, 0xa
or edx, 0x40000
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x378b1
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0x3c]
mov dword [eax + edx*4], 0
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov edx, dword [esp + 0x14]
shl ecx, 5
mov dword [ecx + edx + 0xfc], ebx
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, 6
cmp ecx, dword [eax + 0x174]
jbe 0x37907
push esi
mov eax, 6
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
add edx, ebp
cmp edx, dword [eax + 0x174]
jbe 0x37925
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x28]
add ecx, 0x804
or ecx, 0x40000
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x37971
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 0x18]
mov edi, dword [eax + 0x170]
mov eax, dword [eax + 0x28]
mov ebx, dword [esp + 0x24]
and ecx, 0x3fffff
or ecx, 0x800000
mov dword [eax + edi*4], ecx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
cmp dword [esp + 0x30], 2
jne 0x379f2
test ebx, 0xff0000
je 0x379f2
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0xca0]
lea ecx, [eax + ecx + 0x1fc]
mov eax, dword [ecx]
cmp eax, ebp
je 0x379d6
cmp eax, 2
je 0x379d6
cmp eax, 5
jne 0x379f2
cmp dword [edx + 0x18], 0x28488
jbe 0x379e7
mov dword [ecx], 5
jmp 0x379f2
cmp eax, ebp
je 0x379f2
cmp eax, 2
je 0x379f2
mov dword [ecx], ebp
test bl, bl
je 0x37a94
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x37a18
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xca0]
mov edi, dword [ecx + 0x170]
mov ecx, dword [ecx + 0x28]
mov edx, eax
shl edx, 7
add edx, 0x404
or edx, 0x40000
mov dword [ecx + edi*4], edx
mov ecx, dword [esi + 0xca0]
add dword [ecx + 0x170], ebp
mov ecx, dword [esi + 0xca0]
mov edx, dword [ecx + 0x170]
add edx, ebp
cmp edx, dword [ecx + 0x174]
jbe 0x37a6d
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xca0]
mov edx, dword [ecx + 0x170]
mov ecx, dword [ecx + 0x28]
mov edi, dword [esp + 0x40]
mov edi, dword [edi + 0x1c]
mov dword [ecx + edx*4], edi
mov ecx, dword [esi + 0xca0]
add dword [ecx + 0x170], ebp
jmp 0x37a98
mov eax, dword [esp + 0x18]
test bh, 0xff
je 0x37b31
mov ecx, dword [esi + 0xca0]
mov edx, dword [ecx + 0x170]
add edx, ebp
cmp edx, dword [ecx + 0x174]
jbe 0x37ac3
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xca0]
mov edx, dword [ecx + 0x170]
mov ecx, dword [ecx + 0x28]
shl eax, 7
add eax, 0x404
or eax, 0x40000
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
add edx, ebp
cmp edx, dword [eax + 0x174]
jbe 0x37b0c
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
mov edx, dword [eax + 0x28]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x1c]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esp + 0x3c]
mov ebx, esi
call fcn.0003c610
mov edi, dword [esp + 0x40]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x37b61
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x28]
add edx, 0x828
or edx, 0x40000
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 0xca0]
add dword [eax + 0x170], ebp
mov eax, dword [esi + 0xca0]
mov ecx, dword [eax + 0x170]
add ecx, ebp
cmp ecx, dword [eax + 0x174]
jbe 0x37bad
push esi
mov eax, ebp
call fcn.00033060
mov eax, dword [esi + 0xca0]
mov edx, dword [eax + 0x170]
mov ecx, dword [edi + 0x14]
mov eax, dword [eax + 0x28]
mov dword [eax + edx*4], ecx
mov esi, dword [esi + 0xca0]
add dword [esi + 0x170], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8