Function at 0x300b0855
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov ecx, dword [ebp + 0xc]
push ebx
push esi
cmp ecx, 0x10
push edi
jg 0x300b1083
cmp ecx, 0x10
je 0x300b0fa5
cmp ecx, 0xc
ja case.0x300b087f.8
jmp dword [ecx*4 + 0x30177daa]
mov esi, dword [ebp + 8]
push esi
call fcn.300a9fca
test eax, eax
je 0x300b09f8
xor ebx, ebx
push ebx
call fcn.3000158d
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [edi + 0x14]
add eax, 4
push eax
call fcn.300a559a
mov eax, dword [esi + 0x14]
push 1
mov eax, dword [eax + 0x90]
mov al, byte [eax + 0x122]
and eax, 0xff
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.3009864c
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x90]
mov ax, word [eax + 0x126]
and ax, 0x200
cmp ax, 0x200
jne 0x300b0a00
mov eax, dword [0x3017d9a4]
push 0x48
push dword [eax + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x14
call esi
push 0x48
mov dword [ebp - 0x60], eax
mov eax, dword [0x3017d9a4]
push dword [eax + 0x20]
push 0x14
call esi
lea esi, [ebp - 0x50]
lea edi, [ebp - 0x70]
mov dword [ebp - 0x5c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
movsd dword es:[edi], dword [esi]
inc eax
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x68], eax
mov eax, dword [0x3017f120]
inc dword [ebp - 0x64]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c0]
push ebx
mov dword [0x3017f120], eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.30001d18
pop ecx
test eax, eax
pop ecx
je 0x300b0971
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], ebx
mov dword [0x3017f120], eax
je 0x300b096a
push dword [ebp - 4]
call fcn.30027c47
xor eax, eax
jmp 0x300b0b79
push 1
lea eax, [ebp - 0x70]
push eax
call fcn.30155ea4
mov esi, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [esi + 0x1c]
push edi
push eax
mov dword [ebp - 4], edi
push eax
call fcn.30155fc8
cmp edi, ebx
je 0x300b0999
push edi
call fcn.30027c47
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x90]
mov ax, word [eax + 0x126]
and ax, 0xf000
cmp ax, 0x4000
jne 0x300b09e8
push 2
push 2
lea eax, [ebp - 0x70]
push eax
call fcn.30017b3b
push 1
lea eax, [ebp - 0x70]
push eax
call fcn.30155ea4
mov esi, dword [esi + 0x1c]
mov edi, eax
push edi
push esi
mov dword [ebp - 4], edi
push esi
call fcn.30155fc8
cmp edi, ebx
je 0x300b09e8
push edi
call fcn.30027c47
mov eax, dword [ebp - 0xc]
push dword [ebp - 8]
mov dword [0x3017f120], eax
call fcn.3000158d
push 1
pop eax
jmp 0x300b0b79
mov eax, dword [edi + 0x1c]
lea ecx, [ebp - 0x50]
push ecx
push eax
push eax
call fcn.300997a2
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x90]
mov ax, word [eax + 0x126]
and ax, 0xf000
cmp ax, 0x4000
jne 0x300b0a43
push 2
push 2
lea eax, [ebp - 0x50]
push eax
call fcn.30017b3b
mov edi, dword [edi + 0x1c]
lea eax, [ebp - 0x50]
push eax
push edi
push edi
call fcn.300997a2
push dword [ebp - 8]
call fcn.3000158d
jmp 0x300b09f8
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x300b09f8
test byte [esi + 0x12], 2
je 0x300b09f8
test byte [eax + 0xc2], 2
jne 0x300b09f8
cmp dword [ebp + 0x10], ebx
jne 0x300b0a77
push esi
call fcn.300b1b58
test eax, eax
je 0x300b0a7e
push 1
call fcn.3009aa9d
cmp dword [0x3017e458], ebx
jne 0x300b0aa6
cmp dword [0x30179418], ebx
jne 0x300b0a97
push 0x20
push ebx
push esi
call fcn.300a5aeb
cmp dword [0x3017cb94], ebx
je 0x300b0aa6
or byte [0x3017d04c], 4
mov ax, word [esi + 0x12]
and ax, 0xfffd
or al, 8
mov word [esi + 0x12], ax
cmp dword [0x30179b84], 1
jg 0x300b09f8
mov eax, dword [0x3017dca0]
or byte [eax + 6], 2
or byte [0x3017d04c], 2
jmp 0x300b09f8
xor ebx, ebx
mov eax, dword [0x3017dca0]
push ebx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [0x3017e4d0]
push ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x180]
mov dword [0x3017e77c], 1
push eax
call fcn.30018946
lea eax, [ebp - 0x180]
push eax
mov esi, dword [ebp + 8]
push 9
push esi
call fcn.300b17ac
test eax, eax
je 0x300b096a
push dword [esi + 0x14]
call fcn.3000225c
push dword [esi + 0x18]
call fcn.300025b4
mov edi, dword [0x3017fa10]
mov dword [0x3017fa10], ebx
push ebx
call fcn.300ebc91
mov esi, eax
dec esi
neg esi
sbb esi, esi
inc esi
je 0x300b0b5a
push dword [0x3017df10]
call fcn.300c3038
mov esi, eax
dec esi
neg esi
sbb esi, esi
inc esi
push dword [ebp - 4]
mov dword [0x3017fa10], edi
call fcn.3000225c
push dword [ebp - 8]
call fcn.300025b4
push 1
call fcn.3009aa9d
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp + 0x10]
push 5
push dword [ebp + 8]
call fcn.30097fc2
jmp 0x300b0b79
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push esi
call fcn.30098526
push 1
push esi
call fcn.300aa069
push 0x4e
push esi
call fcn.300aa5cf
and word [esi + 0x12], 0xfffd
mov dword [esi + 0x20], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x28], ebx
jmp 0x300b09f8
push dword [ebp + 0x10]
push 6
push dword [ebp + 8]
call fcn.30098526
jmp 0x300b0b79
cmp dword [0x3017e458], 1
jne 0x300b0bef
push dword [ebp + 0x10]
push 2
push dword [ebp + 8]
call fcn.3009a14a
jmp 0x300b0b79
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ecx + 0x14]
cmp eax, ebx
je 0x300b09f8
mov esi, dword [eax + 0x90]
add esi, 0x120
test byte [esi + 7], 0xf0
je 0x300b0c34
lea eax, [ebp - 0xd8]
push eax
push ecx
call fcn.300a80c5
test byte [0x3017ccdc], 2
jne 0x300b0c34
push esi
lea eax, [ebp - 0xd8]
push eax
call fcn.300e0572
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0xc8]
movsd dword es:[edi], dword [esi]
push dword [0x30179450]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x3017e4d0]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
call fcn.300b23f3
push ebx
lea eax, [ebp - 0xc8]
push eax
push dword [ebp + 8]
call fcn.300b046a
push dword [ebp + 8]
mov esi, eax
call fcn.300b24ea
jmp 0x300b0b77
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [esi + 0x14]
shr eax, 0x10
test ax, ax
je 0x300b0d00
test byte [esi + 0x13], 2
jne 0x300b0d00
mov eax, dword [0x3017fa10]
mov edi, dword [0x3017e4d0]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x3017dca0]
mov dword [0x3017fa10], ebx
push dword [esi + 0x14]
mov dword [ebp - 4], eax
call fcn.3000225c
push dword [esi + 0x18]
call fcn.300025b4
push dword [0x3017dca0]
call fcn.30026dc2
push ebx
call fcn.30026dea
mov eax, dword [0x3017dc14]
cmp eax, ebx
je 0x300b0ce5
cmp dword [eax + 0xf0], ebx
jne 0x300b0ce5
push ebx
push eax
call fcn.300267a4
mov dword [0x3017dc14], ebx
push dword [ebp - 4]
call fcn.3000225c
cmp edi, dword [esi + 0x18]
je 0x300b0cf8
push edi
call fcn.300025b4
mov eax, dword [ebp - 0x1c]
mov dword [0x3017fa10], eax
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x300b0d10
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x28], ebx
push dword [ebp + 0x10]
push 1
push esi
jmp 0x300b0bd0
push dword [ebp + 0x10]
push 0xb
jmp 0x300b0be5
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push dword [esi]
push edi
call fcn.300aee9f
mov esi, dword [esi]
push esi
sub eax, esi
push eax
push 0x5d
call fcn.3006640b
test byte [edi + 0x13], 2
jne 0x300b09f8
mov esi, dword [0x3017dca0]
push dword [edi + 0x14]
mov dword [ebp - 4], esi
call fcn.3000225c
mov eax, dword [0x3017e4d0]
mov dword [0x3017df1c], esi
push dword [edi + 0x18]
mov dword [ebp - 8], eax
call fcn.300025b4
mov eax, dword [0x3017dca0]
mov cx, word [eax + 0xc0]
or byte [eax + 0xc2], 0x20
shr ecx, 0xe
and ecx, 1
mov dword [ebp - 0xc], ecx
call fcn.300036d3
xor ebx, ebx
test eax, eax
jne 0x300b0df6
mov eax, dword [0x3017dca0]
mov dl, byte [ebp - 0xc]
and word [eax + 0xc2], 0xffdf
mov eax, dword [0x3017dca0]
add eax, 0xc0
and edx, 1
mov cx, word [eax]
shl edx, 0xe
and cx, 0xbfff
or ecx, edx
mov word [eax], cx
mov eax, dword [0x3017dca0]
test byte [eax + 0xc1], 0x40
je 0x300b0ddb
push ebx
push eax
call fcn.300084ef
push esi
call fcn.3000225c
push dword [ebp - 8]
call fcn.300025b4
push 6
push dword [0x3017f120]
call fcn.3016b55f
mov eax, dword [0x3017dca0]
mov ecx, dword [ebp - 0xc]
and word [eax + 0xc2], 0xffdf
mov eax, dword [0x3017dca0]
add eax, 0xc0
and ecx, 1
mov dx, word [eax]
push dword [ebp - 8]
shl ecx, 0xe
and dx, 0xbfff
or edx, ecx
mov word [eax], dx
call fcn.300025b4
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x3017dca0]
mov eax, dword [eax]
mov dword [0x3017e760], eax
mov eax, dword [0x3017f120]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
cmp dword [0x30179b7c], 5
jge 0x300b0e75
mov eax, dword [0x3017de2c]
mov dword [ebp - 0x20], eax
mov eax, dword [0x3017e45c]
mov dword [0x3017de2c], ebx
mov dword [ebp - 0x14], eax
mov dword [0x3017e45c], ebx
mov eax, dword [0x3017dca0]
push ebx
mov eax, dword [eax + 0x10]
mov esi, dword [eax + 8]
mov eax, dword [edi + 0x20]
mov edi, dword [eax + 0x10]
call fcn.3000158d
push dword [esi + 0x40]
mov dword [ebp - 0x24], eax
call fcn.3000148e
mov esi, eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x40]
push dword [eax + 0x70]
call fcn.3001932c
cmp eax, ebx
je 0x300b0eb1
push eax
call fcn.300030e2
push esi
call fcn.3000148e
push dword [ebp - 0x24]
call fcn.3000158d
lea eax, [ebp - 0x200]
push ebx
mov dword [0x3017f120], eax
lea eax, [ebp - 0x200]
push eax
call fcn.30001d18
pop ecx
mov esi, eax
cmp esi, ebx
pop ecx
jne 0x300b0ee6
push 5
call fcn.300f3db2
cmp dword [0x30179b7c], 5
jge 0x300b0eff
mov eax, dword [ebp - 0x20]
mov dword [0x3017de2c], eax
mov eax, dword [ebp - 0x14]
mov dword [0x3017e45c], eax
mov eax, dword [0x3017dca0]
cmp dword [ebp - 0xc], ebx
mov eax, dword [eax + 0xc]
mov dword [eax + 8], ebx
mov eax, dword [ebp - 0x10]
mov dword [0x3017f120], eax
je 0x300b0f23
push ebx
push dword [0x3017dca0]
call fcn.300084ef
push dword [ebp - 4]
call fcn.3000225c
cmp esi, ebx
je 0x300b09f8
push esi
push dword [0x3017f120]
call fcn.3016b55f
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push 4
push esi
call fcn.30098526
xor ebx, ebx
cmp dword [0x30179aa4], ebx
je 0x300b0f60
or byte [esi + 0x13], 2
jmp 0x300b09f8
push 1
pop edi
mov eax, dword [0x3017dca0]
push ebx
push 0xa
mov dword [0x3017df1c], eax
mov dword [0x3017e77c], edi
push esi
call fcn.300b17ac
test eax, eax
jne 0x300b0f8d
push 6
push dword [0x3017f120]
call fcn.3016b55f
mov eax, dword [esi + 0x14]
cmp byte [eax + 5], bl
je 0x300b0f9e
mov eax, dword [0x3017dca0]
or byte [eax + 7], 0x10
mov eax, edi
jmp 0x300b0b79
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push esi
push edi
call fcn.30097e9e
xor ebx, ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [0x3017dca0]
push dword [edi + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [0x3017e4d0]
mov dword [ebp - 8], eax
call fcn.3000225c
push dword [edi + 0x18]
call fcn.300025b4
mov eax, dword [0x3017945c]
mov edi, dword [0x30179448]
mov dword [ebp - 0x10], eax
mov dword [0x3017945c], ebx
mov dword [0x30179448], ebx
push ebx
call fcn.3000946f
call fcn.300094f8
push ebx
push ebx
push ebx
push 9
call fcn.3005f1c2
cmp eax, 1
jne 0x300b1060
push dword [ebp - 4]
call fcn.3000225c
push dword [ebp - 8]
call fcn.300025b4
push ebx
push ebx
push ebx
lea eax, [ebp - 0x180]
mov dword [0x3017e77c], 1
push eax
call fcn.30018946
lea eax, [ebp - 0x180]
push eax
push 9
push esi
call fcn.300b17ac
test eax, eax
je 0x300b1060
push dword [esi + 0x14]
call fcn.3000225c
push dword [esi + 0x18]
call fcn.300025b4
push dword [ebp - 4]
call fcn.3000225c
push dword [ebp - 8]
call fcn.300025b4
mov eax, dword [ebp - 0x10]
mov dword [0x30179448], edi
mov dword [0x3017945c], eax
jmp 0x300b096a
cmp ecx, 0x24
jg 0x300b13b0
cmp ecx, 0x24
je 0x300b12da
mov eax, ecx
sub eax, 0x1c
je 0x300b126c
dec eax
je 0x300b09f8
dec eax
je 0x300b1235
dec eax
je 0x300b11ff
dec eax
jne case.0x300b087f.8
mov eax, dword [0x3017f738]
xor ebx, ebx
cmp eax, ebx
jne 0x300b10d1
push dword [ebp + 0x10]
push 0x20
jmp 0x300b0bcd
push 1
pop esi
cmp eax, esi
jne 0x300b114d
cmp dword [0x30179ad0], 0xffffffff
je 0x300b114d
xor eax, eax
push eax
push esi
push esi
lea eax, [ebp - 0x180]
push eax
call fcn.30018946
cmp dword [0x3017f738], esi
mov dword [ebp - 0x164], ebx
jne 0x300b115a
mov eax, dword [0x30179ad0]
cmp eax, 0xffffffff
je 0x300b1151
push eax
call fcn.30024dfc
mov ecx, dword [0x30179ad4]
dec ecx
cmp eax, 0xf
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], ecx
jne 0x300b113b
push 7
pop eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], 6
cmp eax, 4
je 0x300b115a
cmp eax, 0xd
je 0x300b115a
mov dword [ebp - 0x148], esi
jmp 0x300b115a
mov eax, esi
jmp 0x300b10e3
test byte [0x3017d048], 0x80
je 0x300b1145
lea eax, [ebp - 0x180]
push eax
mov esi, dword [ebp + 8]
push 9
push esi
call fcn.300b17ac
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x300b11a4
mov eax, dword [0x3017dca0]
mov edi, dword [0x3017e4d0]
push dword [esi + 0x14]
mov dword [ebp - 0x10], eax
call fcn.3000225c
push dword [esi + 0x18]
call fcn.300025b4
call fcn.30009653
push dword [ebp - 0x10]
call fcn.3000225c
push edi
call fcn.300025b4
lea eax, [ebp - 0x180]
push eax
call fcn.3014708f
cmp dword [ebp - 0x14], ebx
je 0x300b096a
mov eax, dword [esi + 0x14]
push dword [ebp + 0x10]
mov eax, dword [eax + 0x90]
add eax, 0x120
mov ecx, 0x101
mov dx, word [eax + 2]
and dx, 0xff01
mov word [eax], 0x4d
or edx, ecx
mov word [eax + 2], dx
mov dx, word [eax + 6]
and dx, 0xff01
mov word [eax + 4], 0x4e4d
or edx, ecx
mov word [eax + 6], dx
push 0x20
jmp 0x300b0d15
mov eax, dword [ebp + 8]
test byte [eax + 4], 1
je 0x300b09f8
xor ebx, ebx
cmp dword [0x3017e510], ebx
jne 0x300b1224
mov eax, dword [eax + 0x14]
mov dword [eax + 0x9c], ebx
jmp 0x300b09f8
mov ecx, dword [eax + 0x14]
push 1
pop eax
mov dword [ecx + 0x9c], eax
jmp 0x300b0b79
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x1c]
mov eax, edi
shr eax, 0x10
test ax, ax
je 0x300b09f8
call fcn.3000159f
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 8]
push dword [eax + 0x40]
call fcn.3000148e
push edi
call fcn.3001932c
call fcn.300015b8
jmp 0x300b09f8
call fcn.3000159f
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
mov edi, dword [eax + 8]
push dword [edi + 0x40]
call fcn.3000148e
xor ebx, ebx
push ebx
call fcn.3000158d
push dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
call fcn.3001932c
push dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
call fcn.3000158d
cmp dword [ebp - 0xc], ebx
jne 0x300b12af
call fcn.300015b8
jmp 0x300b096a
call fcn.300015b8
push dword [ebp - 0xc]
call fcn.300030e2
mov eax, dword [esi + 0x18]
push ebx
or dword [eax + 0x44], 2
mov eax, dword [esi + 0x14]
push ebx
or byte [eax + 0xc0], 0x20
push edi
call fcn.30015af8
jmp 0x300b09f8
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x300b09f8
mov ecx, dword [0x3017e4d0]
mov edi, dword [eax + 8]
mov dword [ebp - 8], ecx
push eax
call fcn.300025b4
push ebx
push ebx
push edi
call fcn.30015af8
mov edi, dword [0x3017dca0]
push dword [esi + 0x14]
call fcn.3000225c
mov eax, dword [0x3017e4d0]
or dword [eax + 0x44], 2
call fcn.3000159f
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
add eax, 0x58
push eax
call fcn.3000148e
push 0x30179cf4
call fcn.300029a0
mov dword [ebp - 0x10], eax
cmp word [ebp - 0xe], bx
je 0x300b1351
test byte [eax + 2], 2
je 0x300b1351
push eax
call fcn.30001fe0
mov eax, dword [0x3017e4d0]
push dword [eax + 0x6c]
call fcn.30003008
mov eax, dword [0x3017e4d0]
mov dword [eax + 0x6c], ebx
mov eax, dword [0x3017dca0]
or byte [eax + 0xc0], 0x20
mov eax, dword [0x3017dca0]
or byte [eax + 0xc0], 0x40
mov eax, dword [0x3017dca0]
or byte [eax + 0xc0], 0x10
call fcn.3001872b
push dword [ebp - 8]
call fcn.300025b4
push edi
call fcn.3000225c
push 0xc
push dword [0x3017dca0]
push esi
call fcn.300a5aeb
jmp 0x300b1262
mov eax, ecx
sub eax, 0x3c
je 0x300b175a
sub eax, 3
je 0x300b16ee
sub eax, 7
je 0x300b1626
dec eax
je 0x300b146d
sub eax, 4
je 0x300b13e2
push dword [ebp + 0x10]
push ecx
jmp 0x300b0b85
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0
je 0x300b09f8
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x34]
push eax
push dword [edi + 0x18]
call fcn.300a559a
mov eax, dword [esi + 0x14]
inc dword [ebp - 0x2c]
inc dword [ebp - 0x28]
mov eax, dword [eax + 0x90]
push 1
mov al, byte [eax + 0x122]
and eax, 0xff
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.3009864c
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x90]
mov ax, word [eax + 0x126]
and ax, 0xf000
cmp ax, 0x4000
jne 0x300b1446
add dword [ebp - 0x2c], 2
add dword [ebp - 0x28], 2
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.300a55b5
mov edi, dword [edi + 0x18]
lea eax, [ebp - 0xe8]
push eax
push edi
push edi
call dword [sym.imp.USER32.dll_UnionRect]
jmp 0x300b09f8
xor ebx, ebx
cmp dword [0x30179b84], 2
mov dword [ebp - 0x1c], ebx
jne 0x300b148d
mov eax, dword [0x3017dca0]
test byte [eax + 0xc1], 4
jne 0x300b096a
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push esi
push edi
call fcn.30097e9e
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov eax, dword [0x3017dca0]
mov dword [ebp - 0x14], eax
mov eax, dword [0x3017e4d0]
mov dword [ebp - 0x10], eax
mov eax, dword [0x30179ba8]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x30179bac]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [edi + 0x24]
call fcn.30165761
push 9
push 0x10358
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xfc]
push eax
call fcn.30028b60
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xfc]
push eax
push ebx
push 1
push dword [ebp - 0xc]
call fcn.3016581f
test eax, eax
jne 0x300b096a
mov eax, dword [ebp - 0x18]
or dword [eax], 8
push dword [ebp - 0x18]
call fcn.30165c4f
test eax, eax
je 0x300b096a
push 8
lea eax, [ebp - 0x80]
push eax
push ebx
call fcn.30001448
mov eax, dword [0x3017dca0]
push dword [eax + 0x8c]
call fcn.3000225c
push ebx
push 0xb
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x18]
mov dword [0x30179aa0], esi
call fcn.300726b0
mov dword [0x30179aa0], ebx
push ebx
call fcn.30165d1f
push dword [ebp - 0x18]
call fcn.30165bf1
cmp dword [ebp - 0xc], ebx
je 0x300b156b
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x300b1578
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x10]
call fcn.300025b4
push dword [ebp - 0x14]
call fcn.3000225c
mov eax, dword [ebp - 0x3c]
mov dword [0x30179ba8], eax
mov eax, dword [ebp - 0x38]
mov dword [0x30179bac], eax
and word [esi + 0x12], 0xfdff
mov eax, dword [0x3017dca0]
mov dword [esi + 0x20], eax
mov eax, dword [0x30179aa4]
mov dword [ebp - 8], eax
xor eax, eax
cmp dword [ebp + 0xc], 0x46
push esi
sete al
push 0x10
mov dword [0x30179aa4], eax
push edi
call fcn.30097fc2
cmp dword [ebp + 0xc], 0x47
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [0x30179aa4], eax
jne 0x300b161e
lea eax, [ebp - 0x440]
push eax
push dword [0x3017dca0]
push esi
call fcn.300b1bcd
mov eax, dword [0x3017f120]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x240]
push ebx
mov dword [0x3017f120], eax
lea eax, [ebp - 0x240]
push eax
call fcn.30001d18
pop ecx
test eax, eax
pop ecx
je 0x300b16d5
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x40]
mov dword [0x3017f120], eax
mov eax, dword [ebp - 4]
jmp 0x300b0b79
mov esi, dword [ebp + 0x10]
mov eax, dword [0x3017df4c]
mov edi, dword [ebp + 8]
push esi
xor ebx, ebx
mov dword [ebp - 0x24], eax
mov dword [0x3017df4c], ebx
push edi
call fcn.30097e9e
push 0x30
lea eax, [ebp - 0xb8]
push eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
push ebx
call fcn.30001448
push 8
lea eax, [ebp - 0x88]
push eax
push ebx
call fcn.30001448
push 1
lea eax, [edi + 0x14]
mov dword [ebp - 0xb8], eax
pop eax
push ebx
push ebx
push ebx
mov ecx, dword [0x30179aa4]
push ebx
push ebx
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xa8], eax
mov dword [0x30179aa4], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb0], 8
mov dword [ebp - 0x20], ecx
push eax
call fcn.30071865
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x20]
or byte [0x3017d056], 8
mov dword [0x30179aa4], eax
mov eax, dword [ebp - 0x24]
mov dword [0x3017df4c], eax
or byte [esi + 0x13], 2
jmp 0x300b15a6
mov eax, dword [ebp + 0x10]
push ebx
push dword [eax + 0x14]
lea eax, [ebp - 0x440]
push ebx
push eax
call fcn.30016d35
jmp 0x300b1616
mov eax, dword [0x3017e4d0]
mov esi, dword [0x3017dca0]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x58], ecx
mov ecx, dword [eax + 0x20]
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], ecx
push dword [eax + 0x14]
call fcn.3000225c
mov eax, dword [0x3017dca0]
push dword [eax + 0x10]
call fcn.300025b4
mov eax, dword [0x3017e4d0]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x78], ecx
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x58]
push eax
call fcn.300143f7
call fcn.300036d3
mov edi, eax
lea eax, [ebp - 0x78]
push eax
call fcn.300143f7
push esi
call fcn.3000225c
push ebx
call fcn.300025b4
jmp 0x300b0f9e
mov esi, dword [ebp + 8]
mov ebx, dword [0x3017dca0]
push dword [esi + 0x14]
call fcn.3000225c
mov edi, dword [0x3017e4d0]
push dword [esi + 0x18]
call fcn.300025b4
call fcn.300036d3
test eax, eax
jne 0x300b179b
push ebx
call fcn.3000225c
push edi
call fcn.300025b4
push 6
push dword [0x3017f120]
call fcn.3016b55f
push edi
call fcn.300025b4
push ebx
call fcn.3000225c
jmp 0x300b09f8