Function at 0x10046040
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f4fe
mov eax, dword fs:[0]
push eax
sub esp, 0x494
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x49c], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov edi, dword [ebp + 0x10]
cmp eax, 3
mov esi, dword [ebp + 0x14]
mov ax, bx
mov dword [ebp - 0x494], ecx
mov dword [ebp - 0x498], ecx
jg 0x100460a0
shr ax, 8
movzx ecx, ax
jmp 0x100460aa
shr ax, 8
movzx ecx, ax
and cl, 0xfe
cmp dword [ebp + 8], 1
jne 0x100460b3
and cl, 0x7f
cmp dword [ebp - 0x49c], 3
jg 0x100460c1
movzx eax, bl
jmp 0x100460c8
mov eax, ebx
and eax, 0x1ff
sub eax, 0x8f
cmp eax, 0x70
ja case.0x100460dd.145
movzx eax, byte [eax + 0x10047134]
jmp dword [eax*4 + 0x10047110]
movzx eax, cl
add eax, 0xfffffffc
cmp eax, 0x14
ja case.0x100460fa.5
movzx eax, byte [eax + 0x100471bc]
jmp dword [eax*4 + 0x100471a8]
cmp dword [edx + 0x10], 0
je 0x10046121
push edx
lea ecx, [ebp - 0x88]
call fcn.10008a10
mov dword [ebp - 4], 0
mov ebx, 1
jmp 0x1004613d
push str.Sub_.._
lea ecx, [ebp - 0x388]
call fcn.10008a70
mov dword [ebp - 4], 1
mov ebx, 2
push eax
mov ecx, edi
mov dword [ebp - 0x494], ebx
call fcn.1000a750
mov dword [ebp - 4], 0
test bl, 2
je 0x1004616b
and ebx, 0xfffffffd
lea ecx, [ebp - 0x388]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x10046354
and ebx, 0xfffffffe
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
jmp 0x10046354
cmp dword [edx + 0x10], 0
je 0x100461b4
push edx
lea ecx, [ebp - 0xb8]
call fcn.10008a10
mov dword [ebp - 4], 2
mov ebx, 4
jmp 0x100461d0
push str.Function_.._
lea ecx, [ebp - 0x298]
call fcn.10008a70
mov dword [ebp - 4], 3
mov ebx, 8
push eax
mov ecx, edi
mov dword [ebp - 0x494], ebx
call fcn.1000a750
mov dword [ebp - 4], 2
test bl, 8
je 0x100461fe
and ebx, 0xfffffff7
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x10046354
and ebx, 0xfffffffb
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
jmp 0x10046354
cmp dword [edx + 0x10], 0
je 0x10046247
push edx
lea ecx, [ebp - 0xe8]
call fcn.10008a10
mov dword [ebp - 4], 4
mov ebx, 0x10
jmp 0x10046263
push str.Public_Sub_.._
lea ecx, [ebp - 0x418]
call fcn.10008a70
mov dword [ebp - 4], 5
mov ebx, 0x20
push eax
mov ecx, edi
mov dword [ebp - 0x494], ebx
call fcn.1000a750
mov dword [ebp - 4], 4
test bl, 0x20
je 0x10046291
and ebx, 0xffffffdf
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test bl, 0x10
je 0x10046354
and ebx, 0xffffffef
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
jmp 0x10046354
cmp dword [edx + 0x10], 0
je 0x100462da
push edx
lea ecx, [ebp - 0x118]
call fcn.10008a10
mov dword [ebp - 4], 6
mov ebx, 0x40
jmp 0x100462f6
push str.Public_Function_.._
lea ecx, [ebp - 0x2c8]
call fcn.10008a70
mov dword [ebp - 4], 7
mov ebx, 0x80
push eax
mov ecx, edi
mov dword [ebp - 0x494], ebx
call fcn.1000a750
mov dword [ebp - 4], 6
test bl, bl
jns 0x10046326
and ebx, 0xffffff7f
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test bl, 0x40
je 0x10046354
and ebx, 0xffffffbf
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
jmp 0x10046354
push str.Sub_.._
mov ecx, edi
call fcn.10008bc0
mov eax, 1
mov word [esi], ax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10055bdf
mov esp, ebp
pop ebp
ret
cmp cl, 0x40
je 0x1004642e
cmp cl, 0x50
je 0x1004638f
push str.Event_.._
jmp 0x1004634d
cmp dword [edx + 0x10], 0
je 0x100463af
push edx
lea ecx, [ebp - 0x148]
call fcn.10008a10
mov dword [ebp - 4], 0xa
mov ebx, 0x400
jmp 0x100463cb
push str.Public_Event_.._
lea ecx, [ebp - 0x3b8]
call fcn.10008a70
mov dword [ebp - 4], 0xb
mov ebx, 0x800
push eax
mov ecx, edi
mov dword [ebp - 0x494], ebx
call fcn.1000a750
mov dword [ebp - 4], 0xa
test ebx, 0x800
je 0x100463ff
and ebx, 0xfffff7ff
lea ecx, [ebp - 0x3b8]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test ebx, 0x400
je 0x10046354
and ebx, 0xfffffbff
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
jmp 0x10046354
cmp dword [edx + 0x10], 0
je 0x1004644e
push edx
lea ecx, [ebp - 0x178]
call fcn.10008a10
mov dword [ebp - 4], 8
mov ebx, 0x100
jmp 0x1004646a
push str.Event_.._
lea ecx, [ebp - 0x2f8]
call fcn.10008a70
mov dword [ebp - 4], 9
mov ebx, 0x200
push eax
mov ecx, edi
mov dword [ebp - 0x494], ebx
call fcn.1000a750
mov dword [ebp - 4], 8
test ebx, 0x200
je 0x1004649e
and ebx, 0xfffffdff
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test ebx, 0x100
je 0x10046354
and ebx, 0xfffffeff
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
jmp 0x10046354
test cl, cl
je 0x10046592
cmp cl, 0x40
je 0x100464eb
push str.ReDim_With_...._
mov ecx, edi
call fcn.10008bc0
jmp 0x1004635c
cmp dword [edx + 0x10], 0
je 0x10046513
push edx
mov edx, str.ReDim_Preserve_.
lea ecx, [ebp - 0x1a8]
call fcn.100375f0
add esp, 4
mov dword [ebp - 4], 0xc
mov ebx, 0x1000
jmp 0x1004652f
push str.ReDim_Preserve_With_...._
lea ecx, [ebp - 0x478]
call fcn.10008a70
mov dword [ebp - 4], 0xd
mov ebx, 0x2000
push eax
mov ecx, edi
mov dword [ebp - 0x494], ebx
call fcn.1000a750
mov dword [ebp - 4], 0xc
test ebx, 0x2000
je 0x10046563
and ebx, 0xffffdfff
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test ebx, 0x1000
je 0x10046354
and ebx, 0xffffefff
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
jmp 0x10046354
cmp dword [edx + 0x10], 0
je 0x100465ba
push edx
mov edx, str.ReDim_.
lea ecx, [ebp - 0x1d8]
call fcn.100375f0
add esp, 4
mov dword [ebp - 4], 0xe
mov ebx, 0x4000
jmp 0x100465d6
push str.ReDim_With_...._
lea ecx, [ebp - 0x328]
call fcn.10008a70
mov dword [ebp - 4], 0xf
mov ebx, 0x8000
push eax
mov ecx, edi
mov dword [ebp - 0x494], ebx
call fcn.1000a750
mov dword [ebp - 4], 0xe
test ebx, 0x8000
je 0x1004660a
and ebx, 0xffff7fff
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test ebx, 0x4000
je 0x10046354
and ebx, 0xffffbfff
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
jmp 0x10046354
test cl, cl
je 0x100466f7
cmp cl, 0x40
je 0x10046650
push str.ReDim_As_With_...._
jmp 0x1004634d
cmp dword [edx + 0x10], 0
je 0x10046678
push edx
mov edx, str.ReDim_Preserve_.
lea ecx, [ebp - 0x208]
call fcn.100375f0
add esp, 4
mov dword [ebp - 4], 0x10
mov ebx, 0x10000
jmp 0x10046694
push str.ReDim_Preserve_As_With_...._
lea ecx, [ebp - 0x3e8]
call fcn.10008a70
mov dword [ebp - 4], 0x11
mov ebx, 0x20000
push eax
mov ecx, edi
mov dword [ebp - 0x494], ebx
call fcn.1000a750
mov dword [ebp - 4], 0x10
test ebx, 0x20000
je 0x100466c8
and ebx, 0xfffdffff
lea ecx, [ebp - 0x3e8]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test ebx, 0x10000
je 0x10046354
and ebx, 0xfffeffff
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
jmp 0x10046354
cmp dword [edx + 0x10], 0
je 0x1004671f
push edx
mov edx, str.ReDim_.
lea ecx, [ebp - 0x238]
call fcn.100375f0
add esp, 4
mov dword [ebp - 4], 0x12
mov ebx, 0x40000
jmp 0x1004673b
push str.ReDim_As_With_...._
lea ecx, [ebp - 0x358]
call fcn.10008a70
mov dword [ebp - 4], 0x13
mov ebx, 0x80000
push eax
mov ecx, edi
mov dword [ebp - 0x494], ebx
call fcn.1000a750
mov dword [ebp - 4], 0x12
test ebx, 0x80000
je 0x1004676f
and ebx, 0xfff7ffff
lea ecx, [ebp - 0x358]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test ebx, 0x40000
je 0x10046354
and ebx, 0xfffbffff
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
jmp 0x10046354
movzx eax, cl
cmp eax, 0x60
ja case.0x100467b1.1
movzx eax, byte [eax + 0x100471f0]
jmp dword [eax*4 + 0x100471d4]
cmp dword [edx + 0x10], 0
je 0x10046803
push edx
mov edx, str.ReDim_Preserve_
lea ecx, [ebp - 0x28]
call fcn.100375f0
add esp, 4
mov dword [ebp - 4], 0x14
mov edx, eax
push 0x100856b0
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x494], 0x100000
call fcn.100376f0
add esp, 4
mov dword [ebp - 4], 0x15
mov ebx, 0x300000
jmp 0x1004681f
push str.ReDim_Preserve___...._
lea ecx, [ebp - 0x448]
call fcn.10008a70
mov dword [ebp - 4], 0x16
mov ebx, 0x400000
push eax
mov ecx, edi
mov dword [ebp - 0x494], ebx
call fcn.1000a750
mov dword [ebp - 4], 0x15
test ebx, 0x400000
je 0x10046853
and ebx, 0xffbfffff
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0x14
test ebx, 0x200000
je 0x10046879
and ebx, 0xffdfffff
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test ebx, 0x100000
je 0x10046354
and ebx, 0xffefffff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
jmp 0x10046354
cmp dword [edx + 0x10], 0
je 0x100468ca
push edx
mov edx, str.ReDim_Preserve_
lea ecx, [ebp - 0x70]
call fcn.100375f0
add esp, 4
mov dword [ebp - 4], 0x17
mov ebx, 0x800000
jmp 0x100468e3
push str.ReDim_Preserve_...._
lea ecx, [ebp - 0x40]
call fcn.10008a70
mov dword [ebp - 4], 0x18
mov ebx, 0x1000000
push eax
mov ecx, edi
mov dword [ebp - 0x494], ebx
call fcn.1000a750
mov dword [ebp - 4], 0x17
test ebx, 0x1000000
je 0x10046914
and ebx, 0xfeffffff
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test ebx, 0x800000
je 0x10046354
and ebx, 0xff7fffff
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
jmp 0x10046354
cmp dword [edx + 0x10], 0
je 0x1004698e
push edx
mov edx, str.ReDim_
lea ecx, [ebp - 0x100]
call fcn.100375f0
add esp, 4
mov dword [ebp - 4], 0x19
mov edx, eax
push 0x100856b0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x494], 0x2000000
call fcn.100376f0
add esp, 4
mov dword [ebp - 4], 0x1a
mov ebx, 0x6000000
jmp 0x100469aa
push 0x1008571c
lea ecx, [ebp - 0xa0]
call fcn.10008a70
mov dword [ebp - 4], 0x1b
mov ebx, 0x8000000
push eax
mov ecx, edi
mov dword [ebp - 0x494], ebx
call fcn.1000a750
mov dword [ebp - 4], 0x1a
test ebx, 0x8000000
je 0x100469de
and ebx, 0xf7ffffff
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0x19
test ebx, 0x4000000
je 0x10046a04
and ebx, 0xfbffffff
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test ebx, 0x2000000
je 0x10046354
and ebx, 0xfdffffff
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
jmp 0x10046354
cmp dword [edx + 0x10], 0
je 0x10046a81
push edx
mov edx, str.ReDim_
lea ecx, [ebp - 0x190]
call fcn.100375f0
add esp, 4
mov dword [ebp - 4], 0x1c
mov edx, eax
push 0x1008572c
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x494], 0x10000000
call fcn.100376f0
add esp, 4
mov dword [ebp - 4], 0x1d
mov ebx, 0x30000000
jmp 0x10046a9d
push str.ReDim__...._
lea ecx, [ebp - 0x130]
call fcn.10008a70
mov dword [ebp - 4], 0x1e
mov ebx, 0x40000000
push eax
mov ecx, edi
mov dword [ebp - 0x494], ebx
call fcn.1000a750
mov dword [ebp - 4], 0x1d
test ebx, 0x40000000
je 0x10046ad1
and ebx, 0xbfffffff
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0x1c
test ebx, 0x20000000
je 0x10046af7
and ebx, 0xdfffffff
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test ebx, 0x10000000
je 0x10046354
and ebx, 0xefffffff
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x494], ebx
call fcn.10008b70
jmp 0x10046354
cmp dword [edx + 0x10], 0
je 0x10046b75
push edx
mov edx, str.ReDim_
lea ecx, [ebp - 0x220]
call fcn.100375f0
add esp, 4
mov dword [ebp - 4], 0x1f
mov ecx, 0x80000000
mov dword [ebp - 0x494], ecx
mov edx, eax
push 0x10085740
lea ecx, [ebp - 0x1f0]
call fcn.100376f0
add esp, 4
mov dword [ebp - 4], 0x20
mov ebx, 1
jmp 0x10046b91
push str.ReDim___...._
lea ecx, [ebp - 0x1c0]
call fcn.10008a70
mov dword [ebp - 4], 0x21
mov ebx, 2
push eax
mov ecx, edi
mov dword [ebp - 0x498], ebx
call fcn.1000a750
mov dword [ebp - 4], 0x20
test bl, 2
je 0x10046bbf
and ebx, 0xfffffffd
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
mov dword [ebp - 4], 0x1f
test bl, 1
je 0x10046bdf
and ebx, 0xfffffffe
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x494]
test eax, eax
jns 0x10046354
and eax, 0x7fffffff
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x494], eax
call fcn.10008b70
jmp 0x10046354
cmp dword [edx + 0x10], 0
je 0x10046c37
push edx
mov edx, str.ReDim_
lea ecx, [ebp - 0x280]
call fcn.100375f0
add esp, 4
mov dword [ebp - 4], 0x22
mov ebx, 4
jmp 0x10046c53
push str.ReDim_...._
lea ecx, [ebp - 0x250]
call fcn.10008a70
mov dword [ebp - 4], 0x23
mov ebx, 8
push eax
mov ecx, edi
mov dword [ebp - 0x498], ebx
call fcn.1000a750
mov dword [ebp - 4], 0x22
test bl, 8
je 0x10046c81
and ebx, 0xfffffff7
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x10046354
and ebx, 0xfffffffb
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
jmp 0x10046354
push str.ReDim_...._
jmp 0x1004634d
test cl, cl
je 0x10046d66
cmp cl, 0x40
je 0x10046ccb
push str.ReDim_As_...._
jmp 0x1004634d
cmp dword [edx + 0x10], 0
je 0x10046cf3
push edx
mov edx, str.ReDim_Preserve_
lea ecx, [ebp - 0x2e0]
call fcn.100375f0
add esp, 4
mov dword [ebp - 4], 0x24
mov ebx, 0x10
jmp 0x10046d0f
push str.ReDim_Preserve_As_...._
lea ecx, [ebp - 0x2b0]
call fcn.10008a70
mov dword [ebp - 4], 0x25
mov ebx, 0x20
push eax
mov ecx, edi
mov dword [ebp - 0x498], ebx
call fcn.1000a750
mov dword [ebp - 4], 0x24
test bl, 0x20
je 0x10046d3d
and ebx, 0xffffffdf
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test bl, 0x10
je 0x10046354
and ebx, 0xffffffef
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
jmp 0x10046354
cmp dword [edx + 0x10], 0
je 0x10046d8e
push edx
mov edx, str.ReDim_
lea ecx, [ebp - 0x340]
call fcn.100375f0
add esp, 4
mov dword [ebp - 4], 0x26
mov ebx, 0x40
jmp 0x10046daa
push str.ReDim_As_...._
lea ecx, [ebp - 0x310]
call fcn.10008a70
mov dword [ebp - 4], 0x27
mov ebx, 0x80
push eax
mov ecx, edi
mov dword [ebp - 0x498], ebx
call fcn.1000a750
mov dword [ebp - 4], 0x26
test bl, bl
jns 0x10046dda
and ebx, 0xffffff7f
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test bl, 0x40
je 0x10046354
and ebx, 0xffffffbf
lea ecx, [ebp - 0x340]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
jmp 0x10046354
movzx eax, cl
cmp eax, 0xc
ja case.0x10046e16.1
movzx eax, byte [eax + 0x1004725c]
jmp dword [eax*4 + 0x10047254]
cmp dword [edx + 0x10], 0
je 0x10046e3d
push edx
lea ecx, [ebp - 0x3a0]
call fcn.10008a10
mov dword [ebp - 4], 0x28
mov ebx, 0x100
jmp 0x10046e64
mov eax, str.Enum_definition_.._
test cl, 8
jne 0x10046e4c
mov eax, str.Type_definition_.._
push eax
lea ecx, [ebp - 0x370]
call fcn.10008a70
mov dword [ebp - 4], 0x29
mov ebx, 0x200
push eax
mov ecx, edi
mov dword [ebp - 0x498], ebx
call fcn.1000a750
mov dword [ebp - 4], 0x28
test ebx, 0x200
je 0x10046e98
and ebx, 0xfffffdff
lea ecx, [ebp - 0x370]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test ebx, 0x100
je 0x10046354
and ebx, 0xfffffeff
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
jmp 0x10046354
mov eax, str.Enum_definition_.._
test cl, 8
jne 0x10046ed6
mov eax, str.Type_definition_.._
push eax
jmp 0x1004634d
movzx eax, cl
add eax, 0xfffffffc
cmp eax, 0xc0
ja case.0x10046ef4.5
movzx eax, byte [eax + 0x1004727c]
jmp dword [eax*4 + 0x1004726c]
cmp dword [edx + 0x10], 0
je 0x10046f22
push 0x100857b0
lea ecx, [ebp - 0x400]
call fcn.10039f80
add esp, 4
mov dword [ebp - 4], 0x2a
mov ebx, 0x400
jmp 0x10046f3e
push str.Var_definition_.._
lea ecx, [ebp - 0x3d0]
call fcn.10008a70
mov dword [ebp - 4], 0x2b
mov ebx, 0x800
push eax
mov ecx, edi
mov dword [ebp - 0x498], ebx
call fcn.1000a750
mov dword [ebp - 4], 0x2a
test ebx, 0x800
je 0x10046f72
and ebx, 0xfffff7ff
lea ecx, [ebp - 0x3d0]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test ebx, 0x400
je 0x10046354
and ebx, 0xfffffbff
lea ecx, [ebp - 0x400]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
jmp 0x10046354
cmp dword [edx + 0x10], 0
je 0x10046fc1
push edx
lea ecx, [ebp - 0x460]
call fcn.10008a10
mov dword [ebp - 4], 0x2c
mov ebx, 0x1000
jmp 0x10046fdd
push str.Var_definition_.._
lea ecx, [ebp - 0x430]
call fcn.10008a70
mov dword [ebp - 4], 0x2d
mov ebx, 0x2000
push eax
mov ecx, edi
mov dword [ebp - 0x498], ebx
call fcn.1000a750
mov dword [ebp - 4], 0x2c
test ebx, 0x2000
je 0x10047011
and ebx, 0xffffdfff
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test ebx, 0x1000
je 0x10046354
and ebx, 0xffffefff
lea ecx, [ebp - 0x460]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
jmp 0x10046354
cmp dword [edx + 0x10], 0
je 0x10047065
push edx
mov edx, str.WithEvents_
lea ecx, [ebp - 0x58]
call fcn.100375f0
add esp, 4
mov dword [ebp - 4], 0x2e
mov ebx, 0x4000
jmp 0x10047081
push str.Var_definition_.._
lea ecx, [ebp - 0x490]
call fcn.10008a70
mov dword [ebp - 4], 0x2f
mov ebx, 0x8000
push eax
mov ecx, edi
mov dword [ebp - 0x498], ebx
call fcn.1000a750
mov dword [ebp - 4], 0x2e
test ebx, 0x8000
je 0x100470b5
and ebx, 0xffff7fff
lea ecx, [ebp - 0x490]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
mov dword [ebp - 4], 0xffffffff
test ebx, 0x4000
je 0x10046354
and ebx, 0xffffbfff
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x498], ebx
call fcn.10008b70
jmp 0x10046354
push str.Var_definition_.._
jmp 0x1004634d
push esi
push edi
push edx
push dword [ebp + 8]
mov edx, dword [ebp - 0x49c]
mov ecx, ebx
call fcn.10048390
add esp, 0x10
test al, al
jne 0x1004635c
jmp 0x1004635e